diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-php/semver | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-php/semver')
-rw-r--r-- | dev-php/semver/Manifest | 4 | ||||
-rw-r--r-- | dev-php/semver/files/autoload.php | 8 | ||||
-rw-r--r-- | dev-php/semver/metadata.xml | 21 | ||||
-rw-r--r-- | dev-php/semver/semver-1.4.2.ebuild | 24 |
4 files changed, 57 insertions, 0 deletions
diff --git a/dev-php/semver/Manifest b/dev-php/semver/Manifest new file mode 100644 index 000000000000..e0dfda114890 --- /dev/null +++ b/dev-php/semver/Manifest @@ -0,0 +1,4 @@ +AUX autoload.php 251 BLAKE2B 6d0768402735be6031c510b158bf29c0bc38a7c59317319e7b3240275903ece9a24c6eecacdac60b7dcb41c8b06513972cc649f7a36064adf7be33e1fa25ab67 SHA512 acae828e0308a02338aa850f4ba68a8becf171e9ddc6d9d6d1f48dfe24b100b53cd7b5d42d723f69e4e19aded8fe36c86ea3172b5681b0d96ec9e1a9661460f1 +DIST semver-1.4.2.tar.gz 10408 BLAKE2B 1504b6dff157e1b3c5ca338060e668f478fdd4e6a61be7835af6da669d22ef15a2143551e96bd01926fd2b408736fd8e70df22e1364b80712dc7d65608889b27 SHA512 2e41e2e70e9e62b280bff40b1a05b3803d95fb088eb4ce395e1f1fed79a40efc3a0ad16f8506d83a81b0e1d08e069640b2b084cc91aeb1ed41d934fd18249fe2 +EBUILD semver-1.4.2.ebuild 630 BLAKE2B 7741098c8702cf362044f6b6726df614cc85521f82e3a392ab79e47061691205c22bd4c74bb58cf2330f000b45b47143949f312a351e082af75ce10e1a3d3a43 SHA512 83b91af48b58ba6ffa34b26c30c0291c76146fb3088ce76fa5ab93a5b13888037527961934e460d6433716c74a09b02f9393d70280627a713686b9341a0c0374 +MISC metadata.xml 691 BLAKE2B d635ca9e1849cddd3377081ddd927fcb15d092728a624c408d17aa0a307751150212f1a4abacec0dc03618402f05cdd226f0cbbaea4b47d66141637f7d5c6aad SHA512 58d106fb2642c5445fcc487b818a7d0ddb21bf56d17455fd21cab83d9941437a4f339cdd192ca212645891bce3da01bf936e503b63665cf014d55ebe12b635d4 diff --git a/dev-php/semver/files/autoload.php b/dev-php/semver/files/autoload.php new file mode 100644 index 000000000000..bf9e65beee0b --- /dev/null +++ b/dev-php/semver/files/autoload.php @@ -0,0 +1,8 @@ +<?php +/* Autoloader for composer/ca-bundle and its dependencies */ + +if (!class_exists('Fedora\\Autoloader\\Autoload', false)) { + require_once 'Fedora/Autoloader/autoload.php'; +} + +\Fedora\Autoloader\Autoload::addPsr4('Composer\\Semver\\', __DIR__); diff --git a/dev-php/semver/metadata.xml b/dev-php/semver/metadata.xml new file mode 100644 index 000000000000..031f9b3cd5ec --- /dev/null +++ b/dev-php/semver/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>guillaumeseren@gmail.com</email> + <name>Guillaume Seren</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <maintainer type="project"> + <email>php-bugs@gentoo.org</email> + </maintainer> + <longdescription> + Semantic versioning utilities with the addition of version constraints parsing and checking. + </longdescription> + <upstream> + <remote-id type="github">composer/semver</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-php/semver/semver-1.4.2.ebuild b/dev-php/semver/semver-1.4.2.ebuild new file mode 100644 index 000000000000..21aed1b27903 --- /dev/null +++ b/dev-php/semver/semver-1.4.2.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Semantic versioning utilities, constraint parsing, and checking" +HOMEPAGE="https://github.com/composer/semver" +SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-lang/php:* + dev-php/fedora-autoloader" + +# The releases don't contain the test suite at the moment, see +# https://github.com/composer/semver/issues/59 + +src_install() { + insinto '/usr/share/php/Composer/Semver' + doins -r src/. "${FILESDIR}/autoload.php" + dodoc README.md +} |