summaryrefslogtreecommitdiff
path: root/dev-php/PEAR-Image_Color2/PEAR-Image_Color2-0.1.5-r1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
commit1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch)
treee48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-php/PEAR-Image_Color2/PEAR-Image_Color2-0.1.5-r1.ebuild
parentd87262dd706fec50cd150aab3e93883b6337466d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-php/PEAR-Image_Color2/PEAR-Image_Color2-0.1.5-r1.ebuild')
-rw-r--r--dev-php/PEAR-Image_Color2/PEAR-Image_Color2-0.1.5-r1.ebuild28
1 files changed, 0 insertions, 28 deletions
diff --git a/dev-php/PEAR-Image_Color2/PEAR-Image_Color2-0.1.5-r1.ebuild b/dev-php/PEAR-Image_Color2/PEAR-Image_Color2-0.1.5-r1.ebuild
deleted file mode 100644
index 657a45b11c2a..000000000000
--- a/dev-php/PEAR-Image_Color2/PEAR-Image_Color2-0.1.5-r1.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit php-pear-r2
-
-DESCRIPTION="Color conversion and mixing for PHP5"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-DEPEND="test? ( >=dev-php/phpunit-5 )"
-
-src_prepare() {
- # Modernize tests
- sed -i -e "/require_once 'PHPUnit\/Framework.php';/d" \
- -e "s/assertType('\(Image_[a-zA-Z2_]*\)',/assertInstanceOf(\1::class,/" \
- -e "s/assertType('array',/assertInternalType('array',/" \
- -e "s/assertType('string',/assertInternalType('string',/" \
- tests/*.php tests/Model/*.php || die
- default
-}
-
-src_test() {
- phpunit tests/AllTests.php || die
-}