[Python-modules-commits] r32196 - in packages/python-zxcvbn/trunk/debian (rules)

orthogonal-guest at users.alioth.debian.org orthogonal-guest at users.alioth.debian.org
Sun Apr 5 07:57:55 UTC 2015


    Date: Sunday, April 5, 2015 @ 07:57:54
  Author: orthogonal-guest
Revision: 32196

Updated process for building the frequency lists and keyboard adjacency graphs from source in d/rules

Modified:
  packages/python-zxcvbn/trunk/debian/rules

Modified: packages/python-zxcvbn/trunk/debian/rules
===================================================================
--- packages/python-zxcvbn/trunk/debian/rules	2015-04-05 07:51:21 UTC (rev 32195)
+++ packages/python-zxcvbn/trunk/debian/rules	2015-04-05 07:57:54 UTC (rev 32196)
@@ -7,11 +7,12 @@
 	dh $@ --with python2 --buildsystem=pybuild
 
 override_dh_auto_build:
-	cd debian/scripts && python build_frequency_lists.py \
+	# This is necessary so that the generated files can be built from
+	# source, without having to repack the upstream tarball
+	rm -f zxcvbn/generated/*
+	cd zxcvbn/scripts && python build_frequency_lists.py \
 	&& python build_keyboard_adjacency_graph.py
-	cp -r debian/generated zxcvbn
 	dh_auto_build
-	rm -rf zxcvbn/generated
 
 get-orig-source:
 	uscan --force-download --rename --destdir=$(CURDIR) --download-version $(DEB_UPSTREAM_VERSION)
\ No newline at end of file




More information about the Python-modules-commits mailing list