diff options
Diffstat (limited to 'dev-php/PEAR-Crypt_GPG')
-rw-r--r-- | dev-php/PEAR-Crypt_GPG/Manifest | 2 | ||||
-rw-r--r-- | dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.4.ebuild | 47 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-php/PEAR-Crypt_GPG/Manifest b/dev-php/PEAR-Crypt_GPG/Manifest index 50258d62622c..58f12da037fb 100644 --- a/dev-php/PEAR-Crypt_GPG/Manifest +++ b/dev-php/PEAR-Crypt_GPG/Manifest @@ -1,6 +1,8 @@ AUX fix-unit-tests-with-new-gpg.patch 2090 BLAKE2B 7cc3b79bfd29244eec6e0152130d33d64ff99ddb4da9508affa9a06274d8b888d4e7ea38c2a8e090953b40533b19a5224f803d71199ece8dde70444959fba9eb SHA512 3b6b301d19cde1eebd411caf409dd11add712717a638f2b4d8567114cc065efdc899cb8244412da7b3438850a9bedfafe95e370705fd7439b312f4cb318f4124 DIST Crypt_GPG-1.6.2.tgz 346709 BLAKE2B abced2fe8c909f06690c38884506ce03df4c5ef3ef460aafce65ea9405c6974f8af320fd5a07a7967b45421a9a67aa27026c28ef7eb1402ffefba527007a33ae SHA512 9d954d96b4e461c75f79ce9bc701d062e3f19671690228e6e0ce5265733ac1de9c06520f9f750348f3c37f01ccb79720574b2d2f371e69c8a25ae6e1bc18aabd DIST Crypt_GPG-1.6.3.tgz 346999 BLAKE2B 8402ef382a6393972a3fda7370fbd37dec19d0ebabb6b316d35783538dbc01746476977d7dc3da487876201cd678964d9572dc67a43911319b1b614004a3c909 SHA512 f1ad2560a43a1e8f5a33269bc4ae4067e19e5325fdbd8d2fc55f6cb8aad89258df45fbecedd93a21749f33024c819f07399580b1a4760f5740f26043109dc396 +DIST Crypt_GPG-1.6.4.tgz 346390 BLAKE2B 22e9e9d893f96bb3c3dc538b168a35366d2b699e92bf832370223879e90e8018cfd3b736e099807fdcc897b7569a40af66e72f011eaeb7400477053b7838409d SHA512 3eee39702abe97fc322e5976ebe8a7f7ba07bc950d22aa6636cadf38b0bd9c6c6316d7be35f21a8d0e8dfdb66a76db33121edb34736869d31ae89b03468cf470 EBUILD PEAR-Crypt_GPG-1.6.2.ebuild 1170 BLAKE2B 437691fd331a1c589a256764c9d441f1b9a8812ce4c7b435ba73de7a3aecbc4417c1e9e52a61e1b3ecdfc26b8cd37c14ae3a7bf0683ddcd4eeefb0a516b3f753 SHA512 51cbb2871f7093b20962ec8726ec59aa333557c1b2fc843ca28bdf1896b5b4bfeca2002fd906af2c0607e22ac25108ad373c17cf75e1576d98d5b3049870c554 EBUILD PEAR-Crypt_GPG-1.6.3.ebuild 1117 BLAKE2B e79952729e05686e9915b4ea3baf6089c52ee55043d79fc5826a29a3028e2cdaf82b42f087c169a50eb06694482a61c284bc9313b12ccf23c8bf14e556d85238 SHA512 2316799e3357d240a23a4020bf0c971abaecdde9792745f38bd9fafa26f78bc94eae9845ee1c1ff1d959d954bab1dc6ab09f92496c2497335b1fa42f6a49c562 +EBUILD PEAR-Crypt_GPG-1.6.4.ebuild 1117 BLAKE2B e79952729e05686e9915b4ea3baf6089c52ee55043d79fc5826a29a3028e2cdaf82b42f087c169a50eb06694482a61c284bc9313b12ccf23c8bf14e556d85238 SHA512 2316799e3357d240a23a4020bf0c971abaecdde9792745f38bd9fafa26f78bc94eae9845ee1c1ff1d959d954bab1dc6ab09f92496c2497335b1fa42f6a49c562 MISC metadata.xml 490 BLAKE2B ae0122e23babc3353357016c47707d7a9ec6cf92d2a981c25eaebcc13713c676cd6c283b2810d6f337071651546085db6a4de56e6decd22275de90da88181f08 SHA512 21423e113024e94c04f245071ecc0a0308672387b92f42c7f57b0d716b0d681d2008fab84cec1bf0b0d37981d5548515e5f3997e76e288d9aafee678b5411ab9 diff --git a/dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.4.ebuild b/dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.4.ebuild new file mode 100644 index 000000000000..46eb948e97d4 --- /dev/null +++ b/dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.4.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~ia64 ~ppc ~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 )" + +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_install() { + dodoc README.md + dobin scripts/crypt-gpg-pinentry + + insinto "/usr/share/${MY_PN}" + doins -r data + + insinto /usr/share/php + doins -r Crypt +} + +src_test() { + phpunit tests/ || die "test suite failed" +} |