summaryrefslogtreecommitdiff
path: root/dev-php/zetacomponents-Base
diff options
context:
space:
mode:
Diffstat (limited to 'dev-php/zetacomponents-Base')
-rw-r--r--dev-php/zetacomponents-Base/Manifest4
-rw-r--r--dev-php/zetacomponents-Base/files/autoload.php53
-rw-r--r--dev-php/zetacomponents-Base/metadata.xml11
-rw-r--r--dev-php/zetacomponents-Base/zetacomponents-Base-1.9.1.ebuild26
4 files changed, 94 insertions, 0 deletions
diff --git a/dev-php/zetacomponents-Base/Manifest b/dev-php/zetacomponents-Base/Manifest
new file mode 100644
index 000000000000..3f1326fc2b0b
--- /dev/null
+++ b/dev-php/zetacomponents-Base/Manifest
@@ -0,0 +1,4 @@
+AUX autoload.php 2999 BLAKE2B 7e178de212e6f26e621509ced47998bdf501df0a7ece33f98b943c5bfcc4ca32a886e0a09cb83975f83148a29736be50298281f302094f6fb32c91a695c97d76 SHA512 70f2f358fffd4b9d7a9af07badf2e000974ddbde9230797ef4cc955a73326c665e947278ebf3967d81b93c97805293ab230aea7aa3bb98a56d7a3c34cf20be94
+DIST zetacomponents-Base-1.9.1.tar.gz 252350 BLAKE2B cc0d82a107fc1190b57b03ce3a594d9ffa5b3a2627cf30d7d31a1018005a8400917cf7bbd1dfeb23f46d118ae56083e147d148b3bbdba5dfea8fde0a8bcf0c46 SHA512 dd56f123c8ed3b8c0116b878120ba7763e402b8364ba404305a9ab483b1c5a341df994517f160c8a959005ab9b75a5a7af74d08b367daa3fd8f852ba4ede5e05
+EBUILD zetacomponents-Base-1.9.1.ebuild 597 BLAKE2B 5f9231995ccdf2a070de039b6a3eee0505306a63dae4d700f0d47314cae2476574d88b1f76e222a9520384620bf74b83d6a79b13c421d5c77fb133605f1b7b99 SHA512 9abcc265f236beb7c6082006d5395d2e941834201f16292df17198bfa04670eb7e2d7edb5672f7036e5b54eece6c0cc3a0a52ebbce96a30571a2a578f5c33f14
+MISC metadata.xml 323 BLAKE2B c5d83f1d6652e8e2ec9c0eef1e0dd8a6d9de3da700427c3722d9213d719f9f64af8870e83fab300febde6b5104ffa38b3cef26f68a15ee038b1ae10387bc3d11 SHA512 949758b23a6a21bb9d4f2dce2d20e2ed7bca150e5f872adb243d5031710e22522a228aa3da5fb5dc700a32c27da84e1e28550b65ef2e2d4fd0fedde830bb28f4
diff --git a/dev-php/zetacomponents-Base/files/autoload.php b/dev-php/zetacomponents-Base/files/autoload.php
new file mode 100644
index 000000000000..17bec81a6d2e
--- /dev/null
+++ b/dev-php/zetacomponents-Base/files/autoload.php
@@ -0,0 +1,53 @@
+<?php
+// @codingStandardsIgnoreFile
+// @codeCoverageIgnoreStart
+// this is an autogenerated file - do not edit
+spl_autoload_register(
+ function($class) {
+ static $classes = null;
+ if ($classes === null) {
+ $classes = array(
+ 'ezcbase' => '/base.php',
+ 'ezcbaseautoloadexception' => '/exceptions/autoload.php',
+ 'ezcbaseautoloadoptions' => '/options/autoload.php',
+ 'ezcbaseconfigurationinitializer' => '/interfaces/configuration_initializer.php',
+ 'ezcbasedoubleclassrepositoryprefixexception' => '/exceptions/double_class_repository_prefix.php',
+ 'ezcbaseexception' => '/exceptions/exception.php',
+ 'ezcbaseexportable' => '/interfaces/exportable.php',
+ 'ezcbaseextensionnotfoundexception' => '/exceptions/extension_not_found.php',
+ 'ezcbasefeatures' => '/features.php',
+ 'ezcbasefile' => '/file.php',
+ 'ezcbasefileexception' => '/exceptions/file_exception.php',
+ 'ezcbasefilefindcontext' => '/structs/file_find_context.php',
+ 'ezcbasefileioexception' => '/exceptions/file_io.php',
+ 'ezcbasefilenotfoundexception' => '/exceptions/file_not_found.php',
+ 'ezcbasefilepermissionexception' => '/exceptions/file_permission.php',
+ 'ezcbasefunctionalitynotsupportedexception' => '/exceptions/functionality_not_supported.php',
+ 'ezcbaseinit' => '/init.php',
+ 'ezcbaseinitcallbackconfiguredexception' => '/exceptions/init_callback_configured.php',
+ 'ezcbaseinitinvalidcallbackclassexception' => '/exceptions/invalid_callback_class.php',
+ 'ezcbaseinvalidparentclassexception' => '/exceptions/invalid_parent_class.php',
+ 'ezcbasemetadata' => '/metadata.php',
+ 'ezcbasemetadatapearreader' => '/metadata/pear.php',
+ 'ezcbasemetadatatarballreader' => '/metadata/tarball.php',
+ 'ezcbaseoptions' => '/options.php',
+ 'ezcbasepersistable' => '/interfaces/persistable.php',
+ 'ezcbasepropertynotfoundexception' => '/exceptions/property_not_found.php',
+ 'ezcbasepropertypermissionexception' => '/exceptions/property_permission.php',
+ 'ezcbaserepositorydirectory' => '/structs/repository_directory.php',
+ 'ezcbasesettingnotfoundexception' => '/exceptions/setting_not_found.php',
+ 'ezcbasesettingvalueexception' => '/exceptions/setting_value.php',
+ 'ezcbasestruct' => '/struct.php',
+ 'ezcbasevalueexception' => '/exceptions/value.php',
+ 'ezcbasewhateverexception' => '/exceptions/whatever.php'
+ );
+ }
+ $cn = strtolower($class);
+ if (isset($classes[$cn])) {
+ require __DIR__ . $classes[$cn];
+ }
+ },
+ true,
+ false
+);
+// @codeCoverageIgnoreEnd
diff --git a/dev-php/zetacomponents-Base/metadata.xml b/dev-php/zetacomponents-Base/metadata.xml
new file mode 100644
index 000000000000..8dbb073e53ff
--- /dev/null
+++ b/dev-php/zetacomponents-Base/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">zetacomponents/Base</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-php/zetacomponents-Base/zetacomponents-Base-1.9.1.ebuild b/dev-php/zetacomponents-Base/zetacomponents-Base-1.9.1.ebuild
new file mode 100644
index 000000000000..a1c68a7472bd
--- /dev/null
+++ b/dev-php/zetacomponents-Base/zetacomponents-Base-1.9.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="Base"
+
+DESCRIPTION="Base package for any Zeta component"
+HOMEPAGE="https://github.com/zetacomponents/Base"
+SRC_URI="https://github.com/zetacomponents/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
+
+RDEPEND="dev-lang/php:*"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+src_install() {
+ insinto /usr/share/php/ezc/${MY_PN}
+ doins -r src/*
+ doins "${FILESDIR}"/autoload.php
+
+ einstalldocs
+}