diff options
| author | Brian Evans <grknight@gentoo.org> | 2021-01-21 10:38:54 -0500 |
|---|---|---|
| committer | Brian Evans <grknight@gentoo.org> | 2021-01-21 10:38:54 -0500 |
| commit | dd19e50417a602b580b4f923d910023b8a8fb62b (patch) | |
| tree | 3b7c9b115d426aff8dc3e2beed2f5659d5643727 /dev-php/jsonlint/jsonlint-1.7.1.ebuild | |
| parent | 44acc8c64476e611ecf8ede87491d2b8b148da04 (diff) | |
| download | gentoo-dd19e50417a602b580b4f923d910023b8a8fb62b.tar.gz gentoo-dd19e50417a602b580b4f923d910023b8a8fb62b.tar.bz2 gentoo-dd19e50417a602b580b4f923d910023b8a8fb62b.zip | |
dev-php/jsonlint: Drop old
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'dev-php/jsonlint/jsonlint-1.7.1.ebuild')
| -rw-r--r-- | dev-php/jsonlint/jsonlint-1.7.1.ebuild | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/dev-php/jsonlint/jsonlint-1.7.1.ebuild b/dev-php/jsonlint/jsonlint-1.7.1.ebuild deleted file mode 100644 index 4085b18b49f7..000000000000 --- a/dev-php/jsonlint/jsonlint-1.7.1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="JSON Lint for PHP" -HOMEPAGE="https://github.com/Seldaek/jsonlint" -SRC_URI="https://github.com/Seldaek/jsonlint/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="test" - -RDEPEND=" - dev-lang/php:* - dev-php/fedora-autoloader" -DEPEND=" - test? ( - ${RDEPEND} - dev-php/phpunit )" - -src_prepare() { - default - if use test; then - cp "${FILESDIR}"/autoload.php "${S}"/autoload-test.php || die - sed -i -e "s:__DIR__:'${S}/src/Seld/JsonLint':" "${S}"/autoload-test.php || die - fi -} - -src_install() { - insinto "/usr/share/php/Seld/JsonLint" - doins -r src/Seld/JsonLint/. "${FILESDIR}"/autoload.php - dodoc README.md -} - -src_test() { - phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed" -} |
