From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/metadata-minifier/
Date: Tue, 27 Apr 2021 14:28:33 +0000 (UTC) [thread overview]
Message-ID: <1619533699.db4a6aba6d7681c2e4bbfbb9bf9bacd3d657d91d.whissi@gentoo> (raw)
commit: db4a6aba6d7681c2e4bbfbb9bf9bacd3d657d91d
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 27 14:22:08 2021 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Tue Apr 27 14:28:19 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db4a6aba
dev-php/metadata-minifier: new package
Needed for dev-php/composer.
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
dev-php/metadata-minifier/Manifest | 1 +
.../metadata-minifier-1.0.0.ebuild | 35 ++++++++++++++++++++++
dev-php/metadata-minifier/metadata.xml | 10 +++++++
3 files changed, 46 insertions(+)
diff --git a/dev-php/metadata-minifier/Manifest b/dev-php/metadata-minifier/Manifest
new file mode 100644
index 00000000000..4c7d8c9a770
--- /dev/null
+++ b/dev-php/metadata-minifier/Manifest
@@ -0,0 +1 @@
+DIST metadata-minifier-1.0.0.tar.gz 2505 BLAKE2B 0312338b7d0c4b2c679c8bb054d11a785495faa8bc20c078ece89cbbfe8cfb7a8944eb248e7adc772c8309f416fcff5c81d920f35b4712f45bd4a7c7eb1291e7 SHA512 19915f67e8a00595e5582f7be8edbc22b322ce3d4c9e687105ea83c4789b9590c5cef967ee8a5614e938e13e262585e7377fc1e45f3a3e05340bf8ddcfe8fc72
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 00000000000..cf40155d322
--- /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 00000000000..ce3c65e2b56
--- /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>
next reply other threads:[~2021-04-27 14:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-27 14:28 Thomas Deutschmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-05-06 6:55 [gentoo-commits] repo/gentoo:master commit in: dev-php/metadata-minifier/ Agostino Sarubbo
2021-05-10 6:58 Agostino Sarubbo
2024-01-09 17:42 Mart Raudsepp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1619533699.db4a6aba6d7681c2e4bbfbb9bf9bacd3d657d91d.whissi@gentoo \
--to=whissi@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox