[Python-modules-commits] r33359 - in packages/circuits/trunk/debian (changelog rules)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Sun Jul 12 20:07:08 UTC 2015


    Date: Sunday, July 12, 2015 @ 20:07:07
  Author: eriol-guest
Revision: 33359

Remove fabric scripts to not pollute namespace

Modified:
  packages/circuits/trunk/debian/changelog
  packages/circuits/trunk/debian/rules

Modified: packages/circuits/trunk/debian/changelog
===================================================================
--- packages/circuits/trunk/debian/changelog	2015-07-12 19:50:10 UTC (rev 33358)
+++ packages/circuits/trunk/debian/changelog	2015-07-12 20:07:07 UTC (rev 33359)
@@ -16,8 +16,10 @@
     - Remove since it is not needed anymore.
   * debian/patches/05_fix-pil-import.patch
     - Remove since it is not needed anymore.
+  * debian/rules
+    - Remove fabric scripts to not pollute namespace.
 
- -- Daniele Tricoli <eriol at mornie.org>  Sun, 12 Jul 2015 20:32:37 +0200
+ -- Daniele Tricoli <eriol at mornie.org>  Sun, 12 Jul 2015 22:05:39 +0200
 
 circuits (2.1.0-2) unstable; urgency=low
 

Modified: packages/circuits/trunk/debian/rules
===================================================================
--- packages/circuits/trunk/debian/rules	2015-07-12 19:50:10 UTC (rev 33358)
+++ packages/circuits/trunk/debian/rules	2015-07-12 20:07:07 UTC (rev 33359)
@@ -16,10 +16,8 @@
 
 override_dh_auto_build:
 	dh_auto_build
-
 	PYTHONPATH=. sphinx-build -N -bhtml docs/source docs/build/html
-
-	# Copy manpages for Python3 scripts
+	# Copy manpages for Python3 scripts.
 	cp debian/manpages/circuits.bench.1 debian/manpages/circuits.bench3.1
 	cp debian/manpages/circuits.web.1 debian/manpages/circuits.web3.1
 	sed -i 's/circuits.bench/circuits.bench3/g' debian/manpages/circuits.bench3.1
@@ -29,13 +27,13 @@
 	dh_auto_install
 	# Remove tests to not pollute namespace.
 	rm -rf debian/python*-circuits/usr/lib/python*/dist-packages/tests
-
-	# Rename scripts for Python3
+	# Remove fabric scripts to not pollute namespace.
+	rm -rf debian/python*-circuits/usr/lib/python*/dist-packages/fabfile
+	# Rename scripts for Python3.
 	mv debian/python3-circuits/usr/bin/circuits.bench \
 	   debian/python3-circuits/usr/bin/circuits.bench3
 	mv debian/python3-circuits/usr/bin/circuits.web \
 	   debian/python3-circuits/usr/bin/circuits.web3
-
 	# --excutable option in build has no effect for circuits.web's entrypoint
 	sed -i '1c#!/usr/bin/python' debian/python-circuits/usr/bin/circuits.web
 	sed -i '1c#!/usr/bin/python3' debian/python3-circuits/usr/bin/circuits.web3




More information about the Python-modules-commits mailing list