1 |
commit: df82b181d5746df3f57f20a1e0b481843e0aa796 |
2 |
Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Dec 28 10:27:21 2015 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 28 10:27:21 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df82b181 |
7 |
|
8 |
dev-python/jenkins-webapi: version bump to 0.5.0 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
dev-python/jenkins-webapi/Manifest | 2 + |
13 |
.../jenkins-webapi/jenkins-webapi-0.5.0.ebuild | 60 ++++++++++++++++++++++ |
14 |
2 files changed, 62 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/jenkins-webapi/Manifest b/dev-python/jenkins-webapi/Manifest |
17 |
index 353444b..2e17035 100644 |
18 |
--- a/dev-python/jenkins-webapi/Manifest |
19 |
+++ b/dev-python/jenkins-webapi/Manifest |
20 |
@@ -1,2 +1,4 @@ |
21 |
+DIST jenkins-1.596.3.war 68396864 SHA256 85409f83b81ba90094ecc9e3ea6df0920ecfb3064b731a6a5c9b397eda18b47f SHA512 8652d4d18e3258208fe190c4a6aa5586faa66f690d7d7f7369c5490a587e3ec5e074dc22f2c8caedf5e5335f5b8f511717b2d6eb667a61e9948a703bf80310fe WHIRLPOOL ac6401ebe42a42495dc148d71a61daf49905292e6cbcbb5d8e41f520a01c8f1f783fd75baf908a3e99fbd9f25483366a3a5a005fa04b5843550c8e211f4d8e2d |
22 |
DIST jenkins-webapi-0.3.2.tar.gz 14831 SHA256 8f67d86c1f95edb79928af9b3b7c60ef9a63bfbfd19b6fe0a892ef4039f25500 SHA512 2ac59c90bba48406cc9fe5595505d5836eab1147869fbc8c06577767891d37904bffa5516316af0cb25f7f9193ae5277c0219ecc9daf5e0efa093fd449d1f4f0 WHIRLPOOL e4562a1857d7c526aec8c5ecc35f6a0644c48bf69fad4bdfef20f0708fdc0dfb5595c428acdc03e1df02c3d21669d47c89e0f3a99c1ee09a9741f9e21ab83b48 |
23 |
DIST jenkins-webapi-0.4.0.tar.gz 16149 SHA256 7515b1e0503e07d50088e32205873146eda3b1132d8a6508e28f4e935c41e8b2 SHA512 ae40366e6fb6414391287ffa42ec92fba1971f070ac718d521c5b10f6e47d14ceea15a8c71f559380356530fdb2f826e08a6c611813b407dad73dab39fcddfeb WHIRLPOOL 30abf44c7d1ec6884baa3481c9d2f234f46f812d5ee6a8d9e49de8bc367ffef9c58f7653dcd30c24a308372cb8f6211e51f40e441e17f9ef15abd222de5d775b |
24 |
+DIST jenkins-webapi-0.5.0.tar.gz 78813 SHA256 d3a730761bd5164683e1bfff53332b0bf056393e0660769ba8e09df6d555304d SHA512 dde91231e6fe6713eb5953efa038d44a820b51968c2b0591e5dd064c7a35c7dab4d1780370dc97a0a671b3d3cb7d8a48e571c7c0af4f0d5f8a65430c8c074eb3 WHIRLPOOL 2110593ae171efd30f4f0fd407d8bc526e85ce53a3670b5f4c09c73aa8a880cdcc314091104e1684485899a65227a2da18fba7c358a7d11a80f0de5ac99a26c7 |
25 |
|
26 |
diff --git a/dev-python/jenkins-webapi/jenkins-webapi-0.5.0.ebuild b/dev-python/jenkins-webapi/jenkins-webapi-0.5.0.ebuild |
27 |
new file mode 100644 |
28 |
index 0000000..296620d |
29 |
--- /dev/null |
30 |
+++ b/dev-python/jenkins-webapi/jenkins-webapi-0.5.0.ebuild |
31 |
@@ -0,0 +1,60 @@ |
32 |
+# Copyright 1999-2015 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=5 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy ) |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+JENKINS_VERSION="1.596.3" |
43 |
+ |
44 |
+DESCRIPTION="Module for interacting with the Jenkins CI server" |
45 |
+HOMEPAGE="https://github.com/gvalkov/jenkins-webapi" |
46 |
+SRC_URI="https://github.com/gvalkov/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
47 |
+ test? ( http://mirrors.jenkins-ci.org/war-stable/${JENKINS_VERSION}/jenkins.war -> jenkins-${JENKINS_VERSION}.war )" |
48 |
+ |
49 |
+LICENSE="BSD" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~x86" |
52 |
+IUSE="doc test" |
53 |
+ |
54 |
+RDEPEND=">=dev-python/requests-2.7.0[${PYTHON_USEDEP}]" |
55 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
56 |
+ test? ( ${RDEPEND} |
57 |
+ net-analyzer/netcat |
58 |
+ net-misc/curl |
59 |
+ app-arch/unzip |
60 |
+ >=virtual/jre-1.7.0 |
61 |
+ >=dev-python/pytest-2.6.3[${PYTHON_USEDEP}] |
62 |
+ >=dev-python/termcolor-1.1.0[${PYTHON_USEDEP}] |
63 |
+ >=dev-python/pytest-cov-1.8.0[${PYTHON_USEDEP}] |
64 |
+ >=dev-python/httmock-1.2.2[${PYTHON_USEDEP}] ) |
65 |
+ doc? ( |
66 |
+ >=dev-python/sphinx-1.2.3[${PYTHON_USEDEP}] |
67 |
+ >=dev-python/alabaster-0.6.1[${PYTHON_USEDEP}] )" |
68 |
+ |
69 |
+src_unpack() { |
70 |
+ unpack ${P}.tar.gz |
71 |
+ |
72 |
+ if use test; then |
73 |
+ # tests fail with jenkins 1.6x |
74 |
+ # https://github.com/gvalkov/jenkins-webapi/issues/14 |
75 |
+ mkdir -p "${P}/tests/tmp/latest" |
76 |
+ cp "${DISTDIR}/jenkins-${JENKINS_VERSION}.war" "${P}/tests/tmp/latest/jenkins.war" |
77 |
+ fi |
78 |
+} |
79 |
+ |
80 |
+python_test() { |
81 |
+ emake test |
82 |
+} |
83 |
+ |
84 |
+python_compile_all() { |
85 |
+ use doc && emake -C docs html |
86 |
+} |
87 |
+ |
88 |
+python_install_all() { |
89 |
+ use doc && local HTML_DOCS=( docs/_build/html/. ) |
90 |
+ distutils-r1_python_install_all |
91 |
+} |