[Python-modules-commits] [python-django-registration] 02/05: control/rules: Update to dh-python/pybuild, and support python3.
Stephan Suerken
absurd at moszumanska.debian.org
Wed Aug 24 12:33:46 UTC 2016
This is an automated email from the git hooks/post-receive script.
absurd pushed a commit to branch master
in repository python-django-registration.
commit 30ea53dbc2d918632dec455bea7324c6a01c61fa
Author: Stephan Sürken <absurd at olurdix.de>
Date: Wed Aug 24 10:16:51 2016 +0000
control/rules: Update to dh-python/pybuild, and support python3.
Closes: 810782
---
debian/control | 30 +++++++++++++++++++++++++++++-
debian/rules | 4 +++-
2 files changed, 32 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index ba4d9f3..854edcb 100644
--- a/debian/control
+++ b/debian/control
@@ -6,10 +6,14 @@ Uploaders: Stephan Peijnik <debian at sp.or.at>, Stephan Sürken <absurd at debian.org
Standards-Version: 3.9.6
Build-Depends:
debhelper (>= 9),
- python (>= 2.6.6-3~)
+ dh-python,
+ python-all,
+ python3-all
Build-Depends-Indep:
python-setuptools,
python-django (>= 1.7),
+ python3-setuptools,
+ python3-django (>= 1.7),
python-sphinx (>= 1.0.7+dfsg) | python3-sphinx,
python-sphinx-rtd-theme
Homepage: https://github.com/ubernostrum/django-registration
@@ -35,3 +39,27 @@ Description: User-registration application for Django
2. User gets emailed an activation link.
3. User clicks the activation link before it expires.
4. User becomes a happy and productive contributor to your site.
+ .
+ This package contains the Python 2 version of the library.
+
+Package: python3-django-registration
+Architecture: all
+Depends:
+ ${python3:Depends},
+ ${misc:Depends},
+ ${sphinxdoc:Depends},
+ python3-django (>= 1.7)
+Description: User-registration application for Django
+ This is a fairly simple user-registration application for Django,
+ designed to make allowing user signups as painless as possible.
+ .
+ Its main feature over Django's standard user-registration application is
+ the support of email confirmation.
+ .
+ This application enables a fairly common workflow for user signups:
+ 1. User signs up for an account.
+ 2. User gets emailed an activation link.
+ 3. User clicks the activation link before it expires.
+ 4. User becomes a happy and productive contributor to your site.
+ .
+ This package contains the Python 3 version of the library.
diff --git a/debian/rules b/debian/rules
index 6b57d6c..91cb1f7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,8 +2,10 @@
PKGS = $(shell dh_listpackages)
+export PYBUILD_NAME=django-registration
+
%:
- dh $@ --with python2,sphinxdoc
+ dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
override_dh_auto_clean:
rm -rf docs/_build/
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-django-registration.git
More information about the Python-modules-commits
mailing list