[Python-modules-commits] r29605 - in packages/django-model-utils/trunk/debian (control rules)

bam at users.alioth.debian.org bam at users.alioth.debian.org
Thu Jul 3 05:59:02 UTC 2014


    Date: Thursday, July 3, 2014 @ 05:59:01
  Author: bam
Revision: 29605

Python 3 package.

Modified:
  packages/django-model-utils/trunk/debian/control
  packages/django-model-utils/trunk/debian/rules

Modified: packages/django-model-utils/trunk/debian/control
===================================================================
--- packages/django-model-utils/trunk/debian/control	2014-07-03 05:50:34 UTC (rev 29604)
+++ packages/django-model-utils/trunk/debian/control	2014-07-03 05:59:01 UTC (rev 29605)
@@ -3,7 +3,9 @@
 Priority: extra
 Maintainer: Brian May <bam at debian.org>
 Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>=8.1.0), python (>= 2.6.6-3~), python-setuptools, python-django
+Build-Depends: debhelper (>=8.1.0), dh-python,
+ python-all, python-setuptools, python-django,
+ python3-all (>= 2.6.6-3~), python3-setuptools, python3-django
 Standards-Version: 3.9.5
 Homepage: https://github.com/carljm/django-model-utils/
 
@@ -18,3 +20,15 @@
  including QueryManager for one-line definition of Managers returning a
  custom QuerySet, InheritanceCastModel for more efficient use of model
  inheritance, and TimeStampedModel.
+
+Package: python3-django-model-utils
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Django model mixins and utilities
+ Django is a high-level web application framework that loosely follows
+ the model-view-controller design pattern.
+ .
+ django-model-utils model provides some mixins and utilities for Django,
+ including QueryManager for one-line definition of Managers returning a
+ custom QuerySet, InheritanceCastModel for more efficient use of model
+ inheritance, and TimeStampedModel.

Modified: packages/django-model-utils/trunk/debian/rules
===================================================================
--- packages/django-model-utils/trunk/debian/rules	2014-07-03 05:50:34 UTC (rev 29604)
+++ packages/django-model-utils/trunk/debian/rules	2014-07-03 05:59:01 UTC (rev 29605)
@@ -1,12 +1,15 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
+export PYBUILD_NAME=django-model-utils
+
 %:
-	dh $@ --with python2 --buildsystem=python_distutils
+	dh $@ --with python2,python3 --buildsystem=pybuild
 
 .PHONY: override_dh_auto_test
 override_dh_auto_test:
 	python runtests.py
+	python3 runtests.py
 
 .PHONY: override_dh_installchangelogs
 override_dh_installchangelogs:




More information about the Python-modules-commits mailing list