Added a lot of PHP packages for the defunct volkszaehler ebuild
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
DIST doctrine-dbal-4.3.3.tar.gz 206450 BLAKE2B 76783cb6c7da8bb4e3fde6a86ff31394071cfd4874cb70837d527048b4afcc46a48e239ab4d1395bdd1c7d0dfd1e2e9f18b46e66f446df3b28db4de3d1e6e30b SHA512 cacf633f80557524d075e3642db225c323a126b01ea535cd49a3a9cb0086aafba1d9d5ea1b4cba889aeb003d486d04cfe66e354e7971df9a98f0d7b4111ca22b
|
||||
EBUILD doctrine-dbal-4.3.3.ebuild 1196 BLAKE2B 63fe72794b7f09a5278831c11727c1ed5ccdb9b586da86298b4e1b0e858a638b4adb963f9376d42ce497473acd60bd5ed22bf586af6bad5131d53c100a77caca SHA512 035bae5d95973dd1c9b2ee64127ad4cd91e0f99d2def9fdcf5924f3a9397672c855ee314880c5dbb622d4c27a6d661a6d3caf3e98e820b29ed9fea00782bd9cc
|
||||
MISC metadata.xml 222 BLAKE2B 2a80ec8664ecb8265cb45f32212e5c9b37b055824aeedee4fb8c2ced6e3fff6bda0b9b3954c82eb59bad5034cd1f5f6a4dffe89574ed3393a8900be31f2b8206 SHA512 329955b8cf7b3495df5c9e6c010b5ee42f5fb8c2480114431ed072bf49d737acadcaa46fb3c5fbb7d05e662a91878c8590103746ae9487ced46689652850f71a
|
||||
@@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management."
|
||||
HOMEPAGE="https://github.com/doctrine/dbal"
|
||||
SRC_URI="https://github.com/doctrine/dbal/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/dbal-${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/doctrine-deprecations
|
||||
dev-php/psr-cache
|
||||
dev-php/psr-log
|
||||
"
|
||||
|
||||
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/Deprecations/autoload.php",
|
||||
"${VENDOR_DIR}/Psr/Cache/autoload.php",
|
||||
"${VENDOR_DIR}/Psr/Log/autoload.php"
|
||||
]);
|
||||
EOF
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Doctrine/DBAL"
|
||||
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/dbal</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user