Added a lot of PHP packages for the defunct volkszaehler ebuild
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
DIST webpatser-laravel-uuid-6.2.0.tar.gz 16127 BLAKE2B cd4f14ca568531bb1642736699e730ef725cf42a779074f739d233b2a16863b8266991b71985f291e86be8505b0410ea478d62ad1040f6842cd02bbaddbb6f05 SHA512 283956d38adbcd2c0ab2a6004f0a5469de87a33a407d2475bc78397f434e22d9f05c3c68c0b87377dbfbba2232500d55f5653a6705ada8b5e901f70075393ef3
|
||||
EBUILD webpatser-laravel-uuid-6.2.0.ebuild 2225 BLAKE2B 74de830d86d5a6d8f0389d2099b80731a492f868bce8eaea6b127fe4999f65e903d97d6cbe09045cb48b955ce10d854c92b1ea48a680935e03cfd4c35374510e SHA512 7142359e9d434eb782f446a3abffcf1c87b85483ce85550ab3d5cd1dc9047301dd8443f414b31a834456f3b5cfdfb226333a51600d234564fe022612d964c694
|
||||
MISC metadata.xml 231 BLAKE2B 4c8c3ea7c5df848390f3512b84537b36e51fd616ab62381abc346ff27b0fb2988a716366801f074fe139900271bc96fe8a2d6622ec7a038572b1f41799dd4d2d SHA512 9a6b5a6ae40297648d871121e7dd3b9fcbdfaf01cb6b5a927be76a21c13f2987778e62409218d53a23f30ced3817c97f01c9e3ea87d8be56cc8998eb375b1053
|
||||
@@ -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">webpatser/laravel-uuid</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Laravel integration for webpatser/uuid - High-performance drop-in UUID replacements (15% faster than Ramsey). Provides Str macros, HasUuids trait, facades, and casts. RFC 4122/9562 compliant."
|
||||
HOMEPAGE="https://github.com/webpatser/laravel-uuid"
|
||||
SRC_URI="https://github.com/webpatser/laravel-uuid/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/laravel-uuid-${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
|
||||
dev-php/illuminate-support
|
||||
dev-php/webpatser-uuid
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
phpab \
|
||||
--quiet \
|
||||
--output autoload.php \
|
||||
--template fedora2 \
|
||||
--basedir . \
|
||||
. \
|
||||
|| die
|
||||
|
||||
VENDOR_DIR="${EPREFIX}/usr/share/php"
|
||||
cat >> autoload.php <<EOF || die "failed to extend autoload.php"
|
||||
|
||||
// Dependencies
|
||||
\Fedora\Autoloader\Dependencies::required([
|
||||
"${VENDOR_DIR}/Fedora/Autoloader/autoload.php",
|
||||
"${VENDOR_DIR}/Carbon/Doctrine/autoload.php",
|
||||
"${VENDOR_DIR}/Doctrine/Inflector/autoload.php",
|
||||
"${VENDOR_DIR}/Illuminate/Support/autoload.php",
|
||||
"${VENDOR_DIR}/Illuminate/Support/autoload.php",
|
||||
"${VENDOR_DIR}/Illuminate/Contracts/autoload.php",
|
||||
"${VENDOR_DIR}/Illuminate/Support/autoload.php",
|
||||
"${VENDOR_DIR}/Illuminate/Support/autoload.php",
|
||||
"${VENDOR_DIR}/Carbon/autoload.php",
|
||||
"${VENDOR_DIR}/Psr/Clock/autoload.php",
|
||||
"${VENDOR_DIR}/Psr/Container/autoload.php",
|
||||
"${VENDOR_DIR}/Psr/SimpleCache/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Component/Clock/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Component/DeprecationContracts/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Polyfill/Mbstring/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Polyfill/Php83/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Polyfill/Php84/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Polyfill/Php85/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Component/Translation/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Contracts/Translation/autoload.php",
|
||||
"${VENDOR_DIR}/voku/autoload.php",
|
||||
"${VENDOR_DIR}/Webpatser/Uuid/autoload.php"
|
||||
]);
|
||||
EOF
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Webpatser/LaravelUuid"
|
||||
doins -r *.php src src/* tests
|
||||
}
|
||||
Reference in New Issue
Block a user