diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-php/PEAR-File_Find | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'dev-php/PEAR-File_Find')
| -rw-r--r-- | dev-php/PEAR-File_Find/Manifest | 1 | ||||
| -rw-r--r-- | dev-php/PEAR-File_Find/PEAR-File_Find-1.3.3.ebuild | 46 | ||||
| -rw-r--r-- | dev-php/PEAR-File_Find/metadata.xml | 13 |
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-php/PEAR-File_Find/Manifest b/dev-php/PEAR-File_Find/Manifest new file mode 100644 index 000000000000..18e16094dcee --- /dev/null +++ b/dev-php/PEAR-File_Find/Manifest @@ -0,0 +1 @@ +DIST File_Find-1.3.3.tgz 8212 BLAKE2B be45210efcf1aad52df123dd141f1a8ea62321a25cb460da4384456baeff13b51f8850f44e08cb75baa350e7b2a1419b27d89dd5a81f58a7302ab93c95c274a3 SHA512 f912e1f680c5869380791979bd33dabce0e95e40a84ee188052b2be8280de806fd117c11d66b98b7072724ecd9d57203ee5a32fe35705c337e73393fec075bb0 diff --git a/dev-php/PEAR-File_Find/PEAR-File_Find-1.3.3.ebuild b/dev-php/PEAR-File_Find/PEAR-File_Find-1.3.3.ebuild new file mode 100644 index 000000000000..d0ca871cb2f0 --- /dev/null +++ b/dev-php/PEAR-File_Find/PEAR-File_Find-1.3.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="A class that facillitates the search of filesystems" +HOMEPAGE="https://pear.php.net/package/File_Find" +SRC_URI="http://download.pear.php.net/package/${MY_P}.tgz" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86" +IUSE="test" +RESTRICT="!test? ( test )" + +# Really only needs PEAR-Exception at runtime. +RDEPEND="dev-lang/php:* + dev-php/PEAR-PEAR" +DEPEND="test? ( dev-php/PEAR-PEAR )" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + eapply_user + + # Without this sed, the test suite will try (and fail) to mess + # around in /tmp. + sed -i "s~'/tmp'~'${T}'~" tests/setup.php \ + || die 'failed to fix temporary directory in tests/setup.php' +} + +src_install() { + insinto /usr/share/php + doins -r File +} + +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" +} diff --git a/dev-php/PEAR-File_Find/metadata.xml b/dev-php/PEAR-File_Find/metadata.xml new file mode 100644 index 000000000000..a959ed99fb2c --- /dev/null +++ b/dev-php/PEAR-File_Find/metadata.xml @@ -0,0 +1,13 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>php-bugs@gentoo.org</email> + <name>PHP</name> + </maintainer> + <upstream> + <remote-id type="github">pear/File_Find</remote-id> + <remote-id type="pear">File_Find</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> |
