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 spdx-licenses-1.5.8-res_dir.patch 470 BLAKE2B d56da7b6e81aab7e57dda7d1604cdcf881adb748275ac4db655b2a8d1abf7b17717cefccd40eebcdb87da1d14bbbd626fba6828a899594f7761b583d01f72634 SHA512 79af76b48d393b2427528a8d38c940944c4b6a746839b7ba33ff00742af5b3e1f4074d9dc22bff2f2b2016095ba67d6366d19d117fece5009dcc6e6ff3fae35c
DIST spdx-licenses-1.5.8.tar.gz 16162 BLAKE2B 43eed545d32d5395ae8a87f5ef6726b91436f01d7cdeba42b39074b7f897e3fe691ee6a036338c8319bf7206af7c65316edb5f4cd9f44cb89c39eb2e6f781681 SHA512 f8498384dda050036204da1fb4f60cb651e1a525a34031c9e6cd0b316cb5d961bbd1f4a5cdc6f7075c0ca6974b1b04686829c4715c5043dad68056737a2a5585
EBUILD spdx-licenses-1.5.8-r1.ebuild 764 BLAKE2B 6447b52fbf520132978e70fbb386528a119fe7bd8de34e093167d9308743142e737f3951e2e3d4a9463012f7334f00a8d04c8a3b9f3c56d4ccc6ccc8948d41c0 SHA512 5f50242724c3d9cb721c83396db76074ac530f6f06fbdc83eebf954eb79d441a9e7fd3d2e2abfcc5dac3983a23a3605e7f72ee01a7e0d75af5dd9537bc066518
MISC metadata.xml 231 BLAKE2B f3b23bcec715ee058b0d67ac09ba21367e3ab00a2f4ef941223d87457efd4f1c9593f6bc1d5267d29a253424cedc88cc3e5ad4a97511a4420ef7de251a1f15e6 SHA512 44cd6a0f6a1a252fb62f0a77fb0d860b5f9307b343765cf40ad9d2012e706b95686f0d7a7658272818997fa92766701ff758643714e2a3f8f8aeb5986851354a
@@ -0,0 +1,12 @@
diff '--color=auto' -urN spdx-licenses-1.5.8.orig/src/SpdxLicenses.php spdx-licenses-1.5.8/src/SpdxLicenses.php
--- spdx-licenses-1.5.8.orig/src/SpdxLicenses.php 2023-11-20 08:44:33.000000000 +0100
+++ spdx-licenses-1.5.8/src/SpdxLicenses.php 2025-10-07 15:10:08.260898608 +0200
@@ -213,7 +213,7 @@
*/
public static function getResourcesDir()
{
- return dirname(__DIR__) . '/res';
+ return dirname(__DIR__) . '/Spdx/res';
}
/**
+7
View File
@@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">composer/spdx-licenses</remote-id>
</upstream>
</pkgmetadata>
@@ -0,0 +1,41 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="SPDX licenses list and validation library."
HOMEPAGE="https://github.com/composer/spdx-licenses"
SRC_URI="https://github.com/composer/spdx-licenses/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/spdx-licenses-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
BDEPEND="dev-php/theseer-Autoload"
RDEPEND="
>=dev-lang/php-7.4:*
dev-php/fedora-autoloader
"
PATCHES="
${FILESDIR}/${P}-res_dir.patch
"
src_prepare() {
default
phpab \
--output autoload.php \
--template fedora2 \
--basedir src \
src \
|| die
}
src_install() {
insinto "/usr/share/php/Composer/Spdx"
doins -r *.php .github res src/*
}