summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2015-01-28 08:27:18 +0000
committerIan Delaney <idella4@gentoo.org>2015-01-28 08:27:18 +0000
commit4aa20c66b69413da186d2b0095d4b8226d08ae66 (patch)
tree885219af3c0fd6f6c6d13f5311c36b5975275039 /dev-python/jenkinsapi
parentUpdate HOMEPAGE and SRC_URI. #532456 (diff)
downloadgentoo-2-4aa20c66b69413da186d2b0095d4b8226d08ae66.tar.gz
gentoo-2-4aa20c66b69413da186d2b0095d4b8226d08ae66.tar.bz2
gentoo-2-4aa20c66b69413da186d2b0095d4b8226d08ae66.zip
new ebuild, written by maintainer, entered under proxy-maintainers herd, fully tested and shored up to see test phase working fully, closes bug #537346
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/jenkinsapi')
-rw-r--r--dev-python/jenkinsapi/ChangeLog10
-rw-r--r--dev-python/jenkinsapi/Manifest4
-rw-r--r--dev-python/jenkinsapi/files/local_jenkins_war.patch12
-rw-r--r--dev-python/jenkinsapi/jenkinsapi-0.2.26.ebuild37
-rw-r--r--dev-python/jenkinsapi/metadata.xml13
5 files changed, 76 insertions, 0 deletions
diff --git a/dev-python/jenkinsapi/ChangeLog b/dev-python/jenkinsapi/ChangeLog
new file mode 100644
index 000000000000..535057727180
--- /dev/null
+++ b/dev-python/jenkinsapi/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/jenkinsapi
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/jenkinsapi/ChangeLog,v 1.1 2015/01/28 08:27:18 idella4 Exp $
+
+*jenkinsapi-0.2.26 (28 Jan 2015)
+
+ 28 Jan 2015; Ian Delaney <idella4@gentoo.org> +files/local_jenkins_war.patch,
+ +jenkinsapi-0.2.26.ebuild, +metadata.xml:
+ new ebuild, written by maintainer, entered under proxy-maintainers herd, fully
+ tested and shored up to see test phase working fully, closes bug #537346
diff --git a/dev-python/jenkinsapi/Manifest b/dev-python/jenkinsapi/Manifest
new file mode 100644
index 000000000000..d16aa6daf8ac
--- /dev/null
+++ b/dev-python/jenkinsapi/Manifest
@@ -0,0 +1,4 @@
+AUX local_jenkins_war.patch 565 SHA256 cdfa4f1ba3c1581a994a359692f6f4453606a7688395d76cb6adbc019686aadd SHA512 80a191e858d4ba63fa11421ddbb87d8979630e894e4c162e986f82d59faf09b9b8e305d7fbf51299f93b3c69b7be39dabb7bca6eb2af3278ec9d4cbf08dee2a9 WHIRLPOOL 4ee8c8d09129f06f66adb0a6d1518c9a4333e59a0971301c3af716cd3f31af74ce9646210d3a62174c21a9818b9ff22a3b86e63f486c53b7e75c427d4bb68c28
+DIST jenkinsapi-0.2.26.tar.gz 76598 SHA256 68118e5abad7e5cd4191e1b20b08a950e5e563e816e3ba25e2f4ed994ba945f2 SHA512 5c04450bd285e2f576bcdd933ec8bd9df840f3fdcae9999305f96ea3f2e85bced4dfc5f961c763cd9137c2bfc2c9b79e032dc451978b6fc04a2fe8cb6e98d030 WHIRLPOOL 025d6c8cee081068d77350b7ffd6e03441dc2758be6b761d6ef6f00007c99ac41032ce3e1be3cf01496f6e59913e8b2f7a22ab9d66d5a8aeeca5c24922d4175b
+EBUILD jenkinsapi-0.2.26.ebuild 1008 SHA256 dc2950f3e52c78d40ee3e7c652b55ebc28a3a944a8251206948d5bbe46fb9eb5 SHA512 7126653e4e536ef179c98a55ed94767a80551615c7dfd045753c551d11ecf05e937247fda819e4ad2cda6dce88c6b4caba3f51223afe183fee5078dae82a1c25 WHIRLPOOL 78d8b889eb9d75771e1f1d78bc684c95db43d96b2ee451c36605ca56ad757219319eae6d814815aea3684ae3be0c142c238d835a62254683cf25e4e27cc6aafd
+MISC metadata.xml 484 SHA256 2aedc899c916031154a0e6dc266efbde6f2f7bd35cdddefe7b0325c8083228dd SHA512 9bb4f6fe7c76d2385780cd2f9131eb07d7aa560b3827ff1db39974f2cc265753be1e7a64d20259f7f60a224198871b7cfcf8f7374da5c537a199e4e5a38d22fd WHIRLPOOL ae032948e78c5d09d09329f1ef681046c04b98f17ae1bd11670a810bd7a8604ee0591092e921544cdbb4076f50431b8bf3d0bcc16231bec60784d3ea0dc7b0ab
diff --git a/dev-python/jenkinsapi/files/local_jenkins_war.patch b/dev-python/jenkinsapi/files/local_jenkins_war.patch
new file mode 100644
index 000000000000..811ca4cb9c22
--- /dev/null
+++ b/dev-python/jenkinsapi/files/local_jenkins_war.patch
@@ -0,0 +1,12 @@
+--- a/jenkinsapi_tests/systests/__init__.py 2015-01-27 14:14:43.632779039 +0100
++++ b/jenkinsapi_tests/systests/__init__.py 2015-01-27 15:08:52.521438293 +0100
+@@ -11,7 +11,7 @@
+
+ def setUpPackage():
+ systests_dir, _ = os.path.split(__file__)
+- war_path = os.path.join(systests_dir, 'jenkins.war')
++ war_path = os.path.join('/opt/jenkins', 'jenkins.war')
+ state['launcher'] = JenkinsLancher(war_path, PLUGIN_DEPENDENCIES,
+ jenkins_url=os.getenv('JENKINS_URL', None))
+ state['launcher'].start()
+
diff --git a/dev-python/jenkinsapi/jenkinsapi-0.2.26.ebuild b/dev-python/jenkinsapi/jenkinsapi-0.2.26.ebuild
new file mode 100644
index 000000000000..9ef360eaec96
--- /dev/null
+++ b/dev-python/jenkinsapi/jenkinsapi-0.2.26.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/jenkinsapi/jenkinsapi-0.2.26.ebuild,v 1.1 2015/01/28 08:27:18 idella4 Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="API to access resources on a Jenkins continuous-integration server"
+HOMEPAGE="https://github.com/salimfadhley/jenkinsapi"
+SRC_URI="https://github.com/salimfadhley/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND=">=dev-python/pytz-2014.4[${PYTHON_USEDEP}]
+ >=dev-python/requests-2.3.0[${PYTHON_USEDEP}]"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( ${RDEPEND}
+ dev-util/jenkins-bin
+ $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/coverage[${PYTHON_USEDEP}]
+ dev-python/unittest2[${PYTHON_USEDEP}]
+ )"
+
+# use jenkins.war from jenkins-bin instead of downloading
+PATCHES=( "${FILESDIR}"/local_jenkins_war.patch )
+
+python_test() {
+ esetup.py test
+}
diff --git a/dev-python/jenkinsapi/metadata.xml b/dev-python/jenkinsapi/metadata.xml
new file mode 100644
index 000000000000..afb20f53f1aa
--- /dev/null
+++ b/dev-python/jenkinsapi/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>proxy-maintainers</herd>
+ <maintainer>
+ <email>idella4@gentoo.org</email>
+ </maintainer>
+ <maintainer>
+ <email>hydrapolic@gmail.com</email>
+ <name>Tomas Mozes</name>
+ <description>Proxy maintainer and target for all bugs</description>
+ </maintainer>
+</pkgmetadata>