diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2015-12-24 00:06:29 +0000 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2015-12-24 00:06:29 +0000 |
commit | 2953dfecc01f4b317133b032cc7f65d7f5f54fd1 (patch) | |
tree | f86d69bb00c87783a756b84ab16ef5a1caf26077 /dev-python | |
parent | Merge remote-tracking branch 'github/pr/515'. (diff) | |
parent | dev-python/jenkinsapi: version bump to 0.2.29 (diff) | |
download | gentoo-2953dfecc01f4b317133b032cc7f65d7f5f54fd1.tar.gz gentoo-2953dfecc01f4b317133b032cc7f65d7f5f54fd1.tar.bz2 gentoo-2953dfecc01f4b317133b032cc7f65d7f5f54fd1.zip |
Merge remote-tracking branch 'github/pr/516'.
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/jenkinsapi/Manifest | 2 | ||||
-rw-r--r-- | dev-python/jenkinsapi/jenkinsapi-0.2.29.ebuild | 45 | ||||
-rw-r--r-- | dev-python/jenkinsapi/metadata.xml | 21 |
3 files changed, 56 insertions, 12 deletions
diff --git a/dev-python/jenkinsapi/Manifest b/dev-python/jenkinsapi/Manifest index 9fcafbe1cec6..2fa2541e3c0e 100644 --- a/dev-python/jenkinsapi/Manifest +++ b/dev-python/jenkinsapi/Manifest @@ -1 +1,3 @@ +DIST jenkins-1.596.3.war 68396864 SHA256 85409f83b81ba90094ecc9e3ea6df0920ecfb3064b731a6a5c9b397eda18b47f SHA512 8652d4d18e3258208fe190c4a6aa5586faa66f690d7d7f7369c5490a587e3ec5e074dc22f2c8caedf5e5335f5b8f511717b2d6eb667a61e9948a703bf80310fe WHIRLPOOL ac6401ebe42a42495dc148d71a61daf49905292e6cbcbb5d8e41f520a01c8f1f783fd75baf908a3e99fbd9f25483366a3a5a005fa04b5843550c8e211f4d8e2d DIST jenkinsapi-0.2.26.tar.gz 76598 SHA256 68118e5abad7e5cd4191e1b20b08a950e5e563e816e3ba25e2f4ed994ba945f2 SHA512 5c04450bd285e2f576bcdd933ec8bd9df840f3fdcae9999305f96ea3f2e85bced4dfc5f961c763cd9137c2bfc2c9b79e032dc451978b6fc04a2fe8cb6e98d030 WHIRLPOOL 025d6c8cee081068d77350b7ffd6e03441dc2758be6b761d6ef6f00007c99ac41032ce3e1be3cf01496f6e59913e8b2f7a22ab9d66d5a8aeeca5c24922d4175b +DIST jenkinsapi-0.2.29.tar.gz 87447 SHA256 e1ceabe0217a422e4bc1ab9aa43e976ca3307c8b4b3f03b70371a93ad090dad0 SHA512 9f80f3a9afe210aba7b67247775249e11c53bdbb3a6cc62e009fe7c6dea1bbc0c95cf4eb20b44a68e3a9978478bb3f8459b6404eeca64587139d68a9ad458802 WHIRLPOOL 71e7175b925027f747f5ac750b115dfa7714aef1052ea9260e0645b40e1b69af4170dd6c9082ac93a93a358ef0c98a9fd5d2b81a83f2709bd84b090a847ab888 diff --git a/dev-python/jenkinsapi/jenkinsapi-0.2.29.ebuild b/dev-python/jenkinsapi/jenkinsapi-0.2.29.ebuild new file mode 100644 index 000000000000..8972f3e75e11 --- /dev/null +++ b/dev-python/jenkinsapi/jenkinsapi-0.2.29.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy ) + +inherit distutils-r1 + +JENKINS_VERSION="1.596.3" + +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 + test? ( http://mirrors.jenkins-ci.org/war-stable/${JENKINS_VERSION}/jenkins.war -> jenkins-${JENKINS_VERSION}.war )" + +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} + $(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}] )" + +src_unpack() { + unpack ${P}.tar.gz + + if use test; then + cp "${DISTDIR}/jenkins-${JENKINS_VERSION}.war" "${P}/jenkinsapi_tests/systests/jenkins.war" + fi +} + +python_test() { + # tests fail with jenkins 1.6x + # https://github.com/salimfadhley/jenkinsapi/issues/406 + esetup.py test +} diff --git a/dev-python/jenkinsapi/metadata.xml b/dev-python/jenkinsapi/metadata.xml index 6cfdf9a485e4..2c8e9674aa1b 100644 --- a/dev-python/jenkinsapi/metadata.xml +++ b/dev-python/jenkinsapi/metadata.xml @@ -1,16 +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> - <upstream> - <remote-id type="github">salimfadhley/jenkinsapi</remote-id> - </upstream> + <herd>proxy-maintainers</herd> + <maintainer> + <email>hydrapolic@gmail.com</email> + <name>Tomas Mozes</name> + <description>Proxy maintainer</description> + </maintainer> + <upstream> + <remote-id type="github">salimfadhley/jenkinsapi</remote-id> + </upstream> </pkgmetadata> |