Added a lot of PHP packages for the defunct volkszaehler ebuild
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
DIST doctrine-orm-3.5.2.tar.gz 354917 BLAKE2B b87eb4f33647f9dea18054f2889b3ea7fcf20e5024fbbbd062d8ba2e5934296b408f345e73dc04ac5f8c0074bd0424b89ae71f2a1f0185c2697b3157cb6e99c9 SHA512 ddb9e81fc9293af6f5d35b3ef04c839eadce342f31d6887e2409cc1158c1c20f39818aa0c7c7c6c025a1f1bd9816163f66da460876f5bb3bd63612b989b33ca2
|
||||
EBUILD doctrine-orm-3.5.2.ebuild 2371 BLAKE2B e0ff69e3d4faae95c68205a2023deb823637e71e61967b9493aa22108d37fb2413655876e3c142fc1ae7a97a801e6c303a0537d3fa19fd62a288329e73e939e5 SHA512 04b5e7b04635886d8b382f67fd0eac45a63648422a860ff3c321dab0c53b1490a883b7845ef25eb307e8916dd75168bd8e5ba42fb022784c71e0ea660759bff8
|
||||
MISC metadata.xml 221 BLAKE2B 16688121333584524559e89f69449d4180b5a3ac2f1f88de75099fce6ab16d18d2dde00c5bce9a4481812e53bf1975fd49399c542e733c09bd3308c1d7f54ff5 SHA512 9e4ef57b5a8e7ee914d4e5b88073596507b3f166248be13ae71f0ded4fe4971f29b94a8f10130efb8db3aaf2996100e97f708a99f9bee5db636c0c4a7cadc768
|
||||
@@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Object-Relational-Mapper for PHP"
|
||||
HOMEPAGE="https://github.com/doctrine/orm"
|
||||
SRC_URI="https://github.com/doctrine/orm/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/orm-${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/composer-runtime-api
|
||||
dev-php/doctrine-collections
|
||||
dev-php/doctrine-dbal
|
||||
dev-php/doctrine-deprecations
|
||||
dev-php/doctrine-event-manager
|
||||
dev-php/doctrine-inflector
|
||||
dev-php/doctrine-instantiator
|
||||
dev-php/doctrine-lexer
|
||||
dev-php/doctrine-persistence
|
||||
dev-php/psr-cache
|
||||
dev-php/symfony-console
|
||||
dev-php/symfony-var-exporter
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
phpab \
|
||||
--quiet \
|
||||
--output autoload.php \
|
||||
--template fedora2 \
|
||||
--basedir src \
|
||||
src \
|
||||
|| 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}/Doctrine/Common/Collections/autoload.php",
|
||||
"${VENDOR_DIR}/Doctrine/DBAL/autoload.php",
|
||||
"${VENDOR_DIR}/Doctrine/Deprecations/autoload.php",
|
||||
"${VENDOR_DIR}/Doctrine/Common/autoload.php",
|
||||
"${VENDOR_DIR}/Doctrine/Inflector/autoload.php",
|
||||
"${VENDOR_DIR}/Doctrine/Instantiator/autoload.php",
|
||||
"${VENDOR_DIR}/Doctrine/Common/Lexer/autoload.php",
|
||||
"${VENDOR_DIR}/Doctrine/Persistence/autoload.php",
|
||||
"${VENDOR_DIR}/Psr/Cache/autoload.php",
|
||||
"${VENDOR_DIR}/Psr/Container/autoload.php",
|
||||
"${VENDOR_DIR}/Psr/Log/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Component/Console/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Component/DeprecationContracts/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Polyfill/Ctype/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Polyfill/Intl/Grapheme/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Polyfill/Intl/Normalizer/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Polyfill/Mbstring/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Polyfill/Php84/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Contracts/Service/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Component/String/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Component/VarExporter/autoload.php"
|
||||
]);
|
||||
EOF
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Doctrine/ORM"
|
||||
doins -r *.php LICENSE src/*
|
||||
}
|
||||
@@ -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">doctrine/orm</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user