summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-02-01 17:24:34 +0100
committerThomas Deutschmann <whissi@gentoo.org>2021-02-01 17:35:31 +0100
commit6a7deb834f96351cfdaa1d84190c227c4aed5c91 (patch)
tree59aed0e3d21a28f8469b4071616b686936bbc94a /dev-php
parentx11-misc/i3blocks: retire mudler@ (diff)
downloadgentoo-6a7deb834f96351cfdaa1d84190c227c4aed5c91.tar.gz
gentoo-6a7deb834f96351cfdaa1d84190c227c4aed5c91.tar.bz2
gentoo-6a7deb834f96351cfdaa1d84190c227c4aed5c91.zip
dev-php/phar-io-version: bump to v3.0.4
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/phar-io-version/Manifest1
-rw-r--r--dev-php/phar-io-version/phar-io-version-3.0.4.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-php/phar-io-version/Manifest b/dev-php/phar-io-version/Manifest
index 941d13b52f32..b32cc513430a 100644
--- a/dev-php/phar-io-version/Manifest
+++ b/dev-php/phar-io-version/Manifest
@@ -1 +1,2 @@
DIST phar-io-version-2.0.1.tar.gz 10348 BLAKE2B 22a4f8426c14662781534e63ddb62e4e783fe563ae061c0c3ae87960e0c649d68adff9b19e4388e9aafc52184aa273e8ecc5df08f16e0918258a2a4862950181 SHA512 068d872ecafc3491c7cd27068fa2b35cf1d7e3abe21649677c935e897b6582d2efcdcbcef71a00f3b9b416320f6139c671411821ad41e3b7c906fac5288646ec
+DIST phar-io-version-3.0.4.tar.gz 6574 BLAKE2B 95456e6980465cbc613fd3b835e11b4bc2cc8641234a88003418125bd27bc52eccaafef506a954cda521d269abb1b14129a8c8cc1dd082d01c85c0cc05c465c5 SHA512 4bc3dc68545d2ba98606bffb3fa289af7668a0df8c9ab67cd2e3a1fe7790e9ce00d4e3642022d8224ef5f3bd0ab0797b68ee73301530a1893b18c123fecf47d2
diff --git a/dev-php/phar-io-version/phar-io-version-3.0.4.ebuild b/dev-php/phar-io-version/phar-io-version-3.0.4.ebuild
new file mode 100644
index 000000000000..1c28ee251730
--- /dev/null
+++ b/dev-php/phar-io-version/phar-io-version-3.0.4.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+DESCRIPTION="Library for handling version information and constraints"
+HOMEPAGE="https://github.com/phar-io/version"
+SRC_URI="https://github.com/phar-io/version/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
+IUSE=""
+
+S="${WORKDIR}/version-${PV}"
+
+CDEPEND="dev-php/fedora-autoloader
+ >=dev-lang/php-7.2:*"
+
+BDEPEND="dev-php/theseer-Autoload"
+
+RDEPEND="${CDEPEND}"
+
+src_prepare() {
+ default
+
+ phpab \
+ --output src/autoload.php \
+ --template fedora2 \
+ --basedir src \
+ src \
+ || die
+}
+
+src_install() {
+ insinto /usr/share/php/PharIo/Version
+ doins src/*.php
+ dodoc README.md
+}