diff options
Diffstat (limited to 'dev-php')
-rw-r--r-- | dev-php/Manifest.gz | bin | 38178 -> 38172 bytes | |||
-rw-r--r-- | dev-php/PEAR-Net_SMTP/Manifest | 2 | ||||
-rw-r--r-- | dev-php/PEAR-Net_SMTP/PEAR-Net_SMTP-1.9.2.ebuild | 34 | ||||
-rw-r--r-- | dev-php/PHP_CodeSniffer/Manifest | 2 | ||||
-rw-r--r-- | dev-php/PHP_CodeSniffer/PHP_CodeSniffer-3.5.6.ebuild | 52 |
5 files changed, 90 insertions, 0 deletions
diff --git a/dev-php/Manifest.gz b/dev-php/Manifest.gz Binary files differindex 578fc783eecf..333e2311bf1b 100644 --- a/dev-php/Manifest.gz +++ b/dev-php/Manifest.gz diff --git a/dev-php/PEAR-Net_SMTP/Manifest b/dev-php/PEAR-Net_SMTP/Manifest index a8e7e79a66bb..3af7c735788f 100644 --- a/dev-php/PEAR-Net_SMTP/Manifest +++ b/dev-php/PEAR-Net_SMTP/Manifest @@ -3,9 +3,11 @@ DIST Net_SMTP-1.7.3.tgz 14855 BLAKE2B b6891196a6871adc3936c89507e3aef1f7d9af045a DIST Net_SMTP-1.8.1.tgz 14931 BLAKE2B 9194e46d1987e48f58c3b851bf6921b4308d39d17b7ca028a4a58a6583171dbe31020477cd7f808ac72ffae81f315e3b416cd5f52e898e0d12cc802af5dbcaa7 SHA512 ba3b68e35d95cc41ef33105402348a322e54c6335d819d1a6e1264f25bc30def4485d0da34901ca203ccd591aeddffbe75b5acb11fb7415a1a13668198aa9942 DIST Net_SMTP-1.9.0.tgz 15135 BLAKE2B 9413daf3741a0dd50e19cff89f501c57f442fda38b69c8dad860ba257ff7333fa4f50e2530d86599d4f38c6e3dbc67d7a401fe8be3bf85266c76701038f63247 SHA512 fb28bbf07e54d71d1a82d59b137e4905c77b5600c10cf7760890ec708fc9e6df9d47715cf6808569f88603fac80c1cfdd7c4f3893efe7ac7aecaac47ba849ec2 DIST Net_SMTP-1.9.1.tgz 15146 BLAKE2B 1bc1a837cc658f68b5ff866758d624f4d916e1b97166b0fe1b3257200ab3fbc76c52fa567eb064f82e4dbed38ec1e2364962bf2c4cf7d60c3c6f2a0a45a0ecc6 SHA512 6426ef18203b93960bd85d346622fdb6a76cb3f2182ae6c7ab21c9cfddaf779a7fdd02b0ac5425443265b522147f54ca9ef8ff7eef4a17428c7c664d8dab5993 +DIST Net_SMTP-1.9.2.tgz 15132 BLAKE2B e7d3d23431303a016d802340857ca13beb8863e9ba7612070487eeb3fa458a283bfa66155cc445e9aa3ae53b285eeb8fe8f203db0f98a4b8963b1cf3e266712b SHA512 9477926946591443d2120d1289fe01706d2fcdbfb84f46fab68d8b6313d1bda3f8d272580c3aa51cbd2a98728e7eeba93299c2069df6c130c70dafc280226556 EBUILD PEAR-Net_SMTP-1.7.2-r3.ebuild 687 BLAKE2B f632d99be12794263a34ee147804cc87abf5161fe448e0771baf8044bbe10d6b7217183db55dc8d0d79a592ed869c8a39bec149c81df216bb1baa71d4341c2d9 SHA512 6d27788351d4d6386a0bc223ae39913678a9a5c5043750e263ac5a643988b1b4d2edbd2c89e13eccd58c46811f0d40f554d3610a86cd62c8ae949cfc65243a53 EBUILD PEAR-Net_SMTP-1.7.3.ebuild 694 BLAKE2B dde59da780a90922f27196bb86821dbfd50f4735e86192f4052db322c5f0bef921d2e85db403f8882c0a70ee974481043c0e9a069100bb1339a68a028c32a6a2 SHA512 c1d844784d9f311739f0b8dcef424fcffa6a5114ae62b1a34c660cc3e77f13f71fcb5eb78e55514dc6341dea9cd84beec7d8e2f6b673aba59435c66f2be7e3ec EBUILD PEAR-Net_SMTP-1.8.1.ebuild 647 BLAKE2B d18830a7373e02e2a6194013d9841d81d19ce099514a779ff4887a0d74a8fdff99113795e7699b7ba8cfaa757eb3bd987f2395c8505a3a6f051004ecbbbeffa6 SHA512 55c5116c262e00ee6b3bbd416e67a78bb88bbb7c5ff7d4ed94138f8340b67d107d767d5a2d40165ba8bb4afd99cc2b192bfab66977e3795f6ff38e0056db2337 EBUILD PEAR-Net_SMTP-1.9.0.ebuild 647 BLAKE2B d18830a7373e02e2a6194013d9841d81d19ce099514a779ff4887a0d74a8fdff99113795e7699b7ba8cfaa757eb3bd987f2395c8505a3a6f051004ecbbbeffa6 SHA512 55c5116c262e00ee6b3bbd416e67a78bb88bbb7c5ff7d4ed94138f8340b67d107d767d5a2d40165ba8bb4afd99cc2b192bfab66977e3795f6ff38e0056db2337 EBUILD PEAR-Net_SMTP-1.9.1.ebuild 647 BLAKE2B d18830a7373e02e2a6194013d9841d81d19ce099514a779ff4887a0d74a8fdff99113795e7699b7ba8cfaa757eb3bd987f2395c8505a3a6f051004ecbbbeffa6 SHA512 55c5116c262e00ee6b3bbd416e67a78bb88bbb7c5ff7d4ed94138f8340b67d107d767d5a2d40165ba8bb4afd99cc2b192bfab66977e3795f6ff38e0056db2337 +EBUILD PEAR-Net_SMTP-1.9.2.ebuild 730 BLAKE2B 3bf897ed9f051c72c48b6b12797d545c223a4aea9a31e3ff90f489af1d8700fc368cb380f4029c9d86448dc2ff8a802a971d9c11eae824fa933b3e2cb297bc06 SHA512 23e786910de520c7a61e9a50090e7a57b065efedd40a5cfdcb08a2f14dbff9520e52e8300a5e522ffd9b6e8693d1c1482f5e8b4cf567ef2b0d903ec0627aee5f MISC metadata.xml 488 BLAKE2B 599d14f0128115db0ec6ff80d664e286e1b28dc8b0dcd5d0a94c1f3229b3290af47beee88825567ec1aea4eddd799a21f178a05849658e2d0f6bf0a45ceec94c SHA512 4833cacc6321078ce7696ac7f456e1ed368300879b71a133eb81a804e985207f5baa10b8305dbfa716f08057b74bb374347f9211924ecd3fb7a1c44562eb8aac diff --git a/dev-php/PEAR-Net_SMTP/PEAR-Net_SMTP-1.9.2.ebuild b/dev-php/PEAR-Net_SMTP/PEAR-Net_SMTP-1.9.2.ebuild new file mode 100644 index 000000000000..979882cf6f57 --- /dev/null +++ b/dev-php/PEAR-Net_SMTP/PEAR-Net_SMTP-1.9.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit php-pear-r2 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A PHP implementation of the SMTP protocol" +HOMEPAGE="https://pear.php.net/package/Net_SMTP" +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="examples sasl test" +DEPEND="" +RDEPEND="dev-lang/php:* + dev-php/PEAR-Net_Socket + dev-php/PEAR-PEAR + sasl? ( dev-php/PEAR-Auth_SASL )" +BDEPEND="test? ( ${RDEPEND} )" +RESTRICT="!test? ( test )" + +S="${WORKDIR}/${MY_P}" + +src_install() { + use examples && HTML_DOCS=( examples ) + php-pear-r2_src_install +} + +src_test() { + pear run-tests tests || die +} diff --git a/dev-php/PHP_CodeSniffer/Manifest b/dev-php/PHP_CodeSniffer/Manifest index aacbdbeb526a..fcdea606f131 100644 --- a/dev-php/PHP_CodeSniffer/Manifest +++ b/dev-php/PHP_CodeSniffer/Manifest @@ -1,3 +1,5 @@ DIST PHP_CodeSniffer-3.5.4.tgz 697668 BLAKE2B f5915bcb73c0db0d8dcab3eda5ab647268888e490d244568f0d0e7fff38c4764cfe62fcc79dabe8095adcef56b1e6d0367d46c36b18d0c4e0fb04a048c697737 SHA512 3e8024aac18111741637f014629eeaf5863b2f080a673e5b379a676fafb69859d1889ae13289b0149a9810641b0a140123a970ae1178fcd2cf6da1c414233bfd +DIST PHP_CodeSniffer-3.5.6.tgz 706080 BLAKE2B 1d9d097e7c60f520973a0dff16e6b31c9e259599ded3f58ac6dda2f10419969b03c18d1ce7c38f19a0f3474b0d5cf4afc5abb889f820da0d5d9e8f0574a0a354 SHA512 392c162cc8cb8d8fe455990d7f358cc59f486d8083387dc3bf60af6ca7aa0e75b72ed337f624b08948d8060cc96bd2d03373b7508fb9179da6a4e6b83adf06a7 EBUILD PHP_CodeSniffer-3.5.4.ebuild 1502 BLAKE2B 02a3242341c9006a02cbaacff2a5f4b4eb6cb0d9b680c8ba3102316503c7bfb0bcc7be7799fcf4134991010f94ced0cd15c7b8e468c84f707b2904fa64a8b57f SHA512 c3cc91615ce68a44868765c66a8b6f45bcf93e8ed79f74ba9909249797b79c18565baac9ee98a0b1941fdd0a081f568c6a64a47d1cc328346585e0896f909b19 +EBUILD PHP_CodeSniffer-3.5.6.ebuild 1445 BLAKE2B a7d29b2211a6db7ba565908923e1bfedf6cf4f97d0f64374a34237ff854f3c7a1f29182c41a1b1199ea6de8337092af01eefba5f760c211e8e8df21ec10f8f6f SHA512 2ba7d933623e6d552c1676ff2a8e3b8cd407be3e365921b24a0cbe56875883d951cda7d9afee7dee044403ca94de6ab2f592c18337e0af4ca16fa950b6b381f3 MISC metadata.xml 329 BLAKE2B 786efd240520e1b8b5ec8fde8fe4772defb0dbae2bf69358710c227454f5de1bc831600eb81d605053163d78e0129cd657b3229a74d30bcec7ffe6ce960d87d8 SHA512 5a983e0b393c626d49f7b3b8757cb68e73a7f292ebc861ca5e6f83c20b5c6f79918422aee7830ad3dccacda719c6d42d6bfcc5eb7ddca7ed29785ef1dd9e0f30 diff --git a/dev-php/PHP_CodeSniffer/PHP_CodeSniffer-3.5.6.ebuild b/dev-php/PHP_CodeSniffer/PHP_CodeSniffer-3.5.6.ebuild new file mode 100644 index 000000000000..ceba450516c5 --- /dev/null +++ b/dev-php/PHP_CodeSniffer/PHP_CodeSniffer-3.5.6.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Detect violations of PHP code standards" +HOMEPAGE="https://github.com/squizlabs/PHP_CodeSniffer" + +# The test suite isn't part of the Github tarball at the moment. Keep an +# eye on https://github.com/squizlabs/PHP_CodeSniffer/issues/548 +SRC_URI="http://download.pear.php.net/package/${P}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-lang/php:*[cli(-),tokenizer(-),xmlwriter(-)]" +DEPEND="test? ( <dev-php/phpunit-6 ${RDEPEND} )" + +DOCS=( CONTRIBUTING.md README.md ) + +src_prepare() { + sed -i "s~@data_dir@~${EPREFIX}/usr/share/php/data~" src/Config.php || die + default +} + +src_install() { + local MY_PN="PHP/CodeSniffer" script + # The PEAR eclass would install everything into the wrong location. + insinto "/usr/share/php/${MY_PN}" + doins -r src autoload.php + + insinto "/usr/share/php/data/${MY_PN}" + doins CodeSniffer.conf.dist + # These load code via relative paths, so they have to be symlinked + # and not dobin'd. + exeinto "/usr/share/php/${MY_PN}/bin" + for script in phpcbf phpcs; do + doexe "bin/${script}" + dosym "../share/php/${MY_PN}/bin/${script}" "/usr/bin/${script}" + done + + einstalldocs +} + +src_test() { + # The test suite will fail if date.timezone isn't set in php.ini. + phpunit -d date.timezone=UTC tests/AllTests.php \ + || die "test suite failed" +} |