diff options
author | Guillaume Seren <guillaumeseren@gmail.com> | 2016-11-23 16:49:46 +0100 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2016-12-18 18:16:57 -0500 |
commit | 38e69d1f39f4171f3b64e23242e02b6ea8142444 (patch) | |
tree | 3112565c0b4e7b9afcfd6c8c774a44bdafba7b81 /dev-php/fedora-autoloader/fedora-autoloader-0.2.1.ebuild | |
parent | dev-libs/ossp-uuid: Revbump to fix PHP support and bump to EAPI6 (diff) | |
download | gentoo-38e69d1f39f4171f3b64e23242e02b6ea8142444.tar.gz gentoo-38e69d1f39f4171f3b64e23242e02b6ea8142444.tar.bz2 gentoo-38e69d1f39f4171f3b64e23242e02b6ea8142444.zip |
dev-php/fedora-autoloader: Add 0.2.1 version
This is needed for composer-1.2.2, bug 439206.
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'dev-php/fedora-autoloader/fedora-autoloader-0.2.1.ebuild')
-rw-r--r-- | dev-php/fedora-autoloader/fedora-autoloader-0.2.1.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
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 index 000000000000..3db26adce1be --- /dev/null +++ b/dev-php/fedora-autoloader/fedora-autoloader-0.2.1.ebuild @@ -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" +} |