diff options
Diffstat (limited to 'dev-php/php-redmine-api')
-rw-r--r-- | dev-php/php-redmine-api/Manifest | 3 | ||||
-rw-r--r-- | dev-php/php-redmine-api/metadata.xml | 15 | ||||
-rw-r--r-- | dev-php/php-redmine-api/php-redmine-api-1.5.9.ebuild | 34 |
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-php/php-redmine-api/Manifest b/dev-php/php-redmine-api/Manifest new file mode 100644 index 000000000000..976a896de563 --- /dev/null +++ b/dev-php/php-redmine-api/Manifest @@ -0,0 +1,3 @@ +DIST php-redmine-api-1.5.9.tar.gz 36297 BLAKE2B 32c8cd500b0134afcb20e792f21585315f9635e038bca118d6ea289e2c0f91632aa5e2db2c023969cb228d592a242902a47bbef119e58560b39ba4b418854f8b SHA512 dd23dcadb27965568c3066f417edbff633eee5e804430568e60abf6b69f0fdfe36b73497984f80b055fae07cd3bb6f94264875f076b98f05327c474eb3f2ae5e +EBUILD php-redmine-api-1.5.9.ebuild 895 BLAKE2B 002086e4b38a22aba61f309aa17f2d6d3457b176030da9d28835e387964e76fb76b682887e8e75b33f88699d3b044918719333eefe0e1163eba633698caf77b8 SHA512 7aed8f5b78d51d3d6e865680ac7172e426f814de0087d2161a6fe479ba81bc7641eb580c9c6adffcc59efdfba8bde7e994cb49dfd0f1dedee3b482257c458146 +MISC metadata.xml 449 BLAKE2B 21f0010b9e04eae8ffbfd97b1f011e6eefc3a31e994e87d83133dcc71ac255eadcec04b57ff00c2a3ca9078173a08961bd46f3c6bd3cb4922f35564f25aa5c6c SHA512 6f2086e4973ea34367123c33eb9b54de38f77619ed548a2db6803634e4dba6ebb4fce03825affd26d58b204b184b0e1207316c7aba277bae7c96c7ea319c216f diff --git a/dev-php/php-redmine-api/metadata.xml b/dev-php/php-redmine-api/metadata.xml new file mode 100644 index 000000000000..cd1ae1186934 --- /dev/null +++ b/dev-php/php-redmine-api/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mjo@gentoo.org</email> + <name>Michael Orlitzky</name> + </maintainer> + <maintainer type="project"> + <email>php-bugs@gentoo.org</email> + <name>PHP</name> + </maintainer> + <upstream> + <remote-id type="github">kbsali/php-redmine-api</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-php/php-redmine-api/php-redmine-api-1.5.9.ebuild b/dev-php/php-redmine-api/php-redmine-api-1.5.9.ebuild new file mode 100644 index 000000000000..d17187da48ac --- /dev/null +++ b/dev-php/php-redmine-api/php-redmine-api-1.5.9.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="A simple, object-oriented, PHP Redmine API client" +HOMEPAGE="https://github.com/kbsali/${PN}" +SRC_URI="https://github.com/kbsali/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="test" + +RDEPEND="dev-lang/php:*[curl,json,simplexml]" +DEPEND="test? ( ${RDEPEND} >=dev-php/phpunit-4 )" + +src_install() { + insinto "/usr/share/php/${PN}" + doins -r lib + + dodoc example.php README.markdown +} + +src_test() { + phpunit || die "test suite failed" +} + +pkg_postinst() { + elog "${PN} has been installed in /usr/share/php/${PN}/." + elog "To use it in a script, require('${PN}/lib/autoload.php'), and then" + elog "use the Redmine\\Client class normally. Most of the examples in the" + elog "documentation should work without modification." +} |