From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-ldap/
Date: Mon, 28 Sep 2015 12:12:59 +0000 (UTC) [thread overview]
Message-ID: <1443439247.c5f4306fe53311d5cb3b81f837f265c989d19963.jlec@gentoo> (raw)
commit: c5f4306fe53311d5cb3b81f837f265c989d19963
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 28 11:20:47 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Sep 28 11:20:47 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5f4306f
dev-python/python-ldap: Version Bump
Package-Manager: portage-2.2.22
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
dev-python/python-ldap/Manifest | 1 +
dev-python/python-ldap/python-ldap-2.4.21.ebuild | 74 ++++++++++++++++++++++++
2 files changed, 75 insertions(+)
diff --git a/dev-python/python-ldap/Manifest b/dev-python/python-ldap/Manifest
index d50a32a..6325d4b 100644
--- a/dev-python/python-ldap/Manifest
+++ b/dev-python/python-ldap/Manifest
@@ -1,2 +1,3 @@
DIST python-ldap-2.4.19.tar.gz 138503 SHA256 02fddb3accbfb54e40ff47a59457e422b253f9fb6cd64bb3851b349295fab048 SHA512 bfa8b87449f03d70d78bf890d1190ef5a153e1b84db97ca4b40465bfba9faedace2a69f4ae1279ef6323c01255f52993cf0e4374bc32d9660a5286dfc7c17b85 WHIRLPOOL 708c6744b41fc4c9dc4473a9ab088016aa722f5b196c080973fedbb07a08dd57f859ddb5d193665349f44d2d08ff9e2f797cfa6af23e34624f1d0a9e21d62d4d
DIST python-ldap-2.4.20.tar.gz 142355 SHA256 4b8891539a3171d993cf7896b632ff088a4c707ae85ac3c77db1454f7949f3e2 SHA512 d8afe217c18d49b70089bc47bac7c48f57774b78b1dd44ae3a60e669a3df59058d8579b9de64a2349af612db8e3c1ea5bfa5a47148c651cbfa4038dbc58b9ff2 WHIRLPOOL 562993e84f5c41b3aefd808a047d6cf8ea6c4284171f7f0d858d3a7417a67e31b06f283ed557fbad3fde25a4a9d2c049cbce52c0759b94850ea19848e4192f64
+DIST python-ldap-2.4.21.tar.gz 121176 SHA256 2a3ce606465d2d5fbd0a620516b6648ffd85c343d9305d49a2a1f7d338b8bbd4 SHA512 38f879bd70e5a31b2ec0f89c7a9aab6bdfe86285976300358828cdb83995edaaa960d29c8fcd9f333bda88a2015f306460de7bb24b2d514944d9dc83650acb75 WHIRLPOOL 8cc7526356e63642430804370ffd41cd1e74b74654d4302f90fe87a6471639848ae6ecff160a26daa39763718625b4bcdf3e2b6aaa58e98b00854e1692b30db5
diff --git a/dev-python/python-ldap/python-ldap-2.4.21.ebuild b/dev-python/python-ldap/python-ldap-2.4.21.ebuild
new file mode 100644
index 0000000..3309a2b
--- /dev/null
+++ b/dev-python/python-ldap/python-ldap-2.4.21.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# setup.py is written only for py2, which suits pypy
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit distutils-r1 multilib
+
+DESCRIPTION="Various LDAP-related Python modules"
+HOMEPAGE="http://www.python-ldap.org https://pypi.python.org/pypi/python-ldap"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="PSF-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-solaris"
+IUSE="doc examples sasl ssl"
+
+# If you need support for openldap-2.3.x, please use python-ldap-2.3.9.
+# python team: Please do not remove python-ldap-2.3.9 from the tree.
+# OpenSSL is an optional runtime dep.
+# setup.py sets setuptools and misses pyasn1 and pyasn1-modules in install_requires
+RDEPEND=">net-nds/openldap-2.4.11
+ dev-python/pyasn1[${PYTHON_USEDEP}]
+ dev-python/pyasn1-modules[${PYTHON_USEDEP}]
+ sasl? ( >=dev-libs/cyrus-sasl-2.1 )"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
+
+python_prepare_all() {
+ sed -e "s:^library_dirs =.*:library_dirs = /usr/$(get_libdir) /usr/$(get_libdir)/sasl2:" \
+ -e "s:^include_dirs =.*:include_dirs = ${EPREFIX}/usr/include ${EPREFIX}/usr/include/sasl:" \
+ -i setup.cfg || die "error fixing setup.cfg"
+
+ local mylibs="ldap"
+ if use sasl; then
+ use ssl && mylibs="ldap_r"
+ mylibs="${mylibs} sasl2"
+ else
+ sed -e 's/HAVE_SASL//g' -i setup.cfg || die
+ fi
+ use ssl && mylibs="${mylibs} ssl crypto"
+ use elibc_glibc && mylibs="${mylibs} resolv"
+
+ sed -e "s:^libs = .*:libs = lber ${mylibs}:" \
+ -i setup.cfg || die "error setting up libs in setup.cfg"
+
+ # set test expected to fail to expectedFailure
+ sed -e "s:^ def test_bad_urls: @unittest.expectedFailure\n def test_bad_urls:" \
+ -i Tests/t_ldapurl.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+ use doc && emake -C Doc html
+}
+
+python_test() {
+ # XXX: the tests supposedly can start local slapd
+ # but it requires some manual config, it seems.
+
+ "${PYTHON}" Tests/t_ldapurl.py || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ use examples && local EXAMPLES=( Demo/. )
+ use doc && local HTML_DOCS=( Doc/.build/html/. )
+
+ distutils-r1_python_install_all
+}
next reply other threads:[~2015-09-28 12:13 UTC|newest]
Thread overview: 75+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-28 12:12 Justin Lecher [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-18 19:30 [gentoo-commits] repo/gentoo:master commit in: dev-python/python-ldap/ Michał Górny
2025-02-27 21:14 Michał Górny
2023-12-09 15:47 Michał Górny
2023-12-09 15:30 Michał Górny
2023-12-09 14:30 Michał Górny
2023-12-09 14:04 Michał Górny
2023-12-09 13:56 Michał Górny
2023-12-09 13:56 Michał Górny
2023-12-09 13:52 Michał Górny
2023-11-30 15:40 Michał Górny
2023-11-30 2:08 Sam James
2023-11-18 15:47 Michał Górny
2023-11-05 17:15 Michał Górny
2023-05-20 8:28 Michał Górny
2023-05-04 16:30 Michał Górny
2022-10-25 14:06 Michał Górny
2022-10-25 12:50 Sam James
2022-10-25 9:49 Sam James
2022-10-23 7:53 Agostino Sarubbo
2022-10-22 16:27 Arthur Zamarin
2022-09-22 12:15 Michał Górny
2022-08-12 14:09 Michał Górny
2022-08-12 10:49 Agostino Sarubbo
2022-08-10 8:04 Arthur Zamarin
2022-08-09 7:43 Agostino Sarubbo
2022-08-09 4:00 Arthur Zamarin
2022-07-07 8:26 Michał Górny
2022-06-17 6:58 Agostino Sarubbo
2022-06-16 15:46 Sam James
2022-06-16 9:41 Jakov Smolić
2022-06-16 9:37 Jakov Smolić
2022-05-14 2:52 Sam James
2022-03-26 21:47 Marek Szuba
2022-03-22 23:32 Sam James
2021-11-29 14:45 Michał Górny
2021-11-29 8:49 Agostino Sarubbo
2021-11-29 7:36 Arthur Zamarin
2021-11-29 7:36 Arthur Zamarin
2021-11-29 7:36 Arthur Zamarin
2021-11-28 23:36 Jakov Smolić
2021-11-26 21:56 Michał Górny
2021-08-08 22:20 Louis Sautier
2021-08-08 22:20 Louis Sautier
2020-11-18 9:12 Michał Górny
2020-11-17 19:17 Agostino Sarubbo
2020-11-17 19:10 Agostino Sarubbo
2020-11-17 18:55 Agostino Sarubbo
2020-11-17 18:49 Agostino Sarubbo
2020-11-16 1:15 Sam James
2020-10-31 1:36 Patrick McLean
2020-10-09 23:08 Patrick McLean
2020-08-02 9:15 Michał Górny
2020-03-28 21:11 Michał Górny
2020-03-25 15:27 Agostino Sarubbo
2020-03-25 12:36 Agostino Sarubbo
2020-03-19 22:12 David Seifert
2020-02-10 18:52 Patrick McLean
2020-02-10 18:52 Patrick McLean
2020-02-10 18:48 Patrick McLean
2019-04-13 22:41 Matthew Thode
2019-03-13 17:29 Matthew Thode
2018-11-18 9:38 Mikle Kolyada
2018-06-20 21:45 Louis Sautier
2018-06-20 21:45 Louis Sautier
2018-06-20 21:45 Louis Sautier
2018-04-29 10:30 Michał Górny
2018-03-20 21:11 Michał Górny
2017-05-10 20:47 Manuel Rüger
2017-04-07 1:02 Manuel Rüger
2015-10-10 15:40 Justin Lecher
2015-10-09 10:04 Mike Gilbert
2015-09-21 12:10 Justin Lecher
2015-08-25 4:35 Jeroen Roovers
2015-08-25 4:35 Jeroen Roovers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1443439247.c5f4306fe53311d5cb3b81f837f265c989d19963.jlec@gentoo \
--to=jlec@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox