1 |
commit: 0918216ec5f9ecf845c0c8f5ef52dc6fe7e4fe75 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 27 09:06:00 2019 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 27 09:06:35 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0918216e |
7 |
|
8 |
dev-php/theseer-tokenizer: bump to v1.1.3 |
9 |
|
10 |
Package-Manager: Portage-2.3.79, Repoman-2.3.18 |
11 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
12 |
|
13 |
dev-php/theseer-tokenizer/Manifest | 1 + |
14 |
.../theseer-tokenizer-1.1.3.ebuild | 36 ++++++++++++++++++++++ |
15 |
2 files changed, 37 insertions(+) |
16 |
|
17 |
diff --git a/dev-php/theseer-tokenizer/Manifest b/dev-php/theseer-tokenizer/Manifest |
18 |
index f9a07ea9687..e15e922ad4c 100644 |
19 |
--- a/dev-php/theseer-tokenizer/Manifest |
20 |
+++ b/dev-php/theseer-tokenizer/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST theseer-tokenizer-1.1.0.tar.gz 10163 BLAKE2B b2360f901d60f784db2045912707a8e293a55967d60d4e72168a1c4b0c9a2d5bdb739fbed9bfec02075476e7bf6762eb1cc7e36870b84fcc341b609527579ca2 SHA512 8b500565dc0d6c8513db3aa72a7ee1fa04510a712ce9b0977feccddc6b2dae53825e39182d43508e196f326776115789e81697116418f6f9f63d08f0c05d0543 |
23 |
+DIST theseer-tokenizer-1.1.3.tar.gz 10553 BLAKE2B 4bed1623abe110cec432a97fbd28752618420a188b450c935c77b5771d6986be9a51c8f100fd81a89d892b0c1e2b46b0124e3c35e3cbe2138eee2d520c74933a SHA512 e29fd41b311bac8021f4c0593d79a9c1bde4b6ccf4774e94d27a0e8a97bac3844109f9312c4aab6e239365630394b602b56a084c291dc13fb439dc8ac22944e3 |
24 |
|
25 |
diff --git a/dev-php/theseer-tokenizer/theseer-tokenizer-1.1.3.ebuild b/dev-php/theseer-tokenizer/theseer-tokenizer-1.1.3.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..5e52b63d58a |
28 |
--- /dev/null |
29 |
+++ b/dev-php/theseer-tokenizer/theseer-tokenizer-1.1.3.ebuild |
30 |
@@ -0,0 +1,36 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+DESCRIPTION="Convert tokenized PHP source code into XML and other formats" |
37 |
+HOMEPAGE="https://github.com/theseer/tokenizer" |
38 |
+SRC_URI="https://github.com/theseer/tokenizer/archive/${PV}.tar.gz -> ${P}.tar.gz" |
39 |
+ |
40 |
+LICENSE="BSD" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
43 |
+IUSE="test" |
44 |
+RESTRICT="!test? ( test )" |
45 |
+ |
46 |
+S="${WORKDIR}/tokenizer-${PV}" |
47 |
+ |
48 |
+RDEPEND="dev-php/fedora-autoloader |
49 |
+ >=dev-lang/php-7.0:*[tokenizer,xmlwriter]" |
50 |
+ |
51 |
+DEPEND="test? ( ${RDEPEND} dev-php/phpunit )" |
52 |
+ |
53 |
+src_prepare() { |
54 |
+ cp "${FILESDIR}/autoload.php" src/ || die |
55 |
+ default |
56 |
+} |
57 |
+ |
58 |
+src_install() { |
59 |
+ insinto /usr/share/php/TheSeer/Tokenizer |
60 |
+ doins src/*.php |
61 |
+ dodoc README.md |
62 |
+} |
63 |
+ |
64 |
+src_test() { |
65 |
+ phpunit || die "Unit testing failed!" |
66 |
+} |