diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-php/sebastian-resource-operations | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-php/sebastian-resource-operations')
4 files changed, 55 insertions, 0 deletions
diff --git a/dev-php/sebastian-resource-operations/Manifest b/dev-php/sebastian-resource-operations/Manifest new file mode 100644 index 000000000000..e032400fa843 --- /dev/null +++ b/dev-php/sebastian-resource-operations/Manifest @@ -0,0 +1,4 @@ +AUX autoload.php 348 BLAKE2B 541a6d82f57c1b48b0087ac070058c1f5e575d35e7a69bec64ac18971a64f609beb65bbbaf58a9c1aed6293f863ed9c866024ad2c1531f8f8ec91893d2dfcce2 SHA512 8a6c7dbddc55527db9bdc1973682b09a3e615c3fbb0b473cb3b93b88acba62a7ac46e297582ab4a6611d99325d557425f40f83ed9afe6d82d6073f56e66fd0a4 +DIST sebastian-resource-operations-1.0.0.tar.gz 6449 BLAKE2B 0f748d4792a3d4705560c79047fbdb9c6371435600dbd8373e4c60c8edc436f3487264107b7f3d76125bde3ec7b30062587c96dad7612fdc4e4132d3912813ef SHA512 d11d06c9b8b4a1507238443588f34a85836fcd65d2afdb9bcf3cecfe352cba46c9349988550e901c301db8a21f19cc960a8164653ac66e57661cebddf52ad906 +EBUILD sebastian-resource-operations-1.0.0.ebuild 668 BLAKE2B c8310acff02871649167a99c778c168e74f1118687bc92867b7befc0fdcb0609331d0953d8d40821cd2e7af066029651fcea68014e5228f82b8a0b6309cb99be SHA512 9f00108bf2d61b6a67e4634ef7aa903c1816c49ace083e28089b3e180c9ad1ab05a91013de5da224089c0a31668037e22264693835154b3189cb1be334a3262a +MISC metadata.xml 322 BLAKE2B b031a3917e07e8c98b19228e012a05a46e4ad57b59e394efc345092541c652f2df5f2fe4fe35be69eb9c62f64bf55f0a12636ff9cafa2f510d06b86916f869cb SHA512 e345c6459f1c0f795081e2874aa4a4023998d0a0f6b28462468ef89c7cfaf38366671a68d05516e6d0f3e03b0cdfcbe849c1e224f7b1e3a723232c7db32281b6 diff --git a/dev-php/sebastian-resource-operations/files/autoload.php b/dev-php/sebastian-resource-operations/files/autoload.php new file mode 100644 index 000000000000..f7b9a4d6f681 --- /dev/null +++ b/dev-php/sebastian-resource-operations/files/autoload.php @@ -0,0 +1,13 @@ +<?php +/* Autoloader for dev-php/sebastian-resource-operations */ + +if (!class_exists('Fedora\\Autoloader\\Autoload', false)) { + require_once '/usr/share/php/Fedora/Autoloader/autoload.php'; +} + +\Fedora\Autoloader\Autoload::addClassMap( + array( + 'sebastianbergmann\resourceoperations\resourceoperations' => '/ResourceOperations.php', + ), + __DIR__ +); diff --git a/dev-php/sebastian-resource-operations/metadata.xml b/dev-php/sebastian-resource-operations/metadata.xml new file mode 100644 index 000000000000..f5ad6af5af2e --- /dev/null +++ b/dev-php/sebastian-resource-operations/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <name>PHP</name> + </maintainer> + <upstream> + <remote-id type="github">sebastianbergmann/</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-php/sebastian-resource-operations/sebastian-resource-operations-1.0.0.ebuild b/dev-php/sebastian-resource-operations/sebastian-resource-operations-1.0.0.ebuild new file mode 100644 index 000000000000..3c67da67a446 --- /dev/null +++ b/dev-php/sebastian-resource-operations/sebastian-resource-operations-1.0.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +MY_PN="${PN/sebastian-//}" + +DESCRIPTION="Provides a list of PHP built-in functions that operate on resources" +HOMEPAGE="http://phpunit.de" +SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86" +IUSE="" + +S="${WORKDIR}/${MY_PN}-${PV}" + +RDEPEND="dev-php/fedora-autoloader + >=dev-lang/php-5.6:* + " + +src_install() { + insinto /usr/share/php/SebastianBergmann/ResourceOperations + doins -r src/* + doins "${FILESDIR}/autoload.php" +} |