dev-php/PEAR-Crypt_GPG: drop 1.6.7

Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
Michael Orlitzky
2024-10-17 04:44:24 -04:00
parent a4724441c2
commit 9b507dec8e
2 changed files with 0 additions and 50 deletions

View File

@@ -1,2 +1 @@
DIST Crypt_GPG-1.6.7.tgz 343957 BLAKE2B c95346005fdd36bd97e2a0e6cd42c5a2898fb59f0a4a3d3b09bd99a409bd9c998b267ffd84ab28148e17c3f7e78e094393c3b077998b05dc2d7ddcb0ab81394b SHA512 dd629271ebbcb98df5d31313c1a6911b62964046c758e00b55377170653e9880d2edc7d0b953fd6ae441d74238c4a8e1008bf6a9195a19ff463bcc82665f14e8
DIST Crypt_GPG-1.6.9.tgz 344282 BLAKE2B d8546a34a70e8379b8003824636b26ad289f8c906bfbbf5c90cc5655f1bda243c57ec077a497e2a69c09bd5febd65a3f2cd39b426aadbf4f13e5ba10f6ed2380 SHA512 e3493406f27f73539522fa16cdd01aa940faacc6b180228b718596c6803c6c6a6cbb68c244749da965a62d19abc50bff83210d798f9394fde8980c5d8c8cdb2d

View File

@@ -1,49 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_PN="${PN/PEAR-/}"
MY_PV="${PV/_/}"
MY_P="${MY_PN}-${MY_PV}"
DESCRIPTION="PHP interface to the GNU Privacy Guard (GnuPG)"
HOMEPAGE="https://pear.php.net/package/Crypt_GPG"
SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 arm ~hppa ppc64 sparc x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="app-crypt/gnupg
dev-lang/php:*[posix(-),unicode(-)]
dev-php/PEAR-Console_CommandLine
dev-php/PEAR-Exception"
BDEPEND="test? ( ${RDEPEND} <dev-php/phpunit-9 )"
S="${WORKDIR}/${MY_P}"
src_prepare() {
default
sed -i "s|@bin-dir@|${EPREFIX}/usr/bin|" Crypt/GPG/Engine.php || die
sed -i "s|@package-name@|${MY_PN}|" Crypt/GPG/PinEntry.php || die
sed -i "s|@data-dir@|${EPREFIX}/usr/share|" Crypt/GPG/PinEntry.php || die
}
src_test() {
local -x GNUPGHOME="${T}"
phpunit --verbose --do-not-cache-result tests/ || die "test suite failed"
}
src_install() {
dodoc README.md
dobin scripts/crypt-gpg-pinentry
insinto "/usr/share/${MY_PN}"
doins -r data
insinto /usr/share/php
doins -r Crypt
}