1 |
commit: 50c583039a8babbf5adfd0c7bf09684cfa507d48 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 2 14:11:45 2016 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 2 14:12:48 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50c58303 |
7 |
|
8 |
dev-php/php-redmine-api: add version 1.5.6. |
9 |
|
10 |
Package-Manager: portage-2.2.24 |
11 |
|
12 |
dev-php/php-redmine-api/Manifest | 1 + |
13 |
.../php-redmine-api/php-redmine-api-1.5.6.ebuild | 35 ++++++++++++++++++++++ |
14 |
2 files changed, 36 insertions(+) |
15 |
|
16 |
diff --git a/dev-php/php-redmine-api/Manifest b/dev-php/php-redmine-api/Manifest |
17 |
index 85edf3d..1e86064 100644 |
18 |
--- a/dev-php/php-redmine-api/Manifest |
19 |
+++ b/dev-php/php-redmine-api/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST php-redmine-api-1.5.2.tar.gz 31126 SHA256 466a83703997793b0bc783c0b61aa83824c690e233a5278db2b9e7bd31108a43 SHA512 cf39a154edc3994d380901ef20f6d1f26dc948a45664c819fd98225d86e6aef440518fa70896ca72149ed7ed2a163df856f33f6e9b3b36858573f118b22f10e5 WHIRLPOOL afe4eba58769ab17e18f321bea887e45e1853343afa125c67b79c260e4875841cc321e541e54fcd73541f1c56ae14c2cbffa67834965ce25ac8fc948f94575bd |
22 |
+DIST php-redmine-api-1.5.6.tar.gz 36400 SHA256 1dddbc1ead5c9d26659ba205847be258d4697ff4f5d80a9c6d6310c37bc9b63b SHA512 3f2990d46d5ee8529b21d119489d9431a303f61c7126303f794b489d92d0ccf2e24cad321e7040dade5ab956d696f84084a89ce391ea4fb39cf137c103a93ad9 WHIRLPOOL 37943c104bc2f84f61bef7f0b9d3880079d1521724dfc0f1634dcef48d37076ca95029f9fc4f3909d6c78d21c707d4505f4ece64c8d9697c83b7d08dc23dd865 |
23 |
|
24 |
diff --git a/dev-php/php-redmine-api/php-redmine-api-1.5.6.ebuild b/dev-php/php-redmine-api/php-redmine-api-1.5.6.ebuild |
25 |
new file mode 100644 |
26 |
index 0000000..fda65b2 |
27 |
--- /dev/null |
28 |
+++ b/dev-php/php-redmine-api/php-redmine-api-1.5.6.ebuild |
29 |
@@ -0,0 +1,35 @@ |
30 |
+# Copyright 1999-2016 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+# $Id$ |
33 |
+ |
34 |
+EAPI=5 |
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 |
+DEPEND="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 |
+} |