dev-php/PHP_TokenStream: Drop old

Signed-off-by: Brian Evans <grknight@gentoo.org>
This commit is contained in:
Brian Evans
2021-02-25 14:18:20 -05:00
parent fd085f94af
commit 1f8e333eff
3 changed files with 0 additions and 49 deletions

View File

@@ -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

View File

@@ -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"
}

View File

@@ -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__
);