diff options
Diffstat (limited to 'dev-php/PEAR-Log')
-rw-r--r-- | dev-php/PEAR-Log/Manifest | 2 | ||||
-rw-r--r-- | dev-php/PEAR-Log/PEAR-Log-1.13.3.ebuild | 51 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-php/PEAR-Log/Manifest b/dev-php/PEAR-Log/Manifest index 9a78f64cd263..1722e30ce9cd 100644 --- a/dev-php/PEAR-Log/Manifest +++ b/dev-php/PEAR-Log/Manifest @@ -1,5 +1,7 @@ DIST Log-1.13.1.tgz 46764 BLAKE2B dc0f4605ed801818ddf070ec3beb6818af1630d99bec721cd3f487e709f87bd4a1628a05854c48fe9775aab546bdce4618061ef37674aa9921f536deccc6a080 SHA512 246510b7dbff4dc9f9cdd951d76baf2dd377e30ffde6d38cadac10091dcb92f8095406edb6d8a87ebe2330d514ce99f355f84ebfe57cd8a3f3babc316995148a DIST Log-1.13.2.tgz 46801 BLAKE2B 529677ed8a840742840a8ebeb5f5c7d4e8a8af257f9c3b1cb9ff990e42e760e0040f7df8d94794f40ec5654cf33e1909b7b48ca3f656d2a2bc0310c6705d6c24 SHA512 a4adaf7ee2af600a6c14ed398159c61a7df73b2c6be928f0ea6bbaf90d4b0e866e5a169953fa7819e293cd5cb29c6aca762ced79f3619dfbb38af1ea8731b1c4 +DIST Log-1.13.3.tgz 46815 BLAKE2B 139cc96e475bce1e1e34672c97060d8c2f77767d290641936ec9b28502fbf74ae2fcbb06c51bb991b413dfb8b59ae365f608f5db0687342fd2f4033a77d097f1 SHA512 76baf5f6c800252d30403f64f3390291193c208789e1a3b88b945bf4a28defcd465fe2313ec83487f0be95ba2a99ca75d41f4bfb01f83b84b50fdcdb68e901d4 EBUILD PEAR-Log-1.13.1.ebuild 1349 BLAKE2B dfde1d63591fbe17aa07f2b21f1f9283befecf9c97de833dccdf97e9f31822274fdf28d79ddc28e074212db1d3018d82ec8264c589da5cd76c54f97ddb0850ab SHA512 034c474601f96cf2f1d08e1b9517809417e332d78b69b473f4c26c2c17b2a7b24b591d9f502ec42beb9399ed79a96f3a97f3684b9c0de29cdb85f830d604119b EBUILD PEAR-Log-1.13.2.ebuild 1355 BLAKE2B 9b3c58f6b927d4231a010ca39eac6d374c855a175a4dae4f19f4a1e6cbf62eba674e589d97f5bcd41f21e96c39dc1e23b9050126247019d36bf6c1729a3d2844 SHA512 a1c01f4d37ef9217f8dcc7ffdb8dddc3d0530630a9cea89d6aace531461b45737d7a48819f90862b1293a1b385c24e0ca07114b24eb0a92f5e143daf78b59ca2 +EBUILD PEAR-Log-1.13.3.ebuild 1379 BLAKE2B 609cdbbe3d9d539fa89a535d59d7e2326f1895fc8cf09d3f28a3cf7319f9c6d021f6c35304105511c0f2bbc0b03c2fe86f6ac2cee3a058c0b7e56068b915bbc4 SHA512 fa8adaa1a0a7f9e1ac014ae438d3cfa9ac8169467cff0303ae8a02b6a85793b22a410675d61d61225bf3922bdb508247f8b184de61a2c7b07b0dc38414a40b55 MISC metadata.xml 305 BLAKE2B 78433e4d5c5d5c6ee0346bb8982aba7b44cd3dd8ab7bac01e1b2895734c64aacdc4f805a2eaca7c8d5e6ae95df313cee5934b4782651f64df4f8b248aa702ff6 SHA512 a89d3cecf9e9d8c545a9d70d3cda6b5adb13e77c8d86588823d9b6b4ff146d3323aeae0bd675e30cb5652b254203669097ed5755d3f0dda103031f9a329aa23f diff --git a/dev-php/PEAR-Log/PEAR-Log-1.13.3.ebuild b/dev-php/PEAR-Log/PEAR-Log-1.13.3.ebuild new file mode 100644 index 000000000000..2c518ff5dabf --- /dev/null +++ b/dev-php/PEAR-Log/PEAR-Log-1.13.3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="The Log framework provides an abstracted logging system" +HOMEPAGE="https://pear.php.net/package/Log" +SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="examples test" +RESTRICT="!test? ( test )" + +# The DB, Mail, and MDB2 dependencies are technically optional, but +# automagic. To avoid surprises, we require them unconditionally. +CDEPEND="dev-lang/php:* + dev-php/PEAR-PEAR + dev-php/PEAR-DB + dev-php/PEAR-Mail + dev-php/PEAR-MDB2" + +BDEPEND="test? ( ${CDEPEND} )" + +RDEPEND="${CDEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_test() { + # Requires the "pear" executable from dev-php/PEAR-PEAR. + pear run-tests tests || die + + # The command succeeds regardless of whether or not the test suite + # passed, but this file is only written when there was a failure. + [[ -f run-tests.log ]] && die "test suite failed" +} + +src_install() { + dodoc docs/guide.txt misc/log.sql + use examples && dodoc -r examples + + # I don't like installing "Log.php" right at the top-level, but any + # packages depending on us will expect to find it there and not as + # e.g. Log/Log.php. + insinto "/usr/share/php/" + doins Log.php + doins -r Log +} |