dev-php/zetacomponents-Base: new package

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
This commit is contained in:
Thomas Deutschmann
2020-11-30 00:33:10 +01:00
parent e0ccbed761
commit aebde57f59
4 changed files with 91 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST zetacomponents-Base-1.9.1.tar.gz 252350 BLAKE2B cc0d82a107fc1190b57b03ce3a594d9ffa5b3a2627cf30d7d31a1018005a8400917cf7bbd1dfeb23f46d118ae56083e147d148b3bbdba5dfea8fde0a8bcf0c46 SHA512 dd56f123c8ed3b8c0116b878120ba7763e402b8364ba404305a9ab483b1c5a341df994517f160c8a959005ab9b75a5a7af74d08b367daa3fd8f852ba4ede5e05

View File

@@ -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

View File

@@ -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>

View File

@@ -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
}