Added a lot of PHP packages for the defunct volkszaehler ebuild
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
DIST sebastian-cli-parser-4.2.0.tar.gz 5459 BLAKE2B 0b07cc107fe1b6daf9c5af3e6f5ef2b7314cdd02ea1dc87169a85b9b3b5cd41701123ccfe3a1c803a8fdfcd11ace7281aa00cb98b248d94cd8659cc87ce90d00 SHA512 909fff290115d2b85d4436ecd3a07e61cbd3ffc81b371a704bfe5503e2a93693497099f37bc2ef29defce51c8b69dd90cbda1d4278f2a7fd085f332b23282805
|
||||
EBUILD sebastian-cli-parser-4.2.0.ebuild 1160 BLAKE2B c5f4b5b3949ac4c25605bed420dc6d614b5c217d65828c0030aac2ce7254e160344a3c9024ef0453b2a68b0e07357c1b7f17b069c369278a546fdf7300a672d2 SHA512 5347e6ea5771ddee65566f24c43b92c95231437537ed3f3537abb443f72aff18ae5c43f2c244624bc393b03567aebfab6974a3e932077b0565cfe248a9708d35
|
||||
EBUILD sebastian-cli-parser-9999.ebuild 845 BLAKE2B 6e9c29214b0e04efa1a0b6dd5cd176decae2cdbc9c34a50c816ea989ef63af26fcd1bce38c82db5aea95c83165ff5bd3efb7bceb590d67cf5c75c12bedf3145b SHA512 bd8fc88f4e76fbab19f202f0e5c31b6b217fc6ced30c03b805f7440df2bbf4712be10df7b44ac2c23aa4a70b6a1672e0fff88c9fd422cb37716ea20d82bf51ac
|
||||
MISC metadata.xml 630 BLAKE2B a045da993dbe0711592bd58309296162fd5bf6ce2239c0cb4c1b1f56eea6f639f6cdb5275dd3a7208f79243765bc316f3e195ee89dd89b643360631bd6a1adfe SHA512 bc7a6fe55f2015e3f8447911e472313c425c9d1bc2772e6d2ef7916e0d18e8884cb328b5d7221949036e105fe298af58ea3d4288e728d3a6b73d954752f1ea69
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>spiderx@spiderx.dp.ua</email>
|
||||
<name>Vladimir Pavljuchenkov</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
This package provides a library for parsing CLI options, i.e.
|
||||
SERVER['argv'], extracted from phpunit package.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">sebastianbergmann/cli-parser</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
MY_PN="${PN//sebastian-/}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Library for parsing CLI options"
|
||||
HOMEPAGE="https://github.com/sebastianbergmann/cli-parser"
|
||||
SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="test"
|
||||
PROPERTIES="test_network"
|
||||
|
||||
RDEPEND="dev-lang/php:*
|
||||
dev-php/fedora-autoloader"
|
||||
BDEPEND="dev-php/theseer-Autoload
|
||||
test? ( dev-php/composer
|
||||
dev-php/phpunit )"
|
||||
|
||||
DOCS=( {ChangeLog,README}.md )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
phpab -q -o src/autoload.php -t fedora2 src || die "phpab failed"
|
||||
install -D -m 644 /dev/null \
|
||||
vendor/autoload.php || die "install failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
composer require -d "${T}" --prefer-source \
|
||||
--dev "${PN/-/\/}:${PV}" || die "composer failed"
|
||||
cp -r "${T}"/vendor/"${PN/-/\/}"/{phpunit.xml,tests} "${S}" \
|
||||
|| die "cp failed"
|
||||
phpunit --testdox || die "phpunit failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
insinto /usr/share/php/SebastianBergmann/CliParser
|
||||
doins -r src/.
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit git-r3
|
||||
|
||||
DESCRIPTION="Library for parsing CLI options"
|
||||
HOMEPAGE="https://github.com/sebastianbergmann/cli-parser"
|
||||
EGIT_REPO_URI="https://github.com/sebastianbergmann/cli-parser.git"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-lang/php:*
|
||||
dev-php/fedora-autoloader"
|
||||
BDEPEND="dev-php/theseer-Autoload
|
||||
test? ( dev-php/phpunit )"
|
||||
|
||||
DOCS=( {ChangeLog,README}.md )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
phpab -q -o src/autoload.php -t fedora2 src || die "phpab failed"
|
||||
install -D -m 644 /dev/null \
|
||||
vendor/autoload.php || die "install failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
phpunit --testdox || die "phpunit failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
insinto /usr/share/php/SebastianBergmann/CliParser
|
||||
doins -r src/.
|
||||
}
|
||||
Reference in New Issue
Block a user