summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-03-19 22:52:22 +0100
committerThomas Deutschmann <whissi@gentoo.org>2020-03-19 22:54:54 +0100
commitc0641426a50870a630f16cc2e329fb43c130dea2 (patch)
tree3d248ab9c5d9056960acaa8defc6bf4a5acf216b /dev-php
parentdev-php/symfony-finder: bump to v3.4.38 (diff)
downloadgentoo-c0641426a50870a630f16cc2e329fb43c130dea2.tar.gz
gentoo-c0641426a50870a630f16cc2e329fb43c130dea2.tar.bz2
gentoo-c0641426a50870a630f16cc2e329fb43c130dea2.zip
dev-php/symfony-process: bump to v3.4.38
Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/symfony-process/Manifest1
-rw-r--r--dev-php/symfony-process/symfony-process-3.4.38.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-php/symfony-process/Manifest b/dev-php/symfony-process/Manifest
index 51a7e0287499..21376989361c 100644
--- a/dev-php/symfony-process/Manifest
+++ b/dev-php/symfony-process/Manifest
@@ -1 +1,2 @@
DIST symfony-process-3.4.29.tar.gz 34684 BLAKE2B 87f79a17ac321b395a634f0b83a0d218c39a06f0b5b553904c1c00431ffaf94f7bd26aa015cd426f5ba7726f09328b4b1d4475f4f8c229eedc1d52fc3f0142c1 SHA512 9e19406cad79f51d4ec811460a762c3a5004679e53777ca37049f5d8eb73bc3b569e266bd11ecddfc42481d7f05a4850bd6901c3ec2dd1d398d5077cdbe2e0bd
+DIST symfony-process-3.4.38.tar.gz 34424 BLAKE2B d990ba77e1d1e9b00e1b22381c9b3c454d94a8705ff7bd9830b59a32108f590efbb7e434e0f11421ccb143aa72d659d7211062c07c0cb36d18aae1f01e073b3a SHA512 14ff5f874904166978cb4021c87fde42611f05505498a8257089f97ae6f65051427c0f8e720a28b57e64de436818967676e35ddfc273e86b809ea0bf590662af
diff --git a/dev-php/symfony-process/symfony-process-3.4.38.ebuild b/dev-php/symfony-process/symfony-process-3.4.38.ebuild
new file mode 100644
index 000000000000..569fa48b0205
--- /dev/null
+++ b/dev-php/symfony-process/symfony-process-3.4.38.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+DESCRIPTION="Symfony Process Component"
+HOMEPAGE="https://github.com/symfony/process"
+SRC_URI="https://github.com/symfony/process/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="test"
+
+RDEPEND="
+ dev-lang/php:*
+ dev-php/fedora-autoloader"
+DEPEND="
+ test? (
+ ${RDEPEND}
+ dev-php/phpunit )"
+
+S="${WORKDIR}/process-${PV}"
+
+src_prepare() {
+ default
+ if use test; then
+ cp "${FILESDIR}"/autoload.php "${S}"/autoload-test.php || die
+ fi
+}
+
+src_install() {
+ insinto "/usr/share/php/Symfony/Component/Process"
+ doins -r Exception/ Pipes/ ExecutableFinder.php InputStream.php \
+ LICENSE PhpExecutableFinder.php PhpProcess.php ProcessBuilder.php \
+ Process.php ProcessUtils.php "${FILESDIR}"/autoload.php
+ dodoc README.md
+}
+
+src_test() {
+ phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed"
+}