[Python-modules-commits] r30388 - in packages/django-picklefield/trunk/debian (control rules)

fladi-guest at users.alioth.debian.org fladi-guest at users.alioth.debian.org
Sun Aug 31 19:42:59 UTC 2014


    Date: Sunday, August 31, 2014 @ 19:42:58
  Author: fladi-guest
Revision: 30388

Switch buildsystem to pybuild and add support for Python3.

Modified:
  packages/django-picklefield/trunk/debian/control
  packages/django-picklefield/trunk/debian/rules

Modified: packages/django-picklefield/trunk/debian/control
===================================================================
--- packages/django-picklefield/trunk/debian/control	2014-08-31 19:38:13 UTC (rev 30387)
+++ packages/django-picklefield/trunk/debian/control	2014-08-31 19:42:58 UTC (rev 30388)
@@ -4,20 +4,28 @@
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Michael Fladischer <FladischerMichael at fladi.at>
 Build-Depends: debhelper (>= 8.1.0~),
+               dh-python,
                python-all,
                python-django,
                python-setuptools,
                python-six,
-               python-support
+               python3-all,
+               python3-django,
+               python3-setuptools,
+               python3-six
 Standards-Version: 3.9.5
 X-Python-Version: >= 2.5
+X-Python3-Version: >= 3.0
 Homepage: https://github.com/gintas/django-picklefield
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/django-picklefield/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/django-picklefield/trunk/
 
 Package: python-django-picklefield
 Architecture: all
-Depends: python-django, python-six, ${misc:Depends}, ${python:Depends}
+Depends: python-django,
+         python-six,
+         ${misc:Depends},
+         ${python:Depends}
 Enhances: python-django-south
 Description: Pickled object field for Django
  django-picklefield provides an implementation of a pickled object field
@@ -29,3 +37,22 @@
  backend you can throw at it. You can pass in any Python object and it will
  automatically be converted behind the scenes. You never have to manually
  pickle or unpickle anything.
+
+Package: python3-django-picklefield
+Architecture: all
+Depends: python3-django,
+         python3-six,
+         ${misc:Depends},
+         ${python3:Depends}
+Description: Pickled object field for Django (Python3 version)
+ django-picklefield provides an implementation of a pickled object field
+ for the Django framework. Such fields can contain any picklable objects.
+ .
+ It is useful for storing just about anything in the database when there
+ isn't a 'proper' field for the job.
+ PickledObjectField is database-agnostic, and should work with any database
+ backend you can throw at it. You can pass in any Python object and it will
+ automatically be converted behind the scenes. You never have to manually
+ pickle or unpickle anything.
+ .
+ This package contains the Python 3 version of the library.

Modified: packages/django-picklefield/trunk/debian/rules
===================================================================
--- packages/django-picklefield/trunk/debian/rules	2014-08-31 19:38:13 UTC (rev 30387)
+++ packages/django-picklefield/trunk/debian/rules	2014-08-31 19:42:58 UTC (rev 30388)
@@ -1,14 +1,17 @@
 #!/usr/bin/make -f
 
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export PYBUILD_NAME=django-picklefield
+
 %:
-	dh $@ --with=python2
+	dh $@ --with=python2,python3 --buildsystem=pybuild
 
-.PHONY: override_dh_installchangelogs
 override_dh_installchangelogs:
 	sed -n -e '/^Changes in version/,$$ { /^---/q; p }' < README >changelog
 	dh_installchangelogs changelog
 
-.PHONY: override_dh_auto_test
 override_dh_auto_test:
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 	django-admin startproject testproject
@@ -18,7 +21,7 @@
 		cp debian/settings.py testproject ; \
 	fi
 	set -e; \
-	for python in $(shell pyversions -r); do \
+	for python in $(shell pyversions -r) $(shell py3versions -r); do \
 		PYTHONPATH=".:src:testproject" $$python testproject/manage.py test --settings=testproject.settings picklefield ; \
 	done
 	rm -rf testproject




More information about the Python-modules-commits mailing list