summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2023-09-15 09:52:20 +0200
committerDavid Seifert <soap@gentoo.org>2023-09-15 09:52:20 +0200
commita015f3cf2cdf6d9cadda572bc80865558a59de9f (patch)
tree6b4ff44f4db38b760342ae0e342a4ea3a46f546a /dev-php
parentdev-php/phpunit-mock-objects: treeclean (diff)
downloadgentoo-a015f3cf2cdf6d9cadda572bc80865558a59de9f.tar.gz
gentoo-a015f3cf2cdf6d9cadda572bc80865558a59de9f.tar.bz2
gentoo-a015f3cf2cdf6d9cadda572bc80865558a59de9f.zip
dev-php/phpunit: treeclean
Closes: https://bugs.gentoo.org/715772 Closes: https://bugs.gentoo.org/759445 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/phpunit/Manifest2
-rw-r--r--dev-php/phpunit/metadata.xml12
-rw-r--r--dev-php/phpunit/phpunit-8.5.11.ebuild96
-rw-r--r--dev-php/phpunit/phpunit-8.5.14.ebuild97
4 files changed, 0 insertions, 207 deletions
diff --git a/dev-php/phpunit/Manifest b/dev-php/phpunit/Manifest
deleted file mode 100644
index 31d7859aad6e..000000000000
--- a/dev-php/phpunit/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST phpunit-8.5.11.tar.gz 159302 BLAKE2B fdf156842b3607f4cbd26194efd7eb7cb204fb1d1d078c0c6bd3bb68e520e5d748767f8aab64b7c9bf313161e3d84e08d415fbf0408c26541ec1f70cfe7af8bd SHA512 3e9db4a1d6c5bea3546b24bd837479a0114a9200f96034aabc96933dfb42c1237b03f7118f19eeb1216e32f2034c1ec8c632d20ecacbe70d3660fbbfd167ac79
-DIST phpunit-8.5.14.tar.gz 163158 BLAKE2B 8be0765b89cd7c7f91c7c8753eda9be46a38368c1b538b9e1a06b6f7e5b2cf2c37ef806338b7f4dd213962bfb8f7d749e1a97dd65d0e877fb2ffdeb747dcd344 SHA512 589cd74bf44c16ee0bb0b0e85f3468b0fdbd7e6ce968894954918094d49a0fed46570cac2fa2367f417715bf64f942f5742a292b09edd91317bbea06624ac313
diff --git a/dev-php/phpunit/metadata.xml b/dev-php/phpunit/metadata.xml
deleted file mode 100644
index 18b58c21f5a5..000000000000
--- a/dev-php/phpunit/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>php-bugs@gentoo.org</email>
- <name>PHP</name>
- </maintainer>
- <stabilize-allarches/>
- <upstream>
- <remote-id type="github">sebastianbergmann/phpunit</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/dev-php/phpunit/phpunit-8.5.11.ebuild b/dev-php/phpunit/phpunit-8.5.11.ebuild
deleted file mode 100644
index 5d87e3517972..000000000000
--- a/dev-php/phpunit/phpunit-8.5.11.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="A PHP Unit Testing framework"
-HOMEPAGE="https://phpunit.de"
-SRC_URI="https://github.com/sebastianbergmann/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 sparc x86"
-
-BDEPEND="dev-php/theseer-Autoload"
-
-RDEPEND="dev-php/fedora-autoloader
- >=dev-php/File_Iterator-2.0.2
- >=dev-php/Text_Template-1.2.1
- >=dev-php/PHP_CodeCoverage-7.0.12
- >=dev-php/PHP_Timer-2.1.2
- >=dev-php/doctrine-instantiator-1.3.1
- >=dev-php/myclabs-deepcopy-1.10.0
- >=dev-php/phar-io-manifest-1.0.3
- >=dev-php/phar-io-version-2.0.1
- >=dev-php/phpspec-prophecy-1.10.3
- >=dev-php/sebastian-comparator-3.0.2
- >=dev-php/sebastian-diff-3.0.2
- >=dev-php/sebastian-environment-4.2.3
- >=dev-php/sebastian-exporter-3.1.2
- >=dev-php/sebastian-global-state-3.0.0
- >=dev-php/sebastian-object-enumerator-3.0.3
- >=dev-php/sebastian-resource-operations-2.0.1
- >=dev-php/sebastian-type-1.1.3
- >=dev-php/sebastian-version-2.0.1
- || (
- dev-lang/php:7.4[cli(-),json(-),unicode(-),xml(-),xmlwriter(-)]
- dev-lang/php:7.3[cli(-),json(-),unicode(-),xml(-),xmlwriter(-)]
- dev-lang/php:7.2[cli(-),json(-),unicode(-),xml(-),xmlwriter(-)]
- )
- !dev-php/phpunit-mock-objects
-"
-
-src_prepare() {
- default
-
- mkdir src/vendor || die
-
- phpab \
- --output src/vendor/autoload.php \
- --template fedora2 \
- --basedir src/vendor \
- src || die
-
- cat >> src/vendor/autoload.php <<EOF || die "failed to extend autoload.php"
-
-// Dependencies
-\Fedora\Autoloader\Dependencies::required([
- __DIR__ . '/../../File/Iterator/autoload.php',
- __DIR__ . '/../../Text/Template/autoload.php',
- __DIR__ . '/../../PHP/CodeCoverage/autoload.php',
- __DIR__ . '/../../PHP/Timer/autoload.php',
- __DIR__ . '/../../phpspec/Prophecy/autoload.php',
- __DIR__ . '/../../SebastianBergmann/Diff/autoload.php', // Before comparator which may load v2
- __DIR__ . '/../../SebastianBergmann/Comparator/autoload.php',
- __DIR__ . '/../../SebastianBergmann/Environment/autoload.php',
- __DIR__ . '/../../SebastianBergmann/Exporter/autoload.php',
- __DIR__ . '/../../SebastianBergmann/GlobalState/autoload.php',
- __DIR__ . '/../../SebastianBergmann/ObjectEnumerator/autoload.php',
- __DIR__ . '/../../SebastianBergmann/ResourceOperations/autoload.php',
- __DIR__ . '/../../SebastianBergmann/Type/autoload.php',
- __DIR__ . '/../../SebastianBergmann/Version/autoload.php',
- __DIR__ . '/../../Doctrine/Instantiator/autoload.php',
- __DIR__ . '/../../myclabs/DeepCopy/autoload.php',
- __DIR__ . '/../../PharIo/Manifest/autoload.php',
- __DIR__ . '/../../PharIo/Version/autoload.php',
-]);
-EOF
-}
-
-src_install() {
- insinto /usr/share/php/PHPUnit
- doins -r src/*
-
- # referenced by PHPUnit/Util/Configuration.php
- insinto /usr/share/php/
- doins phpunit.xsd
-
- exeinto /usr/share/php/PHPUnit
- doexe phpunit
- dosym ../share/php/PHPUnit/phpunit /usr/bin/phpunit
-}
-
-pkg_postinst() {
- elog "${PN} can optionally use json, pdo-sqlite and pdo-mysql features."
- elog "If you want those, emerge dev-lang/php with USE=\"json pdo sqlite mysql\"."
-}
diff --git a/dev-php/phpunit/phpunit-8.5.14.ebuild b/dev-php/phpunit/phpunit-8.5.14.ebuild
deleted file mode 100644
index 07f0cc3a2304..000000000000
--- a/dev-php/phpunit/phpunit-8.5.14.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="A PHP Unit Testing framework"
-HOMEPAGE="https://phpunit.de"
-SRC_URI="https://github.com/sebastianbergmann/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 sparc x86"
-
-BDEPEND="dev-php/theseer-Autoload"
-
-RDEPEND="dev-php/fedora-autoloader
- >=dev-php/File_Iterator-2.0.2
- >=dev-php/Text_Template-1.2.1
- >=dev-php/PHP_CodeCoverage-7.0.12
- >=dev-php/PHP_Timer-2.1.2
- >=dev-php/doctrine-instantiator-1.3.1
- >=dev-php/myclabs-deepcopy-1.10.0
- >=dev-php/phar-io-manifest-2.0.1
- >=dev-php/phar-io-version-3.0.2
- >=dev-php/phpspec-prophecy-1.10.3
- >=dev-php/sebastian-comparator-3.0.2
- >=dev-php/sebastian-diff-3.0.2
- >=dev-php/sebastian-environment-4.2.3
- >=dev-php/sebastian-exporter-3.1.2
- >=dev-php/sebastian-global-state-3.0.0
- >=dev-php/sebastian-object-enumerator-3.0.3
- >=dev-php/sebastian-resource-operations-2.0.1
- >=dev-php/sebastian-type-1.1.3
- >=dev-php/sebastian-version-2.0.1
- || (
- dev-lang/php:8.0[cli(-),unicode(-),xml(-),xmlwriter(-)]
- dev-lang/php:7.4[cli(-),json(-),unicode(-),xml(-),xmlwriter(-)]
- dev-lang/php:7.3[cli(-),json(-),unicode(-),xml(-),xmlwriter(-)]
- dev-lang/php:7.2[cli(-),json(-),unicode(-),xml(-),xmlwriter(-)]
- )
- !dev-php/phpunit-mock-objects
-"
-
-src_prepare() {
- default
-
- mkdir src/vendor || die
-
- phpab \
- --output src/vendor/autoload.php \
- --template fedora2 \
- --basedir src/vendor \
- src || die
-
- cat >> src/vendor/autoload.php <<EOF || die "failed to extend autoload.php"
-
-// Dependencies
-\Fedora\Autoloader\Dependencies::required([
- __DIR__ . '/../../File/Iterator/autoload.php',
- __DIR__ . '/../../Text/Template/autoload.php',
- __DIR__ . '/../../PHP/CodeCoverage/autoload.php',
- __DIR__ . '/../../PHP/Timer/autoload.php',
- __DIR__ . '/../../phpspec/Prophecy/autoload.php',
- __DIR__ . '/../../SebastianBergmann/Diff/autoload.php', // Before comparator which may load v2
- __DIR__ . '/../../SebastianBergmann/Comparator/autoload.php',
- __DIR__ . '/../../SebastianBergmann/Environment/autoload.php',
- __DIR__ . '/../../SebastianBergmann/Exporter/autoload.php',
- __DIR__ . '/../../SebastianBergmann/GlobalState/autoload.php',
- __DIR__ . '/../../SebastianBergmann/ObjectEnumerator/autoload.php',
- __DIR__ . '/../../SebastianBergmann/ResourceOperations/autoload.php',
- __DIR__ . '/../../SebastianBergmann/Type/autoload.php',
- __DIR__ . '/../../SebastianBergmann/Version/autoload.php',
- __DIR__ . '/../../Doctrine/Instantiator/autoload.php',
- __DIR__ . '/../../myclabs/DeepCopy/autoload.php',
- __DIR__ . '/../../PharIo/Manifest/autoload.php',
- __DIR__ . '/../../PharIo/Version/autoload.php',
-]);
-EOF
-}
-
-src_install() {
- insinto /usr/share/php/PHPUnit
- doins -r src/*
-
- # referenced by PHPUnit/Util/Configuration.php
- insinto /usr/share/php/
- doins phpunit.xsd
-
- exeinto /usr/share/php/PHPUnit
- doexe phpunit
- dosym ../share/php/PHPUnit/phpunit /usr/bin/phpunit
-}
-
-pkg_postinst() {
- elog "${PN} can optionally use json, pdo-sqlite and pdo-mysql features."
- elog "If you want those, emerge dev-lang/php with USE=\"json pdo sqlite mysql\"."
-}