diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-php/myclabs-deepcopy |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-php/myclabs-deepcopy')
-rw-r--r-- | dev-php/myclabs-deepcopy/Manifest | 4 | ||||
-rw-r--r-- | dev-php/myclabs-deepcopy/files/autoload.php | 8 | ||||
-rw-r--r-- | dev-php/myclabs-deepcopy/metadata.xml | 11 | ||||
-rw-r--r-- | dev-php/myclabs-deepcopy/myclabs-deepcopy-1.6.0.ebuild | 27 |
4 files changed, 50 insertions, 0 deletions
diff --git a/dev-php/myclabs-deepcopy/Manifest b/dev-php/myclabs-deepcopy/Manifest new file mode 100644 index 000000000000..035a818303f4 --- /dev/null +++ b/dev-php/myclabs-deepcopy/Manifest @@ -0,0 +1,4 @@ +AUX autoload.php 239 SHA256 389827b3a99d1c94870aaae1b6c64d0185cf0dcb4ade9b880c77a275836de5a4 SHA512 d59e462c851383a3e2a487fbdaff75c50c805572c151ca3ce4ca9ae5cba1cac85a76f2a8bb50730caaa76eabc0c76a9f97dd2135008939df874d57cc654d3fab WHIRLPOOL 0dc8718db90d881b25fdc006da66fc5f721ba9a8df052b747dbf59729357ed065c958c0cc74e021f150831025c872a25c520530ed05b50c08eb9207c4572b688 +DIST myclabs-deepcopy-1.6.0.tar.gz 43612 SHA256 45b1734bc5522e3ce82f8c1c77975f585e8858398e3bb0e3233542e2d1fd6874 SHA512 a1d0ce8386172b963bca1e34e0e6d69268177f6aaf5309498780e4f9e43b9126916937e0b422644199b96f46212d0267af9b56993b9ffe295adb5f872c24584c WHIRLPOOL 950d41378a34f4e556064c3de1f971419294c63a8ca5722889d3608e736dd3a88ea302892e280ed40315d93ebe81b18804d0599e7b969ee591d9178a79bcd083 +EBUILD myclabs-deepcopy-1.6.0.ebuild 661 SHA256 31354aa91884c6c451fbab2a02aa69703f212b61913b064f06ce303d1994b346 SHA512 3014e27405884e166944c030c30e3aee447cad040d057bf0c40a7b0d8752a067c33a2ce940c486b0bfe465f862399ebaf310c5682f52aca097e30a969d256ef5 WHIRLPOOL 89f298d47d0ede9ef4f38bc2c0ef08093bdf8f265fca1255d06042742bc5d540ae482812c9090ae677bebab47f3e8bddf66a691ff397eedf332c8d20db89d677 +MISC metadata.xml 320 SHA256 6f083719949be3093ed8c7258eb06fa15662a31d1d48a6f0e10de4114d3bfb80 SHA512 a4610b9b7fc96287c53bc0501afdded0b917d842e2a263308fe20aab65678c569d6ace0576596e7d4cb75dc3af3b3af2896ac7aeb867237206b7ca3c6c8b30e8 WHIRLPOOL f82f2efbbf00cd6a2d293679389b4ab3cfb696f5205a052edbe1a955fc7f2505447c2498a9bf1cb6b229d1b092772dbd70eb3cceedb2a920632e3dc5a56a77a5 diff --git a/dev-php/myclabs-deepcopy/files/autoload.php b/dev-php/myclabs-deepcopy/files/autoload.php new file mode 100644 index 000000000000..0d5d92673b36 --- /dev/null +++ b/dev-php/myclabs-deepcopy/files/autoload.php @@ -0,0 +1,8 @@ +<?php +/* Autoloader for dev-php/myclabs-deepcopy */ + +if (!class_exists('Fedora\\Autoloader\\Autoload', false)) { + require_once '/usr/share/php/Fedora/Autoloader/autoload.php'; +} + +Fedora\Autoloader\Autoload::addPsr4('DeepCopy\\', __DIR__); diff --git a/dev-php/myclabs-deepcopy/metadata.xml b/dev-php/myclabs-deepcopy/metadata.xml new file mode 100644 index 000000000000..1aeb42359b17 --- /dev/null +++ b/dev-php/myclabs-deepcopy/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">myclabs/DeepCopy</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-php/myclabs-deepcopy/myclabs-deepcopy-1.6.0.ebuild b/dev-php/myclabs-deepcopy/myclabs-deepcopy-1.6.0.ebuild new file mode 100644 index 000000000000..7ba26c9f24f8 --- /dev/null +++ b/dev-php/myclabs-deepcopy/myclabs-deepcopy-1.6.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="DeepCopy" + +DESCRIPTION="Create deep copies (clones) of your objects" +HOMEPAGE="https://github.com/myclabs/${MY_PN}" +SRC_URI="https://github.com/myclabs/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +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/myclabs + doins -r src/* + insinto /usr/share/php/myclabs/DeepCopy + doins "${FILESDIR}/autoload.php" +} |