Added a lot of PHP packages for the defunct volkszaehler ebuild
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
DIST doctrine-persistence-4.1.0.tar.gz 21591 BLAKE2B bf1cd61af17bc9b2aed64002c30f691f725c28ae954bb9bbd11dc47e3d1de0a6edbe281fa3b321afb407211acf865f43f912a64dd8181099ce0a9b6482169ff6 SHA512 50964e526fa24df9721d24c242de1f90b4ccbcb922c14a8e36f5dd514f0afc9e0e6a44fb2b3dbb5a75aaac8e93c3a3535ff1acaf2caa1c364b12e0d14f8c16a4
|
||||
EBUILD doctrine-persistence-4.1.0.ebuild 1172 BLAKE2B cad2fa7e38ef166c9eb1b730ae07984d97202486e0b4ee9ff888c250cf59b246782a88174b9de041fc30fa3e8415d604f4a0f5321dc1a7eba6fc017cc9c08513 SHA512 2a31bee6fb07a36d0c4fbb461e1c1931ca841b2ad1647f36c76c8a8eb77af849bae56f770d26182a31b4ebcf9ef19c245d7818dbc7c1a9bf2aea9da8df5a5f39
|
||||
MISC metadata.xml 229 BLAKE2B f2105cd326b555bdf98329561b91138a7a75d4ade8aacf4f3181fb04f6faaabf7fc7e4092591b637c823c6e9d0d0c7ced9b340c027a7443689259e58c94a14bb SHA512 83c3ef50a0ecf942a3c7d6c0228b769a39e0d85dc8916009ffcbc7b195c1d4a16e968101aba2163633f0b119e0661a62a30f9725de7b9d3aa2d1a0193498d937
|
||||
@@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="The Doctrine Persistence project is a set of shared interfaces and functionality that the different Doctrine object mappers share."
|
||||
HOMEPAGE="https://github.com/doctrine/persistence"
|
||||
SRC_URI="https://github.com/doctrine/persistence/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/persistence-${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-event-manager
|
||||
dev-php/psr-cache
|
||||
"
|
||||
|
||||
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}/Doctrine/Common/autoload.php",
|
||||
"${VENDOR_DIR}/Psr/Cache/autoload.php"
|
||||
]);
|
||||
EOF
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Doctrine/Persistence"
|
||||
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/persistence</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user