diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-01-06 23:13:57 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-01-06 23:13:57 +0000 |
commit | a8b0d35ab742f31538d515dea39716e566d533c0 (patch) | |
tree | 40c6c87a13f0e5ef1111ed1bdd9191f3bd1c1e59 /dev-python/pyldap | |
parent | 8fcdcec5fbdd0e3a77391e4f354218014f59f358 (diff) |
gentoo resync : 06.01.2018
Diffstat (limited to 'dev-python/pyldap')
-rw-r--r-- | dev-python/pyldap/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pyldap/pyldap-2.4.28.ebuild | 76 |
2 files changed, 0 insertions, 78 deletions
diff --git a/dev-python/pyldap/Manifest b/dev-python/pyldap/Manifest index a3f25df48107..e7aea0c136f9 100644 --- a/dev-python/pyldap/Manifest +++ b/dev-python/pyldap/Manifest @@ -1,5 +1,3 @@ -DIST pyldap-2.4.28.tar.gz 130651 BLAKE2B 4ab33ad4406271577f71802cc8acf61054a91495a8be894f3e9bc6984f2a24a08f851b0cda857e6d371dcd6191ac441c18be250ee1535e07dcb65ccf7db08ff0 SHA512 d8bdf79c63d94289f2503fefe77b4e5c3edca6bf42a6fc039cffc4ebb9db57808c5f4fbf9265d3f33b672971ba3194c35b3b6034543c4f6f7ff80497ff050a7b DIST pyldap-2.4.37.tar.gz 303732 BLAKE2B a3b54b172701c2e52a9bd54745d442634b8df2f4aab134d37bf5dbc383498fbec876e12c1c703db6caeac0ce3b4bccd974b0680356e5996e327c8ac2ce52ac4c SHA512 da66669bf9eecebc8ba05ee313453b151a01147bc44c60da4936b80777ec3b69551f77be0e6f3c260dba771920d50fa6f54f1892eb0283761beed1ee8c6d83c2 -EBUILD pyldap-2.4.28.ebuild 2340 BLAKE2B 272fdaf11b637db173d1d8ba37fec837d2a069ecbdd14d8d6fcd899c25b4d8a2e9592c37b6dbca2709c363957d1bd0f9d45c823bc5b47314abab219314f9ffc8 SHA512 0f0984644b0995c8a4a472d729e0e98e3a7b0b7a3a7d6268552c46345456a7b734b9e60d4cce65f8683f2e64e790c4191bd5baa729ff31fe3c8cf9158eeca9c9 EBUILD pyldap-2.4.37.ebuild 2340 BLAKE2B 272fdaf11b637db173d1d8ba37fec837d2a069ecbdd14d8d6fcd899c25b4d8a2e9592c37b6dbca2709c363957d1bd0f9d45c823bc5b47314abab219314f9ffc8 SHA512 0f0984644b0995c8a4a472d729e0e98e3a7b0b7a3a7d6268552c46345456a7b734b9e60d4cce65f8683f2e64e790c4191bd5baa729ff31fe3c8cf9158eeca9c9 MISC metadata.xml 529 BLAKE2B 728228ca81c7f5cadb6d98316d4bfbfacdbc4dd85c452d458fa7a939562c9739f3db02c676b09851b97fdb415a0d5273986d1a518c76edef5ab14a6c1fce0694 SHA512 47560d8da0a2c956d1004cb8dff9371937980c013ccb23038faeb421d859b6fa943cd17c751a277afe6df22b8342550b06a4504a52bfc4b24881d7fa05eedb99 diff --git a/dev-python/pyldap/pyldap-2.4.28.ebuild b/dev-python/pyldap/pyldap-2.4.28.ebuild deleted file mode 100644 index a8f7d202a33b..000000000000 --- a/dev-python/pyldap/pyldap-2.4.28.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) - -inherit distutils-r1 multilib - -DESCRIPTION="Various LDAP-related Python modules" -HOMEPAGE="https://pypi.python.org/pypi/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 -} |