summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-05-18 20:48:01 +0200
committerThomas Deutschmann <whissi@gentoo.org>2021-05-18 20:48:01 +0200
commit84298226d18397f7e163d16018b1d6cfca28fe9f (patch)
treea3223f509a04770fa6cc7e2ff4a059f0bc2c3b88 /dev-php/phar-io-version
parentdev-php/PEAR-Log: bump to v1.13.3 (diff)
downloadgentoo-84298226d18397f7e163d16018b1d6cfca28fe9f.tar.gz
gentoo-84298226d18397f7e163d16018b1d6cfca28fe9f.tar.bz2
gentoo-84298226d18397f7e163d16018b1d6cfca28fe9f.zip
dev-php/phar-io-version: bump to v3.1.0
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-php/phar-io-version')
-rw-r--r--dev-php/phar-io-version/Manifest1
-rw-r--r--dev-php/phar-io-version/phar-io-version-3.1.0.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 b32cc513430a..98f17c3a3edd 100644
--- a/dev-php/phar-io-version/Manifest
+++ b/dev-php/phar-io-version/Manifest
@@ -1,2 +1,3 @@
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
+DIST phar-io-version-3.1.0.tar.gz 6954 BLAKE2B cd2ed8f1219a6cbb4b50fbfa835dfb7971b0111363344397c4eed672ec223019f66da5afa20b43aeb3d8a9f301438f5a0b0680208115df73cd7e65eda37b1f1a SHA512 f441f341cd63b2910e384fc1a4bae45ab9ccaeaebea8d79c8b20f1d745255c29dbc349962837da5eaa445cfa64ee3c9a4741058da3e669d66da13e45cae2f65e
diff --git a/dev-php/phar-io-version/phar-io-version-3.1.0.ebuild b/dev-php/phar-io-version/phar-io-version-3.1.0.ebuild
new file mode 100644
index 000000000000..1c28ee251730
--- /dev/null
+++ b/dev-php/phar-io-version/phar-io-version-3.1.0.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
+}