Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/php-redmine-api/
Date: Mon, 25 Feb 2019 02:02:23
Message-Id: 1551060079.8e19de7db4cafc9de8e350d858277d0f1a948672.mjo@gentoo
1 commit: 8e19de7db4cafc9de8e350d858277d0f1a948672
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 25 02:01:19 2019 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 25 02:01:19 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e19de7d
7
8 dev-php/php-redmine-api: new version 1.5.16.
9
10 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
11 Package-Manager: Portage-2.3.51, Repoman-2.3.11
12
13 dev-php/php-redmine-api/Manifest | 1 +
14 .../php-redmine-api/php-redmine-api-1.5.16.ebuild | 34 ++++++++++++++++++++++
15 2 files changed, 35 insertions(+)
16
17 diff --git a/dev-php/php-redmine-api/Manifest b/dev-php/php-redmine-api/Manifest
18 index 5664a59e717..621b8011dcf 100644
19 --- a/dev-php/php-redmine-api/Manifest
20 +++ b/dev-php/php-redmine-api/Manifest
21 @@ -1 +1,2 @@
22 +DIST php-redmine-api-1.5.16.tar.gz 34323 BLAKE2B 5879c9a67959ec8104344d1d5c57ead036fc60d3bea2ae94684617a711eae0cf9c7d6d2eae6d94c273fdc06bed82f48e281c2895e37ddef2144be8f0881c5341 SHA512 e25dbcababcde4e0b3160f7060a837aa4e52a2f3b1b91bfb131c04c250c543fc41a3667d87c8a668057d5acbfac84f395dd3180b815921fc05edb6325d34dee5
23 DIST php-redmine-api-1.5.9.tar.gz 36297 BLAKE2B 32c8cd500b0134afcb20e792f21585315f9635e038bca118d6ea289e2c0f91632aa5e2db2c023969cb228d592a242902a47bbef119e58560b39ba4b418854f8b SHA512 dd23dcadb27965568c3066f417edbff633eee5e804430568e60abf6b69f0fdfe36b73497984f80b055fae07cd3bb6f94264875f076b98f05327c474eb3f2ae5e
24
25 diff --git a/dev-php/php-redmine-api/php-redmine-api-1.5.16.ebuild b/dev-php/php-redmine-api/php-redmine-api-1.5.16.ebuild
26 new file mode 100644
27 index 00000000000..8325488aea3
28 --- /dev/null
29 +++ b/dev-php/php-redmine-api/php-redmine-api-1.5.16.ebuild
30 @@ -0,0 +1,34 @@
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="A simple, object-oriented, PHP Redmine API client"
37 +HOMEPAGE="https://github.com/kbsali/${PN}"
38 +SRC_URI="https://github.com/kbsali/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
39 +
40 +LICENSE="MIT"
41 +SLOT="0"
42 +KEYWORDS="~amd64 ~x86"
43 +IUSE="test"
44 +
45 +RDEPEND="dev-lang/php:*[curl,json,simplexml]"
46 +BDEPEND="test? ( ${RDEPEND} >=dev-php/phpunit-4 )"
47 +
48 +src_install() {
49 + insinto "/usr/share/php/${PN}"
50 + doins -r lib
51 +
52 + dodoc example.php README.markdown
53 +}
54 +
55 +src_test() {
56 + phpunit || die "test suite failed"
57 +}
58 +
59 +pkg_postinst() {
60 + elog "${PN} has been installed in /usr/share/php/${PN}/."
61 + elog "To use it in a script, require('${PN}/lib/autoload.php'), and then"
62 + elog "use the Redmine\\Client class normally. Most of the examples in the"
63 + elog "documentation should work without modification."
64 +}