diff options
-rw-r--r-- | dev-php/fedora-autoloader/Manifest | 1 | ||||
-rw-r--r-- | dev-php/fedora-autoloader/fedora-autoloader-1.0.1.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-php/fedora-autoloader/Manifest b/dev-php/fedora-autoloader/Manifest index 4125877c22a2..7317bfbc30ec 100644 --- a/dev-php/fedora-autoloader/Manifest +++ b/dev-php/fedora-autoloader/Manifest @@ -1,2 +1,3 @@ DIST fedora-autoloader-0.2.1.tar.gz 7634 BLAKE2B e2827ac332a7b50f94383a11b33f25625d67984491fc46dce6ad01d6e4b986c489062464d09ff5ed32f29c2d623ff9d59579fc007eceb1279f660695feea72a0 SHA512 81501dbc0668c1cc6d6fb030e0d9ee91d31db8fa32b3348a0215dbf20a3ef1d41bc398124e1d7f0c1d5ffa8fce8c33e60a3182eaba6ba740d78b4a7f6db2aea8 DIST fedora-autoloader-1.0.0.tar.gz 8504 BLAKE2B ada69f3f3126b2c233b0ab933e52468d8303dbaacfc27364f490ce7b093043f92913ecc55180b460828573f0f204f5e7f4d10b3149ef6f5b3cee1d645fa6ac58 SHA512 a8e3330d961a9415a817d41ad9feb91018aa398607a2adce1f8386d491581773226f6819ac3d90827344898fbbdb32c0881af3f122efdad021f7ce70a07cc66e +DIST fedora-autoloader-1.0.1.tar.gz 8743 BLAKE2B 4ba6ed275812036f171138e05f5aa56611c6430bc5e440dac5ee45ad975f2300c70c0b964c8c5e0681028829738ad1e4abd69b14e83e10e5215ea9ec7f2d705f SHA512 dd27348e23b69f03e64c2608ae9fd8caf54baa60327c944f46ab5f4cc762677baacc21ba0ea97cad5d97e9f168b1b3731e0ab2bb48df394c07aaa61fd9d66de6 diff --git a/dev-php/fedora-autoloader/fedora-autoloader-1.0.1.ebuild b/dev-php/fedora-autoloader/fedora-autoloader-1.0.1.ebuild new file mode 100644 index 000000000000..81eea1238509 --- /dev/null +++ b/dev-php/fedora-autoloader/fedora-autoloader-1.0.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" + +IUSE="test" + +RESTRICT="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" +} |