diff options
author | Guillaume Seren <guillaumeseren@gmail.com> | 2016-11-24 08:18:48 +0100 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2016-12-18 18:16:59 -0500 |
commit | ea07d0043659e54e04b3bc784f6c65d7fa20cb00 (patch) | |
tree | d3dbe62988ed16bd38ae50dcd528e46922640eaf /dev-php/phar-utils | |
parent | dev-php/symfony-finder: Add 2.7.20 version (diff) | |
download | gentoo-ea07d0043659e54e04b3bc784f6c65d7fa20cb00.tar.gz gentoo-ea07d0043659e54e04b3bc784f6c65d7fa20cb00.tar.bz2 gentoo-ea07d0043659e54e04b3bc784f6c65d7fa20cb00.zip |
dev-php/phar-utils: Add 1.0.0 version
This is needed for composer-1.2.2, bug 439206.
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'dev-php/phar-utils')
-rw-r--r-- | dev-php/phar-utils/Manifest | 1 | ||||
-rw-r--r-- | dev-php/phar-utils/files/autoload.php | 8 | ||||
-rw-r--r-- | dev-php/phar-utils/metadata.xml | 15 | ||||
-rw-r--r-- | dev-php/phar-utils/phar-utils-1.0.0.ebuild | 23 |
4 files changed, 47 insertions, 0 deletions
diff --git a/dev-php/phar-utils/Manifest b/dev-php/phar-utils/Manifest new file mode 100644 index 000000000000..cff8524d615d --- /dev/null +++ b/dev-php/phar-utils/Manifest @@ -0,0 +1 @@ +DIST phar-utils-1.0.0.tar.gz 3152 SHA256 d754727a7cf75f0a2fc1c716a059096d38fbee8caa8872b14fa3a24864b02ca3 SHA512 bf3d7074a3f1101a7f03e8fb8a5bc1456674bf2f9ded6a5fc5fb2f892c1cc3c4643fab6c003851ed12ea16ce6390f482cf897beee7d7c38922b6c54c90b0934e WHIRLPOOL 246dd7d334f5b845830863268c2b600cba762022583260048b0f0871e25140955c97f91d704af48ffd0a0b301db0e38d624836ea8cbf60834dad17b0f7a13364 diff --git a/dev-php/phar-utils/files/autoload.php b/dev-php/phar-utils/files/autoload.php new file mode 100644 index 000000000000..44f0299fd7bd --- /dev/null +++ b/dev-php/phar-utils/files/autoload.php @@ -0,0 +1,8 @@ +<?php +/* Autoloader for symfony-finder and its dependencies */ + +if (!class_exists('Fedora\\Autoloader\\Autoload', false)) { + require_once '/usr/share/php/Fedora/Autoloader/autoload.php'; +} + +\Fedora\Autoloader\Autoload::addPsr4('Seld\\PharUtils\\', __DIR__); diff --git a/dev-php/phar-utils/metadata.xml b/dev-php/phar-utils/metadata.xml new file mode 100644 index 000000000000..4f4b67bf6400 --- /dev/null +++ b/dev-php/phar-utils/metadata.xml @@ -0,0 +1,15 @@ +<?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> + PHAR file format utilities, for when PHP phars you up + </longdescription> +</pkgmetadata> diff --git a/dev-php/phar-utils/phar-utils-1.0.0.ebuild b/dev-php/phar-utils/phar-utils-1.0.0.ebuild new file mode 100644 index 000000000000..41312330ee3a --- /dev/null +++ b/dev-php/phar-utils/phar-utils-1.0.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="PHAR file format utilities, for when PHP phars you up" +HOMEPAGE="https://github.com/Seldaek/phar-utils" +SRC_URI="https://github.com/Seldaek/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/php:*[phar] + dev-php/fedora-autoloader" + +src_install() { + insinto "/usr/share/php/Seld/PharUtils" + doins -r src/. "${FILESDIR}"/autoload.php + dodoc README.md +} |