diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-php/php-redmine-api | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-php/php-redmine-api')
-rw-r--r-- | dev-php/php-redmine-api/Manifest | 1 | ||||
-rw-r--r-- | dev-php/php-redmine-api/metadata.xml | 12 | ||||
-rw-r--r-- | dev-php/php-redmine-api/php-redmine-api-1.5.2.ebuild | 35 |
3 files changed, 48 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..85edf3d2398e --- /dev/null +++ b/dev-php/php-redmine-api/Manifest @@ -0,0 +1 @@ +DIST php-redmine-api-1.5.2.tar.gz 31126 SHA256 466a83703997793b0bc783c0b61aa83824c690e233a5278db2b9e7bd31108a43 SHA512 cf39a154edc3994d380901ef20f6d1f26dc948a45664c819fd98225d86e6aef440518fa70896ca72149ed7ed2a163df856f33f6e9b3b36858573f118b22f10e5 WHIRLPOOL afe4eba58769ab17e18f321bea887e45e1853343afa125c67b79c260e4875841cc321e541e54fcd73541f1c56ae14c2cbffa67834965ce25ac8fc948f94575bd diff --git a/dev-php/php-redmine-api/metadata.xml b/dev-php/php-redmine-api/metadata.xml new file mode 100644 index 000000000000..217c69cfd5ed --- /dev/null +++ b/dev-php/php-redmine-api/metadata.xml @@ -0,0 +1,12 @@ +<?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> + <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.2.ebuild b/dev-php/php-redmine-api/php-redmine-api-1.5.2.ebuild new file mode 100644 index 000000000000..4fa2a8c1298c --- /dev/null +++ b/dev-php/php-redmine-api/php-redmine-api-1.5.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 -> ${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." +} |