summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-02-09 19:08:33 +0100
committerThomas Deutschmann <whissi@gentoo.org>2021-02-09 19:43:51 +0100
commit4e6a4c5e58168c9bd8a0bffc3d9c7c29a14e49ac (patch)
treecaba36dee3c649bbdc707d81540e02882d324ed7 /dev-php
parentdev-php/pecl-redis: bump to v5.3.3 (diff)
downloadgentoo-4e6a4c5e58168c9bd8a0bffc3d9c7c29a14e49ac.tar.gz
gentoo-4e6a4c5e58168c9bd8a0bffc3d9c7c29a14e49ac.tar.bz2
gentoo-4e6a4c5e58168c9bd8a0bffc3d9c7c29a14e49ac.zip
dev-php/sebastian-code-unit-reverse-lookup: bump to v1.0.2
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/sebastian-code-unit-reverse-lookup/Manifest1
-rw-r--r--dev-php/sebastian-code-unit-reverse-lookup/sebastian-code-unit-reverse-lookup-1.0.2.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-php/sebastian-code-unit-reverse-lookup/Manifest b/dev-php/sebastian-code-unit-reverse-lookup/Manifest
index 97faed5fc413..b952c0c3e0f7 100644
--- a/dev-php/sebastian-code-unit-reverse-lookup/Manifest
+++ b/dev-php/sebastian-code-unit-reverse-lookup/Manifest
@@ -1 +1,2 @@
DIST sebastian-code-unit-reverse-lookup-1.0.1.tar.gz 4326 BLAKE2B 1c1f65d70a90b9f6d665cb80f3272d95f003bb61e7f682b7c2d7d0010ddd2b26a90ce0cb2a217445df6fff6aa0c7d414e8951d7ad5a0763fc715504e8f649c5d SHA512 bb6419a13b645a4f35d688d3dd47b0d10de8c996721e95805c08119925fa66ef89cca38f94d3818c62c2eb9a978ee231e91fdeb47bf3b640eeefceaaca135469
+DIST sebastian-code-unit-reverse-lookup-1.0.2.tar.gz 4405 BLAKE2B b501a5d7ab19ead2fcdd8b7747afca8f7d55b21534100b5dd312f830aa63df76335403b490e859f53f314198e2fb87b658b5ed9654f8d9f93a3c4bbef2cca16f SHA512 ac784516f8934a4581822de8d4f8513e9fc217c710b1cd0ba8dfa87413194ef5cc28ab774a26a799a540b428c02d8b00fe4239c89551b27c96b2e248043417c5
diff --git a/dev-php/sebastian-code-unit-reverse-lookup/sebastian-code-unit-reverse-lookup-1.0.2.ebuild b/dev-php/sebastian-code-unit-reverse-lookup/sebastian-code-unit-reverse-lookup-1.0.2.ebuild
new file mode 100644
index 000000000000..393410638aa9
--- /dev/null
+++ b/dev-php/sebastian-code-unit-reverse-lookup/sebastian-code-unit-reverse-lookup-1.0.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="${PN/sebastian-/}"
+
+DESCRIPTION="Looks up which function or method a line of code belongs to"
+HOMEPAGE="https://phpunit.de"
+SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE=""
+
+BDEPEND="dev-php/theseer-Autoload"
+
+RDEPEND="dev-php/fedora-autoloader
+ >=dev-lang/php-7.2:*"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_prepare() {
+ default
+
+ phpab \
+ --output src/autoload.php \
+ --template fedora2 \
+ --basedir src \
+ src \
+ || die
+}
+
+src_install() {
+ insinto /usr/share/php/SebastianBergmann/CodeUnitReverseLookup
+ doins -r src/.
+
+ einstalldocs
+}