mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-perl/Net-LDAPapi: Remove old
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST Net-LDAPapi-3.0.5.tar.gz 67814 BLAKE2B 2f35000e23ba17016837cd4a0cbe86be5d25254d8a34dd39c8c82cbc5a1979bb56b5b8a37af81cf1e8f12326709e252181e441d051ca0b18314408348d1435be SHA512 f3a6f4bb2e182ca93de2aa6c7a80bf20d64152fec5c4bda54efb91ec2a9be52939922993b79a2cdd248be3b83e605fc9ca3e6020f2cfb49b85256361edb512bd
|
||||
DIST Net-LDAPapi-3.0.7.tar.gz 67902 BLAKE2B 6cec3e9d53aa3e1ee2b742f78869a0ded68f73c4e159e8b58a9063589271f610c847dcae2db5ce81e47971a783e4d097f68a84c4dead333264bcb0c9f4a4730a SHA512 230f906c94265ddb35fcd6dc0b5401f2b293064a61c5eb13bed271c47f5feb82e57abff4c41b89c5e8436aea6efa09dda6d290db793cb5cb8dd97cfd1cde96ee
|
||||
|
||||
@@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=MISHIKAL
|
||||
DIST_EXAMPLES=( "examples/*" )
|
||||
inherit multilib perl-module
|
||||
|
||||
DESCRIPTION="Perl5 Module Supporting LDAP API"
|
||||
HOMEPAGE="https://sourceforge.net/projects/net-ldapapi/
|
||||
http://search.cpan.org/~mishikal/Net-LDAPapi/"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
# LICENSE is given on the corresponding sourceforge project and matches the
|
||||
# default cpan/perl license
|
||||
|
||||
RDEPEND="net-nds/openldap[sasl]
|
||||
dev-libs/cyrus-sasl
|
||||
>=dev-perl/Convert-ASN1-0.190.0"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-ldap_result-no_error.patch"
|
||||
"${FILESDIR}/${P}-test-env.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
myconf="-sdk OpenLDAP -lib_path /usr/$(get_libdir) -include_path /usr/include"
|
||||
perl-module_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mydoc="Credits Todo"
|
||||
perl-module_src_install
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local MODULES=(
|
||||
"Net::LDAPapi ${DIST_VERSION}"
|
||||
)
|
||||
local failed=()
|
||||
for dep in "${MODULES[@]}"; do
|
||||
ebegin "Compile testing ${dep}"
|
||||
perl -Mblib="${S}" -M"${dep} ()" -e1
|
||||
eend $? || failed+=( "$dep" )
|
||||
done
|
||||
if [[ ${failed[@]} ]]; then
|
||||
echo
|
||||
eerror "One or more modules failed compile:";
|
||||
for dep in "${failed[@]}"; do
|
||||
eerror " ${dep}"
|
||||
done
|
||||
die "Failing due to module compilation errors";
|
||||
fi
|
||||
if [[ -n "${LDAP_TEST_HOST}" ]]; then
|
||||
perl-module_src_test
|
||||
else
|
||||
elog "Comprehensive testing disabled without LDAP_TEST_HOST set. For details, see:"
|
||||
elog "https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/${CATEGORY}/${PN}"
|
||||
fi
|
||||
}
|
||||
Reference in New Issue
Block a user