dev-php/fedora-autoloader: Add 0.2.1 version
authorGuillaume Seren <guillaumeseren@gmail.com>
Wed, 23 Nov 2016 15:49:46 +0000 (16:49 +0100)
committerMichael Orlitzky <mjo@gentoo.org>
Sun, 18 Dec 2016 23:16:57 +0000 (18:16 -0500)
This is needed for composer-1.2.2, bug 439206.

Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
dev-php/fedora-autoloader/Manifest [new file with mode: 0644]
dev-php/fedora-autoloader/fedora-autoloader-0.2.1.ebuild [new file with mode: 0644]
dev-php/fedora-autoloader/metadata.xml [new file with mode: 0644]

diff --git a/dev-php/fedora-autoloader/Manifest b/dev-php/fedora-autoloader/Manifest
new file mode 100644 (file)
index 0000000..d68fe62
--- /dev/null
@@ -0,0 +1 @@
+DIST fedora-autoloader-0.2.1.tar.gz 7634 SHA256 2311e97c0a78c5472d853f10022e5cd2844637e856ecf2a51ea686b3d3332576 SHA512 81501dbc0668c1cc6d6fb030e0d9ee91d31db8fa32b3348a0215dbf20a3ef1d41bc398124e1d7f0c1d5ffa8fce8c33e60a3182eaba6ba740d78b4a7f6db2aea8 WHIRLPOOL 4106d392a906110b418e47cf8bf2e78892a5e5581f21961a76859c581b0c1f5d60f15677c00ec6a8d10d94aa6210dfc5cd68208164428d77804ef4a21cc56812
diff --git a/dev-php/fedora-autoloader/fedora-autoloader-0.2.1.ebuild b/dev-php/fedora-autoloader/fedora-autoloader-0.2.1.ebuild
new file mode 100644 (file)
index 0000000..3db26ad
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="Fedora's Static PSR-4, PSR-0, and classmap autoloader"
+HOMEPAGE="https://github.com/php-fedora/autoloader"
+SRC_URI="https://github.com/php-fedora/autoloader/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="dev-lang/php:*"
+DEPEND="
+       test? (
+               ${RDEPEND}
+               dev-php/phpunit )"
+
+S="${WORKDIR}/autoloader-${PV}"
+
+src_install() {
+       insinto "/usr/share/php/Fedora/Autoloader"
+       doins -r src/.
+       dodoc CHANGELOG.md README.md
+}
+
+src_test() {
+       phpunit || die "test suite failed"
+}
diff --git a/dev-php/fedora-autoloader/metadata.xml b/dev-php/fedora-autoloader/metadata.xml
new file mode 100644 (file)
index 0000000..97fe3ea
--- /dev/null
@@ -0,0 +1,16 @@
+<?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>
+  <longdescription>
+    Static PSR-4, PSR-0, and classmap autoloader.
+    Includes loader for required and optional dependencies.
+  </longdescription>
+</pkgmetadata>