[Python-apps-commits] r12297 - in packages/vulture/trunk/debian (control rules)

danstender-guest at users.alioth.debian.org danstender-guest at users.alioth.debian.org
Thu Aug 27 14:44:51 UTC 2015


    Date: Thursday, August 27, 2015 @ 14:44:50
  Author: danstender-guest
Revision: 12297

build py2 and py3 package

Modified:
  packages/vulture/trunk/debian/control
  packages/vulture/trunk/debian/rules

Modified: packages/vulture/trunk/debian/control
===================================================================
--- packages/vulture/trunk/debian/control	2015-08-26 19:54:42 UTC (rev 12296)
+++ packages/vulture/trunk/debian/control	2015-08-27 14:44:50 UTC (rev 12297)
@@ -8,15 +8,16 @@
  debhelper (>= 9),
  dh-python,
  python,
+ python3,
  python-setuptools,
+ python3-setuptools,
  txt2man
 Standards-Version: 3.9.6
 Homepage: https://bitbucket.org/jendrikseipp/vulture
 Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/vulture/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-apps/packages/vulture/trunk/
-X-Python-Version: >= 2.6
 
-Package: vulture
+Package: python-vulture
 Architecture: all
 Depends:
  ${misc:Depends},
@@ -26,3 +27,18 @@
  variables in Python code. This helps to cleanup and find errors in
  programs. However, the user has to be aware that the static method has
  its limitations.
+ .
+ This package provides Vulture running on Python 2.
+
+Package: python3-vulture
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python3:Depends}
+Description: scans for unused ("dead") code in a Python program (Py3)
+ Vulture uses static code analysis to find unused classes, functions and
+ variables in Python code. This helps to cleanup and find errors in
+ programs. However, the user has to be aware that the static method has
+ its limitations.
+ .
+ This package provides Vulture running on Python 3.

Modified: packages/vulture/trunk/debian/rules
===================================================================
--- packages/vulture/trunk/debian/rules	2015-08-26 19:54:42 UTC (rev 12296)
+++ packages/vulture/trunk/debian/rules	2015-08-27 14:44:50 UTC (rev 12297)
@@ -7,14 +7,14 @@
 DEBDATE := $(shell dpkg-parsechangelog -Sdate | date -u +"%F" -f -)
 
 %:
-	dh $@ --with python2 --buildsystem=pybuild
+	dh $@ --with python2,python3 --buildsystem=pybuild
 
 override_dh_installdocs:
-	dh_installdocs README.txt
+	dh_installdocs -A README.txt
 
 override_dh_installchangelogs:
-	dh_installchangelogs NEWS.txt
+	dh_installchangelogs -A NEWS.txt
 
 override_dh_installman:
-	txt2man -s 1 -v "vulture" -t "vulture" -r "$(VERSION)" -d "$(DEBDATE)" debian/vulture.txt > .pybuild/vulture.1
-	dh_installman .pybuild/vulture.1
+	txt2man -s 1 -v "python-vulture" -t "vulture" -r "$(VERSION)" -d "$(DEBDATE)" debian/vulture.txt > .pybuild/vulture.1
+	dh_installman -A .pybuild/vulture.1




More information about the Python-apps-commits mailing list