diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2015-05-17 15:32:23 +0000 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2015-05-17 15:32:23 +0000 |
commit | 791149b7a736974d7b94ada4f00b4c457b38278c (patch) | |
tree | de1c97f4b03e3e9ea01899ea1ab3b1bfc8df0b41 /dev-python/python-ldap | |
parent | Remove old. (diff) | |
download | gentoo-2-791149b7a736974d7b94ada4f00b4c457b38278c.tar.gz gentoo-2-791149b7a736974d7b94ada4f00b4c457b38278c.tar.bz2 gentoo-2-791149b7a736974d7b94ada4f00b4c457b38278c.zip |
Remove old.
(Portage version: 2.2.19/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-python/python-ldap')
-rw-r--r-- | dev-python/python-ldap/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/python-ldap/python-ldap-2.4.10-r1.ebuild | 74 | ||||
-rw-r--r-- | dev-python/python-ldap/python-ldap-2.4.10.ebuild | 79 |
3 files changed, 5 insertions, 154 deletions
diff --git a/dev-python/python-ldap/ChangeLog b/dev-python/python-ldap/ChangeLog index 6bdd2b2b6f4c..6cbe93fd2a71 100644 --- a/dev-python/python-ldap/ChangeLog +++ b/dev-python/python-ldap/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/python-ldap # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/ChangeLog,v 1.149 2015/04/08 08:05:10 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/ChangeLog,v 1.150 2015/05/17 15:32:23 mrueg Exp $ + + 17 May 2015; Manuel Rüger <mrueg@gentoo.org> -python-ldap-2.4.10-r1.ebuild, + -python-ldap-2.4.10.ebuild: + Remove old. 08 Apr 2015; Michał Górny <mgorny@gentoo.org> python-ldap-2.4.10-r1.ebuild, python-ldap-9999.ebuild: diff --git a/dev-python/python-ldap/python-ldap-2.4.10-r1.ebuild b/dev-python/python-ldap/python-ldap-2.4.10-r1.ebuild deleted file mode 100644 index ecc3e6c3924b..000000000000 --- a/dev-python/python-ldap/python-ldap-2.4.10-r1.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/python-ldap-2.4.10-r1.ebuild,v 1.9 2015/04/08 08:05:10 mgorny Exp $ - -EAPI=5 - -# pypy: bug #458558 (wrong linker options due to not respecting CC) -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 multilib - -DESCRIPTION="Various LDAP-related Python modules" -HOMEPAGE="http://www.python-ldap.org http://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. -RDEPEND=">=net-nds/openldap-2.4 - dev-python/pyasn1[${PYTHON_USEDEP}] - sasl? ( dev-libs/cyrus-sasl )" -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" - - distutils-r1_python_prepare_all -} - -python_compile_all() { - if use doc; then - cd Doc || die - sphinx-build -b html -d _build/doctrees . _build/html || die - fi -} - -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 doc && local HTML_DOCS=( Doc/_build/html/. ) - - distutils-r1_python_install_all - - if use examples; then - dodoc -r Demo - docompress -x /usr/share/doc/${FP}/Demo - fi -} diff --git a/dev-python/python-ldap/python-ldap-2.4.10.ebuild b/dev-python/python-ldap/python-ldap-2.4.10.ebuild deleted file mode 100644 index b8bb233c126a..000000000000 --- a/dev-python/python-ldap/python-ldap-2.4.10.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/python-ldap-2.4.10.ebuild,v 1.11 2013/07/02 14:51:21 floppym Exp $ - -EAPI=4 - -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.* *-jython" - -inherit distutils multilib - -DESCRIPTION="Various LDAP-related Python modules" -HOMEPAGE="http://www.python-ldap.org http://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-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. -RDEPEND=">=net-nds/openldap-2.4 - dev-python/pyasn1 - sasl? ( dev-libs/cyrus-sasl )" -DEPEND="${RDEPEND} - dev-python/setuptools - doc? ( dev-python/sphinx )" - -DOCS="CHANGES README" -PYTHON_MODNAME="dsml.py ldapurl.py ldif.py ldap" - -src_prepare() { - local rpath= - # sloppy logic, maybe better check if compiler links with GNU-ld - [[ ${CHOST} != *-darwin* ]] && rpath="-Wl,-rpath=${EPREFIX}/usr/$(get_libdir)/sasl2" - # Note: we can't add /usr/lib and /usr/lib/sasl2 to library_dirs due to a bug in py2.4 - sed -e "s:^library_dirs =.*:library_dirs =:" \ - -e "s:^include_dirs =.*:include_dirs = ${EPREFIX}/usr/include ${EPREFIX}/usr/include/sasl:" \ - -e "s:\(extra_compile_args =\).*:\1\nextra_link_args = ${rpath}:" \ - -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" - - sed -e "s:^libs = .*:libs = lber resolv ${mylibs}:" \ - -e "s:^compile.*:compile = 0:" \ - -e "s:^optimize.*:optimize = 0:" \ - -i setup.cfg || die "error setting up libs in setup.cfg" -} - -src_compile() { - distutils_src_compile - if use doc; then - pushd Doc &> /dev/null - PYTHONPATH="$(ls -d ../build-$(PYTHON -f --ABI)/lib*)" \ - sphinx-build -b html -d _build/doctrees . _build/html - popd Doc &> /dev/null - fi -} - -src_install() { - distutils_src_install - - if use examples; then - insinto /usr/share/doc/${PF} - doins -r Demo - fi - - if use doc; then - dohtml -r Doc/_build/html/ - fi -} |