diff options
author | Ian Delaney <idella4@gentoo.org> | 2015-01-29 09:19:38 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2015-01-29 09:19:38 +0000 |
commit | 36fda8d4319a2d32f8996790919e915980f0135d (patch) | |
tree | 2dc201c1100fbd88cb2f5f7b84c178e0d5b3704c /dev-python/jenkins-webapi | |
parent | Version bump, wrt bug #537880. Package will be maintained by tokiclover <toki... (diff) | |
download | gentoo-2-36fda8d4319a2d32f8996790919e915980f0135d.tar.gz gentoo-2-36fda8d4319a2d32f8996790919e915980f0135d.tar.bz2 gentoo-2-36fda8d4319a2d32f8996790919e915980f0135d.zip |
Module for interacting with the Jenkins CI server, ebuilds written by maintainer via bug #537440, 0.4.0 is missing folders present in 0.3.2, next release expected to see them re-added, closes bug #537440
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/jenkins-webapi')
-rw-r--r-- | dev-python/jenkins-webapi/ChangeLog | 13 | ||||
-rw-r--r-- | dev-python/jenkins-webapi/Manifest | 7 | ||||
-rw-r--r-- | dev-python/jenkins-webapi/files/local_jenkins_war.patch | 12 | ||||
-rw-r--r-- | dev-python/jenkins-webapi/files/tests_py27.patch | 7 | ||||
-rw-r--r-- | dev-python/jenkins-webapi/jenkins-webapi-0.3.2.ebuild | 50 | ||||
-rw-r--r-- | dev-python/jenkins-webapi/jenkins-webapi-0.4.0.ebuild | 21 | ||||
-rw-r--r-- | dev-python/jenkins-webapi/metadata.xml | 13 |
7 files changed, 123 insertions, 0 deletions
diff --git a/dev-python/jenkins-webapi/ChangeLog b/dev-python/jenkins-webapi/ChangeLog new file mode 100644 index 000000000000..3fd89320a027 --- /dev/null +++ b/dev-python/jenkins-webapi/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for dev-python/jenkins-webapi +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/jenkins-webapi/ChangeLog,v 1.1 2015/01/29 09:19:38 idella4 Exp $ + +*jenkins-webapi-0.4.0 (29 Jan 2015) +*jenkins-webapi-0.3.2 (29 Jan 2015) + + 29 Jan 2015; Ian Delaney <idella4@gentoo.org> +files/local_jenkins_war.patch, + +files/tests_py27.patch, +jenkins-webapi-0.3.2.ebuild, + +jenkins-webapi-0.4.0.ebuild, +metadata.xml: + Module for interacting with the Jenkins CI server, ebuilds written by + maintainer via bug #537440, 0.4.0 is missing folders present in 0.3.2, next + release expected to see them re-added, closes bug #537440 diff --git a/dev-python/jenkins-webapi/Manifest b/dev-python/jenkins-webapi/Manifest new file mode 100644 index 000000000000..4b594c2dc76c --- /dev/null +++ b/dev-python/jenkins-webapi/Manifest @@ -0,0 +1,7 @@ +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 +MISC metadata.xml 484 SHA256 74a8534643c88d2f10865f21fb64b7ce4a921b09d2e438e9bcf4c981cd5308ce SHA512 eaecd1133bf57cc53b4ff9357f02d0dde26bda5647e23ac93629e62f9e380b9f85086e84c8397d611a8e72473389866fd48f50100d64fb184e8db149567f28ac WHIRLPOOL d192c71ce64f1532508c613ecaddf1e4648a99d09177358979bbae2685f6c81c998d84ecda5bc60b1c8042e8502385480cfa56bfe92eca80da7913f3c9dd638e 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> |