Added Python 3 support (Closes: #761294).
This commit is contained in:
6
debian/changelog
vendored
6
debian/changelog
vendored
@@ -1,3 +1,9 @@
|
|||||||
|
python-django-bootstrap-form (3.1.0-5) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Added Python 3 support (Closes: #761294).
|
||||||
|
|
||||||
|
-- Thomas Goirand <zigo@debian.org> Sun, 14 Sep 2014 18:20:33 +0800
|
||||||
|
|
||||||
python-django-bootstrap-form (3.1.0-4) unstable; urgency=medium
|
python-django-bootstrap-form (3.1.0-4) unstable; urgency=medium
|
||||||
|
|
||||||
* Added patches for Django 1.7 (Closes: #755656). Thanks to Raphael Hertzog
|
* Added patches for Django 1.7 (Closes: #755656). Thanks to Raphael Hertzog
|
||||||
|
|||||||
21
debian/control
vendored
21
debian/control
vendored
@@ -2,14 +2,15 @@ Source: python-django-bootstrap-form
|
|||||||
Section: python
|
Section: python
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
|
Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
|
||||||
Uploaders: Julien Danjou <acid@debian.org>,
|
Uploaders: Thomas Goirand <zigo@debian.org>,
|
||||||
Thomas Goirand <zigo@debian.org>,
|
|
||||||
Mehdi Abaakouk <sileht@sileht.net>
|
|
||||||
Build-Depends: debhelper (>= 9),
|
Build-Depends: debhelper (>= 9),
|
||||||
python-all (>= 2.6.6-3~),
|
python-all (>= 2.6.6-3~),
|
||||||
python-setuptools,
|
python-setuptools,
|
||||||
python-sphinx (>= 1.0.7+dfsg),
|
python-sphinx (>= 1.0.7+dfsg),
|
||||||
python-django
|
python-django,
|
||||||
|
python3-django,
|
||||||
|
python3-all (>= 3.2),
|
||||||
|
python3-setuptools
|
||||||
Standards-Version: 3.9.5
|
Standards-Version: 3.9.5
|
||||||
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-django-bootstrap-form.git
|
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-django-bootstrap-form.git
|
||||||
Vcs-Git: git://anonscm.debian.org/openstack/python-django-bootstrap-form.git
|
Vcs-Git: git://anonscm.debian.org/openstack/python-django-bootstrap-form.git
|
||||||
@@ -19,12 +20,22 @@ Package: python-bootstrapform
|
|||||||
Architecture: all
|
Architecture: all
|
||||||
Pre-Depends: dpkg (>= 1.15.6~)
|
Pre-Depends: dpkg (>= 1.15.6~)
|
||||||
Depends: ${misc:Depends}, ${python:Depends}
|
Depends: ${misc:Depends}, ${python:Depends}
|
||||||
Description: generate twitter-bootstrap form output for django form
|
Description: generate twitter-bootstrap form output for django form - Python 2.x
|
||||||
Django bootstrap form generates twitter-bootstrap form output for django form.
|
Django bootstrap form generates twitter-bootstrap form output for django form.
|
||||||
A simple Django template tag to work with twitter bootstrap.
|
A simple Django template tag to work with twitter bootstrap.
|
||||||
.
|
.
|
||||||
This package contains the Python 2.x module.
|
This package contains the Python 2.x module.
|
||||||
|
|
||||||
|
Package: python3-bootstrapform
|
||||||
|
Architecture: all
|
||||||
|
Pre-Depends: dpkg (>= 1.15.6~)
|
||||||
|
Depends: ${misc:Depends}, ${python3:Depends}
|
||||||
|
Description: generate twitter-bootstrap form output for django form - Python 3.x
|
||||||
|
Django bootstrap form generates twitter-bootstrap form output for django form.
|
||||||
|
A simple Django template tag to work with twitter bootstrap.
|
||||||
|
.
|
||||||
|
This package contains the Python 3.x module.
|
||||||
|
|
||||||
Package: python-bootstrapform-doc
|
Package: python-bootstrapform-doc
|
||||||
Section: doc
|
Section: doc
|
||||||
Architecture: all
|
Architecture: all
|
||||||
|
|||||||
1
debian/python-bootstrapform.install
vendored
1
debian/python-bootstrapform.install
vendored
@@ -1 +0,0 @@
|
|||||||
/usr/lib/python*
|
|
||||||
19
debian/rules
vendored
19
debian/rules
vendored
@@ -1,25 +1,32 @@
|
|||||||
#!/usr/bin/make -f
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
PYTHONS:=$(shell pyversions -vr)
|
PYTHONS:=$(shell pyversions -vr)
|
||||||
#PYTHON3S:=$(shell py3versions -vr)
|
PYTHON3S:=$(shell py3versions -vr)
|
||||||
|
|
||||||
UPSTREAM_GIT = git://github.com/tzangms/django-bootstrap-form.git
|
UPSTREAM_GIT = git://github.com/tzangms/django-bootstrap-form.git
|
||||||
-include /usr/share/openstack-pkg-tools/pkgos.make
|
-include /usr/share/openstack-pkg-tools/pkgos.make
|
||||||
|
|
||||||
%:
|
%:
|
||||||
dh $@ --buildsystem=python_distutils --with python2,sphinxdoc
|
dh $@ --buildsystem=python_distutils --with python2,python3,sphinxdoc
|
||||||
|
|
||||||
override_dh_sphinxdoc:
|
override_dh_sphinxdoc:
|
||||||
PYTHONPATH=$(CURDIR) sphinx-build docs debian/python-bootstrapform-doc/usr/share/doc/python-bootstrapform-doc
|
PYTHONPATH=$(CURDIR) sphinx-build docs debian/python-bootstrapform-doc/usr/share/doc/python-bootstrapform-doc
|
||||||
dh_sphinxdoc -O--buildsystem=python_distutils
|
dh_sphinxdoc -O--buildsystem=python_distutils
|
||||||
|
|
||||||
override_dh_install:
|
override_dh_auto_install:
|
||||||
rm -r $(CURDIR)/debian/tmp/usr/lib/python*/dist-packages/tests/
|
set -e && for pyvers in $(PYTHONS); do \
|
||||||
dh_install -O--buildsystem=python_distutils
|
python$$pyvers setup.py install --install-layout=deb \
|
||||||
|
--root $(CURDIR)/debian/python-bootstrapform; \
|
||||||
|
done
|
||||||
|
set -e && for pyvers in $(PYTHON3S); do \
|
||||||
|
python$$pyvers setup.py install --install-layout=deb \
|
||||||
|
--root $(CURDIR)/debian/python3-bootstrapform; \
|
||||||
|
done
|
||||||
|
rm -r $(CURDIR)/debian/python*-bootstrapform/usr/lib/python*/dist-packages/tests/
|
||||||
|
|
||||||
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
|
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
|
||||||
override_dh_auto_test:
|
override_dh_auto_test:
|
||||||
set -e && for pyvers in $(PYTHONS); do \
|
set -e && for pyvers in $(PYTHONS) $(PYTHON3S) ; do \
|
||||||
python$$pyvers setup.py test ; \
|
python$$pyvers setup.py test ; \
|
||||||
done
|
done
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user