summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-02-09 19:29:52 +0100
committerThomas Deutschmann <whissi@gentoo.org>2021-02-09 19:43:52 +0100
commitb64617230e52eb3f855ac0b320481af1de8a5506 (patch)
treee2cd4badc6897ae706d2a736c3ff26d548df018a /dev-php/sebastian-object-reflector
parentdev-php/sebastian-code-unit-reverse-lookup: bump to v2.0.3 (diff)
downloadgentoo-b64617230e52eb3f855ac0b320481af1de8a5506.tar.gz
gentoo-b64617230e52eb3f855ac0b320481af1de8a5506.tar.bz2
gentoo-b64617230e52eb3f855ac0b320481af1de8a5506.zip
dev-php/sebastian-object-reflector: bump to v1.1.2
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-php/sebastian-object-reflector')
-rw-r--r--dev-php/sebastian-object-reflector/Manifest1
-rw-r--r--dev-php/sebastian-object-reflector/sebastian-object-reflector-1.1.2.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-php/sebastian-object-reflector/Manifest b/dev-php/sebastian-object-reflector/Manifest
index 696a3886fa33..28a1624a7c9b 100644
--- a/dev-php/sebastian-object-reflector/Manifest
+++ b/dev-php/sebastian-object-reflector/Manifest
@@ -1 +1,2 @@
DIST sebastian-object-reflector-1.1.1.tar.gz 4755 BLAKE2B c549186722bde6625d44478dc90023511cd4e2fb9fe206b08881746e4443275b20eaad86a13bc202b3f464cad7239aac28da9962db7a97b9c789534424cb3ead SHA512 42dc43d1a606b1aedf2cc40443139d115fc38a50a2e51d2b4d72ecededf39bf5cecbed6d1bb002dbb6f7bd3c7da50d9436f7489f9078d52d61af7777f31f5e57
+DIST sebastian-object-reflector-1.1.2.tar.gz 4814 BLAKE2B 0692da7e50e6ff262395ece9bae1e02138bb3d86bd8b992b32d1eff9e3eabf5a1b3246e9e117314eaf49fdc5ed12b599bfb6fdab7de45506b392bf1d7dd94879 SHA512 2cfbc24d2f2105000ba039226e6dc399b847d60ca84f6643755c8cfa2d5efe3259da2e7762670ab5d330fe8075eca3124dbfe0a4780dc873e39e8c1420267c4b
diff --git a/dev-php/sebastian-object-reflector/sebastian-object-reflector-1.1.2.ebuild b/dev-php/sebastian-object-reflector/sebastian-object-reflector-1.1.2.ebuild
new file mode 100644
index 000000000000..4373ddb60bb0
--- /dev/null
+++ b/dev-php/sebastian-object-reflector/sebastian-object-reflector-1.1.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="Allows reflection of object attributes, including inherited and non-public ones"
+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.1:*"
+
+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/ObjectReflector
+ doins -r src/.
+
+ einstalldocs
+}