Added a lot of PHP packages for the defunct volkszaehler ebuild

This commit is contained in:
Torsten Kurbad
2025-10-09 12:09:31 +02:00
parent cba6641bde
commit 69cb537d3d
417 changed files with 8637 additions and 53 deletions
+4
View File
@@ -0,0 +1,4 @@
AUX autoload.php 3913 BLAKE2B a3c8a3b75e2b150157892bc8ea168e7c60e5cef95cdee1279579a4b1efd4a4647bb5ec22f272575342d8945674fce048b1a091cd48977cdc77a975668c3a0849 SHA512 d43f3a726eb79ee88e674ac0ec3fb4d175ac0041b96638e4d2a40a47720ebd3a983cd36dd943fff9c0220dda68549361628636e94f595b0601d6eddf2b937fe6
DIST phar-io-manifest-2.0.4.tar.gz 15939 BLAKE2B e0777a4a2d9168f49f5952489ce4d51630609223e6901790efb7654dc3973cd3795eba599b166af61d1b02e335542dfcaeb243ca27d04bf6a3af8b09af09627d SHA512 66c46b6f7fcf188300c8cc430cf2047a47e6a63815db1ba19e830fbf9e2d143b7dc7d81334c665d38c6f93f12aeb8543cb05ba29e457b39de2bae57116ee0eaa
EBUILD phar-io-manifest-2.0.4.ebuild 1057 BLAKE2B 7f3092b1a1e3fa12d9362d7918e5f54987ce77e9cf58979d2cf13f69a221cb3ba33c60e98abf6302fa14cdcb94d59e616b02e434cb5ec9b405d55d8aa62d1054 SHA512 9827eb72ceb56789ed736bb01e8740123ea17e417e9a773cc533ccd25b524ae08941bd2e9ae37d4e6303ccb97233c5e1199654e75b82fe75f7237543ac5719a0
MISC metadata.xml 345 BLAKE2B f315866d0a0e6298a4146c625af4a71200a697f0504fe83240a092c1998a09c86c20a7d842ecc790e35ea1048f7676d7ccd00c0bd9d563ee2fa6e9d0fdd9404c SHA512 2768f65be97aa86fd10c3a8541fc6d43262bceb632d9ba194d3e6deb0da217321c11a1063a1aa7206c42d7e12ea105f39974d5fa31f9d93975aa903a6adcd661
@@ -0,0 +1,62 @@
<?php
require_once 'Fedora/Autoloader/autoload.php';
\Fedora\Autoloader\Autoload::addClassMap(
[
'phario\\manifest\\manifestdocumentmapper' => '/ManifestDocumentMapper.php',
'phario\\manifest\\manifestloader' => '/ManifestLoader.php',
'phario\\manifest\\manifestserializer' => '/ManifestSerializer.php',
'phario\\manifest\\exception' => '/exceptions/Exception.php',
'phario\\manifest\\invalidapplicationnameexception' => '/exceptions/InvalidApplicationNameException.php',
'phario\\manifest\\invalidemailexception' => '/exceptions/InvalidEmailException.php',
'phario\\manifest\\invalidurlexception' => '/exceptions/InvalidUrlException.php',
'phario\\manifest\\manifestdocumentexception' => '/exceptions/ManifestDocumentException.php',
'phario\\manifest\\manifestdocumentmapperexception' => '/exceptions/ManifestDocumentMapperException.php',
'phario\\manifest\\manifestelementexception' => '/exceptions/ManifestElementException.php',
'phario\\manifest\\manifestloaderexception' => '/exceptions/ManifestLoaderException.php',
'phario\\manifest\\application' => '/values/Application.php',
'phario\\manifest\\applicationname' => '/values/ApplicationName.php',
'phario\\manifest\\author' => '/values/Author.php',
'phario\\manifest\\authorcollection' => '/values/AuthorCollection.php',
'phario\\manifest\\authorcollectioniterator' => '/values/AuthorCollectionIterator.php',
'phario\\manifest\\bundledcomponent' => '/values/BundledComponent.php',
'phario\\manifest\\bundledcomponentcollection' => '/values/BundledComponentCollection.php',
'phario\\manifest\\bundledcomponentcollectioniterator' => '/values/BundledComponentCollectionIterator.php',
'phario\\manifest\\copyrightinformation' => '/values/CopyrightInformation.php',
'phario\\manifest\\email' => '/values/Email.php',
'phario\\manifest\\extension' => '/values/Extension.php',
'phario\\manifest\\library' => '/values/Library.php',
'phario\\manifest\\license' => '/values/License.php',
'phario\\manifest\\manifest' => '/values/Manifest.php',
'phario\\manifest\\phpextensionrequirement' => '/values/PhpExtensionRequirement.php',
'phario\\manifest\\phpversionrequirement' => '/values/PhpVersionRequirement.php',
'phario\\manifest\\requirement' => '/values/Requirement.php',
'phario\\manifest\\requirementcollection' => '/values/RequirementCollection.php',
'phario\\manifest\\requirementcollectioniterator' => '/values/RequirementCollectionIterator.php',
'phario\\manifest\\type' => '/values/Type.php',
'phario\\manifest\\url' => '/values/Url.php',
'phario\\manifest\\authorelement' => '/xml/AuthorElement.php',
'phario\\manifest\\authorelementcollection' => '/xml/AuthorElementCollection.php',
'phario\\manifest\\bundleselement' => '/xml/BundlesElement.php',
'phario\\manifest\\componentelement' => '/xml/ComponentElement.php',
'phario\\manifest\\componentelementcollection' => '/xml/ComponentElementCollection.php',
'phario\\manifest\\containselement' => '/xml/ContainsElement.php',
'phario\\manifest\\copyrightelement' => '/xml/CopyrightElement.php',
'phario\\manifest\\elementcollection' => '/xml/ElementCollection.php',
'phario\\manifest\\extelement' => '/xml/ExtElement.php',
'phario\\manifest\\extelementcollection' => '/xml/ExtElementCollection.php',
'phario\\manifest\\extensionelement' => '/xml/ExtensionElement.php',
'phario\\manifest\\licenseelement' => '/xml/LicenseElement.php',
'phario\\manifest\\manifestdocument' => '/xml/ManifestDocument.php',
'phario\\manifest\\manifestdocumentloadingexception' => '/xml/ManifestDocumentLoadingException.php',
'phario\\manifest\\manifestelement' => '/xml/ManifestElement.php',
'phario\\manifest\\phpelement' => '/xml/PhpElement.php',
'phario\\manifest\\requireselement' => '/xml/RequiresElement.php',
],
__DIR__
);
\Fedora\Autoloader\Dependencies::required([
'/usr/share/php/PharIo/Version/autoload.php'
]);
+12
View File
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>php-bugs@gentoo.org</email>
<name>PHP</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">phar-io/manifest</remote-id>
</upstream>
</pkgmetadata>
@@ -0,0 +1,49 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
DESCRIPTION="Reading phar.io manifest information from a PHP Archive (PHAR)"
HOMEPAGE="https://github.com/phar-io/manifest"
SRC_URI="https://github.com/phar-io/manifest/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 arm ~hppa ppc64 ~s390 ~sparc x86"
IUSE="examples"
CDEPEND="dev-php/fedora-autoloader
>=dev-php/phar-io-version-3.0.1
>=dev-lang/php-7.2:*[phar,xml(-),xmlwriter(-)]"
BDEPEND="dev-php/theseer-Autoload"
RDEPEND="${CDEPEND}"
S="${WORKDIR}/manifest-${PV}"
src_prepare() {
default
phpab \
--output src/autoload.php \
--template fedora2 \
--basedir src \
src \
|| die
cat >> src/autoload.php <<EOF || die "failed to extend autoload.php"
// Dependencies
\Fedora\Autoloader\Dependencies::required([
'/usr/share/php/PharIo/Version/autoload.php'
]);
EOF
}
src_install() {
insinto /usr/share/php/PharIo/Manifest
doins -r src/*
dodoc README.md
use examples && dodoc -r examples
}