summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/jenkins-webapi/Manifest15
-rw-r--r--dev-python/jenkins-webapi/files/local_jenkins_war.patch12
-rw-r--r--dev-python/jenkins-webapi/files/tests_py27.patch7
-rw-r--r--dev-python/jenkins-webapi/jenkins-webapi-0.3.2.ebuild50
-rw-r--r--dev-python/jenkins-webapi/jenkins-webapi-0.4.0.ebuild21
-rw-r--r--dev-python/jenkins-webapi/metadata.xml13
6 files changed, 116 insertions, 2 deletions
diff --git a/dev-python/jenkins-webapi/Manifest b/dev-python/jenkins-webapi/Manifest
index 4b594c2dc76c..372f7c6a03cb 100644
--- a/dev-python/jenkins-webapi/Manifest
+++ b/dev-python/jenkins-webapi/Manifest
@@ -1,7 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX local_jenkins_war.patch 507 SHA256 67280cec608df88bd84c3bce86fc53c33dec3525d86df08411e475146321e84b SHA512 8283091c6b491ff6207a678ccbb6a219691788c92a9aaabef1c0f60961acd0661ba2e8ab7c827d09f2b9eb3c61890cb017d3c36a6215ff6376875956867af0a6 WHIRLPOOL 6ca56fa00f4fb1c7f8d80209b67949c26f2cc3e7b0c03a2f91c5b0322228ff893cacadf45b950f13661728cac80d549bc6185eca9267d40e7b63390e74a52dd5
AUX tests_py27.patch 201 SHA256 e4ece30897bb72567e4eba12b2b5b0566f05dec60aefd0c8750149c82388a892 SHA512 364d3dbaacc3573d6cff0a5b42553860276bbef20b77b09ebedb5bec2e5a644cdd0b186595ba104f1764decdeb7272d4584ebf83b2012bbec3595eb59d68b81f WHIRLPOOL aef08ff5be531bd16eb02f3fbb5c5f73527c5401e482104a25987fa43e1677b6c19c51b27b1c33fd6f0f22d5d0c81900b5b19387ecdf8e6783112618e832a7e0
DIST jenkins-webapi-0.3.2.tar.gz 14831 SHA256 8f67d86c1f95edb79928af9b3b7c60ef9a63bfbfd19b6fe0a892ef4039f25500 SHA512 2ac59c90bba48406cc9fe5595505d5836eab1147869fbc8c06577767891d37904bffa5516316af0cb25f7f9193ae5277c0219ecc9daf5e0efa093fd449d1f4f0 WHIRLPOOL e4562a1857d7c526aec8c5ecc35f6a0644c48bf69fad4bdfef20f0708fdc0dfb5595c428acdc03e1df02c3d21669d47c89e0f3a99c1ee09a9741f9e21ab83b48
DIST jenkins-webapi-0.4.0.tar.gz 6223 SHA256 d16be95417cca78975fa8269644870207936718ec0144d49f750bd6e5763b8d1 SHA512 8aa1271f57da8543bfb52983efaff72ae886072a0fa7ebdaabe5aa6390a33f06b1d887b25e00a0c85545eac21cec8cd9f4f9e2b6afd663ac3300b3a76bbb2c15 WHIRLPOOL c8dd9b09560e70c3386ba65a90c8445db3e30c70c075c0aceeaee8e29182e8c4c001ac75863b1e71a6ca86e6158f6d61c9a82c3f4a42c8992041ea36f09677ef
-EBUILD jenkins-webapi-0.3.2.ebuild 1191 SHA256 4d41bd03bc8227b45144844a78ddbe47fb8715e8d3a612d08b602c88335f4188 SHA512 180a1a44cafaf0271a77df294b565158b000ce5e1a03dc08b226f9901164b437ab2a275cba949fbf847cc6958b87d7e81f7973b25b453aea63d7ce6d2397b256 WHIRLPOOL 95780e76254daf70724f5274185f8e8c14bf20638fef06d476405dc9b608b8dd1e704b29b71b56c263a8eccb2c34d0c7bf26b37ffb22140417e6e46ef947ffc6
-EBUILD jenkins-webapi-0.4.0.ebuild 525 SHA256 21dd3988b6e36a07750fc777674d7598b2d959cdd6b5eb8292fed233f8c91cf3 SHA512 83d300f83f2183f88f1bcfe89471367b7aaead8417b69139cd7e04b789880bd22e974655d6a9e70dbf08b1a1408ad413fe0917fc660c0ee5dbd7f508e0972556 WHIRLPOOL 2422055c536fc0ff7b64be079ef413b2ed73dfe7f5586692270a72c28134eaa33c1e20697217344b41e0c0f3e85a4cbbd87a8d138178c802c6540c9fe9f59f9c
+EBUILD jenkins-webapi-0.3.2.ebuild 1303 SHA256 69e3b2a230d70cad5da051742e2500da9488d265e133fc53e28fce70f10e8794 SHA512 705ccfc250ecd0712313451cc9aee2b6cd13169c8b2097af9c4cd7f59cf57282dd716fe6864c14d3e8043fd6785e4776d6011d03a03ddac4147e0647b19a7b74 WHIRLPOOL 2077152549ee0f1a8d268a4a15fc585cb6041e4f7aab7a713d598ceb90294af09ac610f0d6a7649cc4e4fd4c1cec091a57faf6f7211a0a6d39a0877c77f9afc1
+EBUILD jenkins-webapi-0.4.0.ebuild 641 SHA256 86ccaa1adff6d4c51a5fab0c66117431198dca209351b1f0b198405fe10cf5da SHA512 ba7ce7220d303964a979f34ce0b4a6c88602fdea5cae7594c28e92b57ef656c04c04a02428be6c8710cb9cd421b935b6397ce7e2c8e8c257eabe32613d1f0202 WHIRLPOOL fb4a56c9791e6bb9ed6e22842c3305c636ee6035e03f2373faafc191277863f5f608edc43cf72fad24c81918ef451d56659b37bc1301c98e280c68ba0260815b
+MISC ChangeLog 691 SHA256 7070e72365e3242a18438be0b0ff037fd8fd88868461a37658ec993dcb6a731e SHA512 936237f07fcafb3111e512c588bce498f9a1a3b27bdf4bd12b1348240bdbdfb6b16bd82fdd580af2d21295f6f2be106b6c5cfd8ae031826c49e80d1d5bb7405a WHIRLPOOL 0d855c9038d7f1e7db37703389caf893af6458582c566023a3ba30801941000ba4bd84d35e493ca25e349b5c41b9c2bb613aba8e319f23159a52d59e1e106e8d
MISC metadata.xml 484 SHA256 74a8534643c88d2f10865f21fb64b7ce4a921b09d2e438e9bcf4c981cd5308ce SHA512 eaecd1133bf57cc53b4ff9357f02d0dde26bda5647e23ac93629e62f9e380b9f85086e84c8397d611a8e72473389866fd48f50100d64fb184e8db149567f28ac WHIRLPOOL d192c71ce64f1532508c613ecaddf1e4648a99d09177358979bbae2685f6c81c998d84ecda5bc60b1c8042e8502385480cfa56bfe92eca80da7913f3c9dd638e
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iEYEAREIAAYFAlTJ+zoACgkQso7CE7gHKw1aZwCfbjbdK9xO348t/6dMtsIUU23s
+PpIAoNcJpYPUIN1iwK7ACXl+PrRnw+Bt
+=lEaC
+-----END PGP SIGNATURE-----
diff --git a/dev-python/jenkins-webapi/files/local_jenkins_war.patch b/dev-python/jenkins-webapi/files/local_jenkins_war.patch
new file mode 100644
index 000000000000..c41f5bb51ce3
--- /dev/null
+++ b/dev-python/jenkins-webapi/files/local_jenkins_war.patch
@@ -0,0 +1,12 @@
+--- tests/install.py.orig 2014-11-23 21:21:29.000000000 +0100
++++ tests/install.py 2015-01-28 18:29:42.750933314 +0100
+@@ -23,7 +23,7 @@
+ self.destdir = destdir
+
+ self.logfile = logfile if logfile else pjoin(self.destdir, 'jenkins.log')
+- self.jenkinswar = pjoin(self.destdir, 'jenkins.war')
++ self.jenkinswar = pjoin('/opt/jenkins', 'jenkins.war')
+ self.jenkinscli = pjoin(self.destdir, 'jenkins-cli.jar')
+ self.homedir = pjoin(self.destdir, 'home')
+
+
diff --git a/dev-python/jenkins-webapi/files/tests_py27.patch b/dev-python/jenkins-webapi/files/tests_py27.patch
new file mode 100644
index 000000000000..5a6e8c9ddf69
--- /dev/null
+++ b/dev-python/jenkins-webapi/files/tests_py27.patch
@@ -0,0 +1,7 @@
+--- tests/conftest.py.orig 2014-11-23 21:21:29.000000000 +0100
++++ tests/conftest.py 2015-01-28 18:37:25.388067816 +0100
+@@ -1,3 +1,4 @@
++# -*- coding: utf-8 -*-
+ import re
+ import time
+ import pytest
diff --git a/dev-python/jenkins-webapi/jenkins-webapi-0.3.2.ebuild b/dev-python/jenkins-webapi/jenkins-webapi-0.3.2.ebuild
new file mode 100644
index 000000000000..51b77fc8c9ec
--- /dev/null
+++ b/dev-python/jenkins-webapi/jenkins-webapi-0.3.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/jenkins-webapi/jenkins-webapi-0.3.2.ebuild,v 1.1 2015/01/29 09:19:38 idella4 Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Module for interacting with the Jenkins CI server"
+HOMEPAGE="https://github.com/gvalkov/jenkins-webapi"
+SRC_URI="https://github.com/gvalkov/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc test"
+
+RDEPEND=">=dev-python/requests-2.4.3[${PYTHON_USEDEP}]"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( ${RDEPEND}
+ dev-util/jenkins-bin
+ >=dev-python/pytest-2.6.3[${PYTHON_USEDEP}]
+ >=dev-python/termcolor-1.1.0[${PYTHON_USEDEP}]
+ >=dev-python/pytest-cov-1.8.0[${PYTHON_USEDEP}]
+ >=dev-python/httmock-1.2.2[${PYTHON_USEDEP}] )
+ doc? (
+ >=dev-python/sphinx-1.2.3[${PYTHON_USEDEP}]
+ >=dev-python/alabaster-0.6.1[${PYTHON_USEDEP}] )
+ "
+
+PATCHES=(
+ "${FILESDIR}"/local_jenkins_war.patch
+ "${FILESDIR}"/tests_py27.patch
+ )
+
+python_test() {
+ emake test
+}
+
+python_compile_all() {
+ use doc && emake -C doc html
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( doc/_build/html/. )
+ distutils-r1_python_install_all
+}
diff --git a/dev-python/jenkins-webapi/jenkins-webapi-0.4.0.ebuild b/dev-python/jenkins-webapi/jenkins-webapi-0.4.0.ebuild
new file mode 100644
index 000000000000..46ba87a82015
--- /dev/null
+++ b/dev-python/jenkins-webapi/jenkins-webapi-0.4.0.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/jenkins-webapi/jenkins-webapi-0.4.0.ebuild,v 1.1 2015/01/29 09:19:38 idella4 Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Module for interacting with the Jenkins CI server"
+HOMEPAGE="https://github.com/gvalkov/jenkins-webapi"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-python/requests-2.5.0[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
diff --git a/dev-python/jenkins-webapi/metadata.xml b/dev-python/jenkins-webapi/metadata.xml
new file mode 100644
index 000000000000..7f4706527c04
--- /dev/null
+++ b/dev-python/jenkins-webapi/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 any bugs</description>
+ </maintainer>
+</pkgmetadata>