summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2014-12-30 23:07:56 +0000
committerMichael Orlitzky <mjo@gentoo.org>2014-12-30 23:07:56 +0000
commit2c387771cc59da81f8f0333e0e28ace38b1e66e8 (patch)
tree11721104194792f70c3e9cb9e7193e98b164360b
parentChangeLog (diff)
downloadgentoo-2-2c387771cc59da81f8f0333e0e28ace38b1e66e8.tar.gz
gentoo-2-2c387771cc59da81f8f0333e0e28ace38b1e66e8.tar.bz2
gentoo-2-2c387771cc59da81f8f0333e0e28ace38b1e66e8.zip
New package dev-php/php-redmine-api, a simple object-oriented PHP Redmine API client.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x6F48D3DA05C2DADB!)
-rw-r--r--dev-php/php-redmine-api/ChangeLog10
-rw-r--r--dev-php/php-redmine-api/metadata.xml9
-rw-r--r--dev-php/php-redmine-api/php-redmine-api-1.5.2.ebuild35
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-php/php-redmine-api/ChangeLog b/dev-php/php-redmine-api/ChangeLog
new file mode 100644
index 000000000000..bc488525ae59
--- /dev/null
+++ b/dev-php/php-redmine-api/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-php/php-redmine-api
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/php-redmine-api/ChangeLog,v 1.1 2014/12/30 23:07:56 mjo Exp $
+
+*php-redmine-api-1.5.2 (30 Dec 2014)
+
+ 30 Dec 2014; Michael Orlitzky <mjo@gentoo.org> +metadata.xml,
+ +php-redmine-api-1.5.2.ebuild:
+ New package dev-php/php-redmine-api, a simple object-oriented PHP Redmine API
+ client.
diff --git a/dev-php/php-redmine-api/metadata.xml b/dev-php/php-redmine-api/metadata.xml
new file mode 100644
index 000000000000..b04ba661d413
--- /dev/null
+++ b/dev-php/php-redmine-api/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>php</herd>
+ <maintainer>
+ <email>mjo@gentoo.org</email>
+ <name>Michael Orlitzky</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-php/php-redmine-api/php-redmine-api-1.5.2.ebuild b/dev-php/php-redmine-api/php-redmine-api-1.5.2.ebuild
new file mode 100644
index 000000000000..b0581d5b599f
--- /dev/null
+++ b/dev-php/php-redmine-api/php-redmine-api-1.5.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/php-redmine-api/php-redmine-api-1.5.2.ebuild,v 1.1 2014/12/30 23:07:56 mjo Exp $
+
+EAPI=5
+
+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"
+
+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."
+}