summaryrefslogtreecommitdiff
path: root/dev-php/php-redmine-api
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-php/php-redmine-api
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-php/php-redmine-api')
-rw-r--r--dev-php/php-redmine-api/Manifest5
-rw-r--r--dev-php/php-redmine-api/metadata.xml15
-rw-r--r--dev-php/php-redmine-api/php-redmine-api-1.5.9.ebuild34
3 files changed, 54 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..1389bf1a38b9
--- /dev/null
+++ b/dev-php/php-redmine-api/Manifest
@@ -0,0 +1,5 @@
+DIST php-redmine-api-1.5.9.tar.gz 36297 SHA256 e50b1030706d5596673c925ac6c0cf6bbbef7e5e25cb7f6b287b3e4547c83e2e SHA512 dd23dcadb27965568c3066f417edbff633eee5e804430568e60abf6b69f0fdfe36b73497984f80b055fae07cd3bb6f94264875f076b98f05327c474eb3f2ae5e WHIRLPOOL 767e5e30303be1fe69bb75fa1f76d3616b59953f890a66238a8f030317ea2792f26441bbc4c667dd0627cacdc0608a8143e64149e2a3bed23749ecf245711f6f
+EBUILD php-redmine-api-1.5.9.ebuild 895 SHA256 f9ec9d48b061c463c9fe161b3c830da66040b722d3df1896c0fabadd00d964cf SHA512 7aed8f5b78d51d3d6e865680ac7172e426f814de0087d2161a6fe479ba81bc7641eb580c9c6adffcc59efdfba8bde7e994cb49dfd0f1dedee3b482257c458146 WHIRLPOOL d07b972ca1d41bec9a5e894e2a073e612b736f471517872b91ea225b23a8369c379e68fcc6b1825831ae7bdc832c84ce06f02070427425c3ab43d11680c79dec
+MISC ChangeLog 3780 SHA256 509802918869080c0c36442e473c788e16b168a5845355747dedf849b3c6086d SHA512 4177b93ebe59df9bb82cc84660a72984ae4e967be3f5e090c93706be888ae305d13e732d71e1478d8f1bc4f1adbe090e8e3b127996b09a548106bb8a54a95356 WHIRLPOOL ee84adea61d96e0068b0282719eaaeb9df95f5d7b95d7b2510462694acf6deeb0d41013eb6bf0f0b3b5b18ba4f88333be75f24bc8f45fddf3042cfc56530a28c
+MISC ChangeLog-2015 1020 SHA256 a203710949573a70d1e646559d4d8f6a4424a44737a2d1b532323c1db07f5b7b SHA512 aee5bf2e818b89f6bbb7162626294abe06c79f41c6ce01315c4e60eaaa71d2bde31c4c16760d2522dbafdcd34b22b10b93c5ec53c1a35ef3a3cb9b08b798d960 WHIRLPOOL 87685d60d845d07c87e515244cfa85924966f7c7ce3fb37eb46f1db302e5d280cb3dddb99b98c3ed3aecc5a9767118151fac302f90fe1276b0d729d414f415e1
+MISC metadata.xml 449 SHA256 f611444ee5504df6f45ae754f3347e1cca6256f5e22828188468bcac90fc615a SHA512 6f2086e4973ea34367123c33eb9b54de38f77619ed548a2db6803634e4dba6ebb4fce03825affd26d58b204b184b0e1207316c7aba277bae7c96c7ea319c216f WHIRLPOOL 500f769a64645a9c85ca7e291490242af7fe35ce36627c23bcb1adcc9c866cc5bc9ac8519ab63368becb8c664acf7c57b04e8b36b707983a1eaa38d129a400c3
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."
+}