diff options
author | Brian Evans <grknight@gentoo.org> | 2021-02-25 14:18:20 -0500 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2021-02-25 14:18:20 -0500 |
commit | 1f8e333eff824929885eecb76df2e3c91e80575b (patch) | |
tree | 721ac7feb7897ea888577b8212ed763ab9006276 /dev-php | |
parent | dev-php/PHP_CodeCoverage: Drop old version (diff) | |
download | gentoo-1f8e333eff824929885eecb76df2e3c91e80575b.tar.gz gentoo-1f8e333eff824929885eecb76df2e3c91e80575b.tar.bz2 gentoo-1f8e333eff824929885eecb76df2e3c91e80575b.zip |
dev-php/PHP_TokenStream: Drop old
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'dev-php')
-rw-r--r-- | dev-php/PHP_TokenStream/Manifest | 1 | ||||
-rw-r--r-- | dev-php/PHP_TokenStream/PHP_TokenStream-1.4.11-r1.ebuild | 33 | ||||
-rw-r--r-- | dev-php/PHP_TokenStream/files/autoload.php | 15 |
3 files changed, 0 insertions, 49 deletions
diff --git a/dev-php/PHP_TokenStream/Manifest b/dev-php/PHP_TokenStream/Manifest index 0e598da5b997..7dac5c3741ca 100644 --- a/dev-php/PHP_TokenStream/Manifest +++ b/dev-php/PHP_TokenStream/Manifest @@ -1,2 +1 @@ -DIST PHP_TokenStream-1.4.11.tar.gz 13388 BLAKE2B 20ef9907ce660e2958ffd50f588ead563efa04c9fc4adda4a823830000f73ee7a4c988adc79d14e549c4f02836b7128aa42b01b26996a090595d34a191282b67 SHA512 4e8d8d1eb16169d46b64a43d91f3066d49fe8e3f184d90c5c7cf4234ebfe4eac271a811744b201f05dc86976b3c5b8ad4ae9f2532165a3849980663f1ac5852e DIST PHP_TokenStream-3.1.1.tar.gz 14275 BLAKE2B 5300768f79cba17a08f55a58a05744eef55df00fc0f0144612bddd3ba5d0494fe19bd5b74d56b57d345f5d98b63033aa05e6d157c0979be163e51dc7cc5ad19f SHA512 3a1e36d13b8d77d6fe7d1617fc43a8d59b68af6ee6182afdecf5c970c844f7cb63f3056ce7f6aaae17237b948c5ff9862438d823c2eda179e24c1bb4fc4f4e02 diff --git a/dev-php/PHP_TokenStream/PHP_TokenStream-1.4.11-r1.ebuild b/dev-php/PHP_TokenStream/PHP_TokenStream-1.4.11-r1.ebuild deleted file mode 100644 index 931b95aed14d..000000000000 --- a/dev-php/PHP_TokenStream/PHP_TokenStream-1.4.11-r1.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PN="php-token-stream" - -DESCRIPTION="Wrapper around PHP's tokenizer extension" -HOMEPAGE="https://phpunit.de" -SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 sparc x86" -IUSE="" - -S="${WORKDIR}/${MY_PN}-${PV}" - -RDEPEND="dev-php/fedora-autoloader - || ( - dev-lang/php:7.2[tokenizer(-)] - )" - -src_install() { - insinto /usr/share/php/PHP/Token - doins -r src/* - doins "${FILESDIR}/autoload.php" -} - -pkg_postinst() { - ewarn "This library now loads via /usr/share/php/PHP/Token/autoload.php" - ewarn "Please update any scripts to require the autoloader" -} diff --git a/dev-php/PHP_TokenStream/files/autoload.php b/dev-php/PHP_TokenStream/files/autoload.php deleted file mode 100644 index 5b3aac57ec17..000000000000 --- a/dev-php/PHP_TokenStream/files/autoload.php +++ /dev/null @@ -1,15 +0,0 @@ -<?php -/* Autoloader for dev-php/PHP_TokenStream */ - -if (!class_exists('Fedora\\Autoloader\\Autoload', false)) { - require_once '/usr/share/php/Fedora/Autoloader/autoload.php'; -} - -\Fedora\Autoloader\Autoload::addClassMap( - array( - 'php_token' => '/Token.php', - 'php_token_stream' => '/Token/Stream.php', - 'php_token_stream_cachingfactory' => '/Token/Stream/CachingFactory.php', - ), - __DIR__ -); |