diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-php/sebastian-version |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-php/sebastian-version')
-rw-r--r-- | dev-php/sebastian-version/Manifest | 4 | ||||
-rw-r--r-- | dev-php/sebastian-version/files/autoload.php | 13 | ||||
-rw-r--r-- | dev-php/sebastian-version/metadata.xml | 11 | ||||
-rw-r--r-- | dev-php/sebastian-version/sebastian-version-2.0.1.ebuild | 27 |
4 files changed, 55 insertions, 0 deletions
diff --git a/dev-php/sebastian-version/Manifest b/dev-php/sebastian-version/Manifest new file mode 100644 index 000000000000..3f67585bd063 --- /dev/null +++ b/dev-php/sebastian-version/Manifest @@ -0,0 +1,4 @@ +AUX autoload.php 305 SHA256 d2343f066b53e94e6f429133d3842dc5013dfe715edd293bda8f430f5def22e2 SHA512 8a3e0a151a2d6b33e168907a3e30778104d2f33ece499b9f6836be807a16bad4f234fddeaae61f56a69f085b3e7e5e4434297e2557b36b62c8e124ba041cb5e1 WHIRLPOOL febb6837c0949e784fc16fa9ccaa5a0f894178a230ebd8ff9953920702eabcdf3fbd5fb449dc364f270cd2aa80314fc1e4e955cf7ab05ab05236925bfcce091f +DIST sebastian-version-2.0.1.tar.gz 3581 SHA256 95528613681183eb8eca91b5e786da28cdd62effa35652792578b1ca6b730212 SHA512 12a813ff08996f8a6e53069ea297fb00f5fc9b58ce463b4008791cadc19575539bdb17acbf1f2fa67b18ce5a9207c9acd47183d520b60d6a188569f513d8a661 WHIRLPOOL e1b4759df3ac041cc46edb53439b8b1caa612142f92082aecbd3f8573be4a66c0ab0a0c9e637cf64a094bd4a1666ab6a503b17d07b66b72e3a1243c8bf4be0fe +EBUILD sebastian-version-2.0.1.ebuild 700 SHA256 2c166c56022aae316826230fa2449ac2783bc7f547f21f14081ec3f90147ba35 SHA512 ad1fbcd58e0dedde4cce538e225dbdbfd9d90a91fa077cd60deb81b2741e447ad85f33628c2d1bf32f7d75acf8a57bd4a8a08885014e105727addf722e2fcf9a WHIRLPOOL 3896789f7705047350aea1c32dd1287790b9a1da8b6842c33265b33d862ab84ae9b482c5b668282d33895cd828fef468aa8656d040eabf574ae54f4a569a7004 +MISC metadata.xml 329 SHA256 66b0daf2c07d59080b8e337487ce49b4b4bdca45484ea68354f59273cfd7112c SHA512 1c8237de0ca8ba4b3bf588e100df2b966a496ba96dd29ab2cc78cdacec00836e017bc7a32be5f31471eefbe50a144d583d1220a91523dca329d0369920ee15ad WHIRLPOOL bb9f3eaaff79a69d7b1577e8532ed93c98efa930836e0a02aba1d40308b0fb495089158f05af700a0ceea3c7f78e299f84244703524e7b506345a7695b09abaa diff --git a/dev-php/sebastian-version/files/autoload.php b/dev-php/sebastian-version/files/autoload.php new file mode 100644 index 000000000000..3839169bafb5 --- /dev/null +++ b/dev-php/sebastian-version/files/autoload.php @@ -0,0 +1,13 @@ +<?php +/* Autoloader for dev-php/sebastian-version */ + +if (!class_exists('Fedora\\Autoloader\\Autoload', false)) { + require_once '/usr/share/php/Fedora/Autoloader/autoload.php'; +} + +\Fedora\Autoloader\Autoload::addClassMap( + array( + 'sebastianbergmann\version' => '/../Version.php', + ), + __DIR__ +); diff --git a/dev-php/sebastian-version/metadata.xml b/dev-php/sebastian-version/metadata.xml new file mode 100644 index 000000000000..145e45a7391b --- /dev/null +++ b/dev-php/sebastian-version/metadata.xml @@ -0,0 +1,11 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>php-bugs@gentoo.org</email> + <name>PHP</name> + </maintainer> + <upstream> + <remote-id type="github">sebastianbergmann/version</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-php/sebastian-version/sebastian-version-2.0.1.ebuild b/dev-php/sebastian-version/sebastian-version-2.0.1.ebuild new file mode 100644 index 000000000000..5668c701f842 --- /dev/null +++ b/dev-php/sebastian-version/sebastian-version-2.0.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="version" + +DESCRIPTION="Helps with managing the version number of Git-hosted PHP projects" +HOMEPAGE="http://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 ~sh ~sparc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-5.6:*" + +src_install() { + insinto /usr/share/php/SebastianBergmann + doins src/Version.php + insinto /usr/share/php/SebastianBergmann/Version + doins "${FILESDIR}/autoload.php" +} |