[Python-modules-commits] r30685 - in packages/django-sitetree/trunk/debian (3 files)

fladi-guest at users.alioth.debian.org fladi-guest at users.alioth.debian.org
Sat Sep 20 16:46:47 UTC 2014


    Date: Saturday, September 20, 2014 @ 16:46:46
  Author: fladi-guest
Revision: 30685

Switch to pybuild and add support for Python3.

Modified:
  packages/django-sitetree/trunk/debian/control
  packages/django-sitetree/trunk/debian/rules
Deleted:
  packages/django-sitetree/trunk/debian/python-django-sitetree.install

Modified: packages/django-sitetree/trunk/debian/control
===================================================================
--- packages/django-sitetree/trunk/debian/control	2014-09-20 13:01:58 UTC (rev 30684)
+++ packages/django-sitetree/trunk/debian/control	2014-09-20 16:46:46 UTC (rev 30685)
@@ -4,13 +4,19 @@
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Michael Fladischer <FladischerMichael at fladi.at>
 Build-Depends: debhelper (>= 9),
+               dh-python,
                python-all,
                python-babel,
                python-django (>= 1.4.2),
                python-setuptools,
-               python-sphinx (>= 1.0.7+dfsg)
+               python-sphinx (>= 1.0.7+dfsg),
+               python3-all,
+               python3-babel,
+               python3-django (>= 1.7),
+               python3-setuptools
 Standards-Version: 3.9.5
 X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
 Homepage: https://github.com/idlesign/django-sitetree
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/django-sitetree/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/django-sitetree/trunk/
@@ -29,6 +35,21 @@
  of such a tree describes a page or a set of pages through the relation of URI
  or URL to human-friendly title.
 
+Package: python3-django-sitetree
+Architecture: all
+Depends: python3-django (>= 1.7),
+         ${misc:Depends},
+         ${python3:Depends}
+Suggests: python-django-sitetree-doc
+Description: site tree, menu and breadcrumbs navigation for Django (Python3 version)
+ django-sitetree is a reusable application for Django, introducing site tree,
+ menu and breadcrumbs navigation elements. Site structure in django-sitetree is
+ described through Django admin interface in a so called site trees. Every item
+ of such a tree describes a page or a set of pages through the relation of URI
+ or URL to human-friendly title.
+ .
+ This package contains the Python 3 version of the library.
+
 Package: python-django-sitetree-doc
 Section: doc
 Architecture: all

Deleted: packages/django-sitetree/trunk/debian/python-django-sitetree.install
===================================================================
--- packages/django-sitetree/trunk/debian/python-django-sitetree.install	2014-09-20 13:01:58 UTC (rev 30684)
+++ packages/django-sitetree/trunk/debian/python-django-sitetree.install	2014-09-20 16:46:46 UTC (rev 30685)
@@ -1 +0,0 @@
-usr/

Modified: packages/django-sitetree/trunk/debian/rules
===================================================================
--- packages/django-sitetree/trunk/debian/rules	2014-09-20 13:01:58 UTC (rev 30684)
+++ packages/django-sitetree/trunk/debian/rules	2014-09-20 16:46:46 UTC (rev 30685)
@@ -1,15 +1,20 @@
 #!/usr/bin/make -f
 
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export PYBUILD_NAME=django-sitetree
+
 %:
-	dh $@ --with python2,sphinxdoc
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
 
 override_dh_auto_build:
 	set -e; \
 	for loc in sitetree/locale/*; do \
 		python setup.py compile_catalog --directory sitetree/locale/ --locale $$(basename $$loc) --domain django; \
 	done
+	dh_auto_build
 	PYTHONPATH=. sphinx-build -b html -d docs/build/.doctrees -N docs/source docs/build/html
-	dh_auto_build
 
 override_dh_installchangelogs:
 	dh_installchangelogs CHANGELOG
@@ -17,7 +22,7 @@
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	set -e; \
-	for python in $(shell pyversions -r); do \
+	for python in $(shell pyversions -r) $(shell py3versions -r); do \
 		$$python sitetree/runtests.py; \
 	done
 endif




More information about the Python-modules-commits mailing list