diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-05-18 00:10:51 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-05-18 00:10:51 +0100 |
commit | eccb70a7f91b2d22582587f26d1a28bb31408b45 (patch) | |
tree | 3223e1fd54201bcf4ebecac6fbe87361cbe643e2 /dev-python/pyldap | |
parent | a2810985afabcc31d3eace5e61d8ea25b852ba17 (diff) |
gentoo resync : 18.05.2019
Diffstat (limited to 'dev-python/pyldap')
-rw-r--r-- | dev-python/pyldap/Manifest | 3 | ||||
-rw-r--r-- | dev-python/pyldap/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/pyldap/pyldap-2.4.37.ebuild | 76 |
3 files changed, 0 insertions, 91 deletions
diff --git a/dev-python/pyldap/Manifest b/dev-python/pyldap/Manifest deleted file mode 100644 index c3e80cee3511..000000000000 --- a/dev-python/pyldap/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST pyldap-2.4.37.tar.gz 303732 BLAKE2B a3b54b172701c2e52a9bd54745d442634b8df2f4aab134d37bf5dbc383498fbec876e12c1c703db6caeac0ce3b4bccd974b0680356e5996e327c8ac2ce52ac4c SHA512 da66669bf9eecebc8ba05ee313453b151a01147bc44c60da4936b80777ec3b69551f77be0e6f3c260dba771920d50fa6f54f1892eb0283761beed1ee8c6d83c2 -EBUILD pyldap-2.4.37.ebuild 2332 BLAKE2B 1c5d61f2c0cfc59fd62783f468360dbf5f616edf6d6e5b71f200bf6436b9d02df475cd0b2dc36d66a5867fd9a1f2cc4cb43c378d4dd1fe12c59a508d47ebffbc SHA512 7a910dc90ec06803de55ce3b2ce99dcfb01e7a4600cc42cc648dace7566840908e9313dd05ec19ef2c4154d81064d5614c20a57b7576feb60e9d9c9e7300c800 -MISC metadata.xml 367 BLAKE2B 4628dd26b49a9b739fd8eba8ead6ab2d6a019d21de4180d6b718dbbd919d0ba2020d3cc3b3ea75aecf856d994f61876aa2bab5ce126ffdc4f370d4b38637398c SHA512 8f9645c0a00f73a99d54682f17b0a1c0e462d89164ec9975c6b912ebdceaa07139d37ef68b89c4428792b2034ee6bc36df87cd91674d8c31b1f8571d81534258 diff --git a/dev-python/pyldap/metadata.xml b/dev-python/pyldap/metadata.xml deleted file mode 100644 index 618e58e65d8a..000000000000 --- a/dev-python/pyldap/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - <upstream> - <remote-id type="pypi">python-ldap</remote-id> - <remote-id type="github">pyldap/pyldap</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-python/pyldap/pyldap-2.4.37.ebuild b/dev-python/pyldap/pyldap-2.4.37.ebuild deleted file mode 100644 index 1fa47b9b59ed..000000000000 --- a/dev-python/pyldap/pyldap-2.4.37.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{5,6} pypy ) - -inherit distutils-r1 multilib - -DESCRIPTION="Various LDAP-related Python modules" -HOMEPAGE="https://pypi.org/project/pyldap/ https://github.com/pyldap/pyldap/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -LICENSE="PSF-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm64 ~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}] )" -RDEPEND+=" !dev-python/python-ldap" - -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 doc && local HTML_DOCS=( Doc/.build/html/. ) - distutils-r1_python_install_all - if use examples; then - dodoc -r Demo - docompress -x /usr/share/doc/${PF}/Demo - fi -} |