diff options
Diffstat (limited to 'dev-php/PEAR-Crypt_GPG')
-rw-r--r-- | dev-php/PEAR-Crypt_GPG/Manifest | 3 | ||||
-rw-r--r-- | dev-php/PEAR-Crypt_GPG/PEAR-Crypt_GPG-1.6.4.ebuild | 6 | ||||
-rw-r--r-- | dev-php/PEAR-Crypt_GPG/files/1.6.4-fix-tests.patch | 45 |
3 files changed, 51 insertions, 3 deletions
diff --git a/dev-php/PEAR-Crypt_GPG/Manifest b/dev-php/PEAR-Crypt_GPG/Manifest index a6ea5b866946..8533528a9400 100644 --- a/dev-php/PEAR-Crypt_GPG/Manifest +++ b/dev-php/PEAR-Crypt_GPG/Manifest @@ -1,8 +1,9 @@ +AUX 1.6.4-fix-tests.patch 1357 BLAKE2B 604ed62dc9823491ccca6870586537cdc102f2c3b866f1913b78895603f9b4e60a18a3e7da13500c58131d0a4b6677fe6932e0ce469875cc01b8948657df603c SHA512 7fa341bb55c98ac2364834c90269ce7a44279f0d0612ae2b09994b94f2a6066f8ea55447f228fbf3d107d97fa3093002a2dd9abd87e16afcd2c7fc5e897f1a20 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 1174 BLAKE2B 763b350b56b5dbd7b114e36f28ea69f3f4290cf8a8278dc12d6276460ceb2ca63a19260e6a4db351928ba03352f80f43915e8aed6a84deca1d7677f37e21856c SHA512 60caa2cd7c97087a7ad80d995d1ab113913968652e1990d7df0113b97d7e0085b2a721c58c5bff581ae0291d4e7f3a5734bc7365b69edaa3a3f12b1edf0f6f85 EBUILD PEAR-Crypt_GPG-1.6.3.ebuild 1120 BLAKE2B e91c8b18e150d98435b792ea12c84dfd171d63e7963b9b073156d1b4b49c86ce68734606211cc1340aa66ddba675456d153f3da4465f3c1c4d3b4df7949adf36 SHA512 7b8246c9ef8257bb14a3b4378b69d7dda5a022247c9f94162954be9b9f06a3173d67365387927f7a0a875b4882deaadcb5111e98b097f984739a9319dcc233a9 -EBUILD PEAR-Crypt_GPG-1.6.4.ebuild 1120 BLAKE2B e91c8b18e150d98435b792ea12c84dfd171d63e7963b9b073156d1b4b49c86ce68734606211cc1340aa66ddba675456d153f3da4465f3c1c4d3b4df7949adf36 SHA512 7b8246c9ef8257bb14a3b4378b69d7dda5a022247c9f94162954be9b9f06a3173d67365387927f7a0a875b4882deaadcb5111e98b097f984739a9319dcc233a9 +EBUILD PEAR-Crypt_GPG-1.6.4.ebuild 1169 BLAKE2B 73f2ff2985933c651a3f039c421657c5639bdacf08ccb352b590a80c49b3070bfba44ab8cda1127aa330a9d6c410ba0ba4c949c7dace6ea38bd13c2f5a731f74 SHA512 909814a3e395b0b5a078d41c837da720304e24ad2340146eaefc704ea4698da5692542cad335129d791267a600ad21c4ed13302449d1d1bd18368b0e8ebe6c2d 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 index e0cea4ce1b04..720a949b0606 100644 --- 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 @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -20,7 +20,9 @@ RDEPEND="app-crypt/gnupg dev-lang/php:*[posix,unicode] dev-php/PEAR-Console_CommandLine dev-php/PEAR-Exception" -BDEPEND="test? ( ${RDEPEND} <dev-php/phpunit-6 )" +BDEPEND="test? ( ${RDEPEND} <dev-php/phpunit-9 )" + +PATCHES=( "${FILESDIR}/1.6.4-fix-tests.patch" ) S="${WORKDIR}/${MY_P}" diff --git a/dev-php/PEAR-Crypt_GPG/files/1.6.4-fix-tests.patch b/dev-php/PEAR-Crypt_GPG/files/1.6.4-fix-tests.patch new file mode 100644 index 000000000000..e4fb835cc34f --- /dev/null +++ b/dev-php/PEAR-Crypt_GPG/files/1.6.4-fix-tests.patch @@ -0,0 +1,45 @@ +diff -uarN a/tests/ImportKeyTest.php b/tests/ImportKeyTest.php +--- a/tests/ImportKeyTest.php 2020-03-22 08:00:23.000000000 -0400 ++++ b/tests/ImportKeyTest.php 2021-02-02 14:45:16.561963089 -0500 +@@ -60,7 +60,7 @@ + // set up + // {{{ setUp() + +- public function setUp() ++ public function setUp() :void + { + parent::setUp(); + +diff -uarN a/tests/KeyGeneratorTest.php b/tests/KeyGeneratorTest.php +--- a/tests/KeyGeneratorTest.php 2020-03-22 08:00:23.000000000 -0400 ++++ b/tests/KeyGeneratorTest.php 2021-02-02 14:42:07.117718685 -0500 +@@ -174,7 +174,7 @@ + // }}} + // {{{ setUp() + +- public function setUp() ++ public function setUp() :void + { + parent::setUp(); + $this->generator = new Crypt_GPG_KeyGenerator($this->getOptions()); +diff -uarN a/tests/TestCase.php b/tests/TestCase.php +--- a/tests/TestCase.php 2020-03-22 08:00:23.000000000 -0400 ++++ b/tests/TestCase.php 2021-02-02 14:42:36.978387716 -0500 +@@ -119,7 +119,7 @@ + // set up + // {{{ setUp() + +- public function setUp() ++ public function setUp() :void + { + // load test configuration file if it exists + $configFilename = __DIR__ . '/config.php'; +@@ -567,7 +567,7 @@ + // }}} + // {{{ tearDown() + +- public function tearDown() ++ public function tearDown() :void + { + unset($this->gpg); + |