summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-02-09 19:10:54 +0100
committerThomas Deutschmann <whissi@gentoo.org>2021-02-09 19:43:52 +0100
commitca123225ab60a2655da716613413810bb16b2c27 (patch)
tree0a013faaf3661ee981b6c34870797774c203abfd
parentdev-php/sebastian-code-unit-reverse-lookup: bump to v1.0.2 (diff)
downloadgentoo-ca123225ab60a2655da716613413810bb16b2c27.tar.gz
gentoo-ca123225ab60a2655da716613413810bb16b2c27.tar.bz2
gentoo-ca123225ab60a2655da716613413810bb16b2c27.zip
dev-php/sebastian-code-unit-reverse-lookup: bump to v2.0.3
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
-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-2.0.3.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 b952c0c3e0f7..b5f352bbb68f 100644
--- a/dev-php/sebastian-code-unit-reverse-lookup/Manifest
+++ b/dev-php/sebastian-code-unit-reverse-lookup/Manifest
@@ -1,2 +1,3 @@
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
+DIST sebastian-code-unit-reverse-lookup-2.0.3.tar.gz 3047 BLAKE2B 8a61edd4fe312fb089f5bc5973b7174f64e20a84bddb8bb4f832d4ce3a8d59203cd322b932ffb48108b7ffd9e9a219693b55bbf2ccf5b4314cf5c127701ab323 SHA512 3d4f7c8b517743f556480196b43bdb1d5397ab0d9b11afbfe063f161fbbe55155c192695c7f474cf0abd54a8e118992e2c5b62d2e9009217e07f0f63973cfcc1
diff --git a/dev-php/sebastian-code-unit-reverse-lookup/sebastian-code-unit-reverse-lookup-2.0.3.ebuild b/dev-php/sebastian-code-unit-reverse-lookup/sebastian-code-unit-reverse-lookup-2.0.3.ebuild
new file mode 100644
index 000000000000..282d22debb45
--- /dev/null
+++ b/dev-php/sebastian-code-unit-reverse-lookup/sebastian-code-unit-reverse-lookup-2.0.3.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.3:*"
+
+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
+}