Skip to content
Snippets Groups Projects
Commit afa1dd8f authored by Thomas Goirand's avatar Thomas Goirand
Browse files

* Fixed upstream git URL.

  * Fixed (build-)depends for this release.
  * Added Python 3 support.
  * Using modernities from openstack-pkg-tools.
  * Removed non-active uploaders.
parent a17e8b19
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,10 @@ python-ldappool (2.0.0-1) experimental; urgency=medium
[ Thomas Goirand ]
* New upstream release.
* Fixed upstream git URL.
* Fixed (build-)depends for this release.
* Added Python 3 support.
* Using modernities from openstack-pkg-tools.
* Removed non-active uploaders.
-- Thomas Goirand <zigo@debian.org> Wed, 13 Jul 2016 17:22:01 +0200
......
......@@ -2,17 +2,27 @@ Source: python-ldappool
Section: python
Priority: optional
Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
Uploaders: Julien Danjou <acid@debian.org>,
Thomas Goirand <zigo@debian.org>,
Mehdi Abaakouk <sileht@sileht.net>,
Gonéri Le Bouder <goneri@debian.org>
Uploaders: Thomas Goirand <zigo@debian.org>,
Build-Depends: debhelper (>= 9),
python-all (>= 2.6.6-3~),
python-ldap,
python-nose,
openstack-pkg-tools (>= 52~),
python-all,
python-setuptools,
# python3-all,
# python3-setuptools
python-sphinx,
python3-all,
python3-setuptools,
Build-Depends-Indep: python-coverage,
python-fixtures (>= 1.3.1),
python-hacking,
python-ldap,
python-testresources,
python-testtools (>= 1.4.0),
python3-fixtures (>= 1.3.1),
python3-ldap,
python3-subunit,
python3-testresources,
python3-testtools (>= 1.4.0),
subunit,
testrepository,
Standards-Version: 3.9.5
Vcs-Browser: https://anonscm.debian.org/cgit/openstack/python-ldappool.git/
Vcs-Git: https://anonscm.debian.org/git/openstack/python-ldappool.git
......@@ -20,9 +30,10 @@ Homepage: https://github.com/mozilla-services/ldappool
Package: python-ldappool
Architecture: all
Pre-Depends: dpkg (>= 1.15.6~)
Depends: python-ldap, ${misc:Depends}, ${python:Depends}
Description: connection pool for python-ldap
Depends: python-ldap,
${misc:Depends},
${python:Depends},
Description: connection pool for python-ldap - Python 2.7
A simple connector pool for python-ldap. The pool keeps LDAP connectors alive
and let you reuse them, drastically reducing the time spent to initiate a ldap
connection.
......@@ -32,3 +43,23 @@ Description: connection pool for python-ldap
* configurable pool size and connectors timeouts
* configurable max lifetime for connectors
* a context manager to simplify acquiring and releasing a connector
.
This package provides the Python 2.7 module.
Package: python3-ldappool
Architecture: all
Depends: python3-ldap,
${misc:Depends},
${python3:Depends},
Description: connection pool for python-ldap - Python 3.x
A simple connector pool for python-ldap. The pool keeps LDAP connectors alive
and let you reuse them, drastically reducing the time spent to initiate a ldap
connection.
.
The pool has useful features like:
* transparent reconnection on failures or server restarts
* configurable pool size and connectors timeouts
* configurable max lifetime for connectors
* a context manager to simplify acquiring and releasing a connector
.
This package provides the Python 3.x module.
#!/usr/bin/make -f
PYTHONS:=$(shell pyversions -vr)
PYTHON3S:=$(shell py3versions -vr)
UPSTREAM_GIT := https://github.com/openstack/ldappool.git
-include /usr/share/openstack-pkg-tools/pkgos.make
%:
dh $@ --buildsystem=python_distutils --with python2
dh $@ --buildsystem=python_distutils --with python2,python3
override_dh_install:
set -e && for pyvers in $(PYTHONS); do \
python$$pyvers setup.py install --install-layout=deb \
--root $(CURDIR)/debian/python-ldappool; \
done
# set -e && for pyvers in $(PYTHON3S); do \
# python$$pyvers setup.py install --install-layout=deb \
# --root $(CURDIR)/debian/python3-ldappool; \
# done
pkgos-dh_auto_install
override_dh_auto_test:
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
set -ex && for pyvers in $(PYTHONS) ; do \
PYTHON=python$$pyvers nosetests || true ; \
done
# set -ex && for pyvers in $(PYTHON3S) ; do \
# PYTHON=python$$pyvers nosetests3 ; \
# done
pkgos-dh_auto_test
endif
override_dh_clean:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment