diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
commit | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch) | |
tree | 758c221bad35c9288d0bd6df9c7dfc226728e52c /dev-php/metadata-minifier | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'dev-php/metadata-minifier')
-rw-r--r-- | dev-php/metadata-minifier/Manifest | 3 | ||||
-rw-r--r-- | dev-php/metadata-minifier/metadata-minifier-1.0.0.ebuild | 35 | ||||
-rw-r--r-- | dev-php/metadata-minifier/metadata.xml | 10 |
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-php/metadata-minifier/Manifest b/dev-php/metadata-minifier/Manifest new file mode 100644 index 000000000000..4637fba3ffe7 --- /dev/null +++ b/dev-php/metadata-minifier/Manifest @@ -0,0 +1,3 @@ +DIST metadata-minifier-1.0.0.tar.gz 2505 BLAKE2B 0312338b7d0c4b2c679c8bb054d11a785495faa8bc20c078ece89cbbfe8cfb7a8944eb248e7adc772c8309f416fcff5c81d920f35b4712f45bd4a7c7eb1291e7 SHA512 19915f67e8a00595e5582f7be8edbc22b322ce3d4c9e687105ea83c4789b9590c5cef967ee8a5614e938e13e262585e7377fc1e45f3a3e05340bf8ddcfe8fc72 +EBUILD metadata-minifier-1.0.0.ebuild 717 BLAKE2B 3288baf5147bfd82d1540786438ba1ad65083ac756df2f93f812564ff8f9ad3c428598b401a68c036f5f3e85e015d466608413412cdd43836233624bd5834eef SHA512 92dc7beb92ba421c1be21d3bb697754aa58b5733fcdb02aa8fd9c68fe52ae8d05129e47e9422550f0d12f390432da027727934d9c3c9605bd5b27616533dc7e7 +MISC metadata.xml 311 BLAKE2B fe99b518f8bff2c00ef3ad80fc9a63fe7ef1d9d79eec7866741300467ffcdfc0fca5376e9885b87575b1239f5b6e71c9356eba7dd6736ff331e0035187ddd4ff SHA512 73faebd9138145be5348adbbddc59e8d2bf269322995c631a56aa9beaf6d9074fc2d93d9c6cbb6438400912a478d161537e426c662486a40e64d3e914aca9e29 diff --git a/dev-php/metadata-minifier/metadata-minifier-1.0.0.ebuild b/dev-php/metadata-minifier/metadata-minifier-1.0.0.ebuild new file mode 100644 index 000000000000..cf40155d322c --- /dev/null +++ b/dev-php/metadata-minifier/metadata-minifier-1.0.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Small utility library that handles metadata minification and expansion" +HOMEPAGE="https://github.com/composer/metadata-minifier" +SRC_URI="https://github.com/composer/metadata-minifier/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="dev-php/theseer-Autoload" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-7.2:*" + +src_prepare() { + default + + phpab \ + --output src/autoload.php \ + --template fedora2 \ + --basedir src \ + src \ + || die +} + +src_install() { + insinto '/usr/share/php/Composer/MetadataMinifier' + doins -r src/* + + einstalldocs +} diff --git a/dev-php/metadata-minifier/metadata.xml b/dev-php/metadata-minifier/metadata.xml new file mode 100644 index 000000000000..ce3c65e2b568 --- /dev/null +++ b/dev-php/metadata-minifier/metadata.xml @@ -0,0 +1,10 @@ +<?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> + </maintainer> + <upstream> + <remote-id type="github">composer/metadata-minifier</remote-id> + </upstream> +</pkgmetadata> |