dev-php/symfony-process: bump to v3.4.29
authorThomas Deutschmann <whissi@gentoo.org>
Thu, 18 Jul 2019 12:23:02 +0000 (14:23 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Thu, 18 Jul 2019 13:01:21 +0000 (15:01 +0200)
Package-Manager: Portage-2.3.68, Repoman-2.3.16
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
dev-php/symfony-process/Manifest
dev-php/symfony-process/symfony-process-3.4.29.ebuild [new file with mode: 0644]

index 71dc6a21d7971c8e129d1a73e6dabe8293c5b08e..9dbaf61740db68800a7dbadaff60d5afb5a9c831 100644 (file)
@@ -1 +1,2 @@
 DIST symfony-process-3.2.6.tar.gz 31684 BLAKE2B 5129b6a7a01c137b9468950b8da58674343131863283cd96f8afac6d0d86969a61a1effc7d59c3735e6370059fb4f53e084011c07b629bddbd153fb6394d3d15 SHA512 8fd7712b2f63a46b6dea0b6cb76825c1e4c7b6a33123fe0949fedec820e599ffe5175bac567e8b453be7964f8b070bc2a2b9554b102a33834dfdbe959a23a3d4
+DIST symfony-process-3.4.29.tar.gz 34684 BLAKE2B 87f79a17ac321b395a634f0b83a0d218c39a06f0b5b553904c1c00431ffaf94f7bd26aa015cd426f5ba7726f09328b4b1d4475f4f8c229eedc1d52fc3f0142c1 SHA512 9e19406cad79f51d4ec811460a762c3a5004679e53777ca37049f5d8eb73bc3b569e266bd11ecddfc42481d7f05a4850bd6901c3ec2dd1d398d5077cdbe2e0bd
diff --git a/dev-php/symfony-process/symfony-process-3.4.29.ebuild b/dev-php/symfony-process/symfony-process-3.4.29.ebuild
new file mode 100644 (file)
index 0000000..75fe9dd
--- /dev/null
@@ -0,0 +1,43 @@
+# Copyright 1999-2019 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="${HOMEPAGE}/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"
+}