/[gentoo-x86]/dev-python/jenkinsapi/jenkinsapi-0.2.26.ebuild
Gentoo

Contents of /dev-python/jenkinsapi/jenkinsapi-0.2.26.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Jan 28 08:27:18 2015 UTC (5 years, 5 months ago) by idella4
Branch: MAIN
CVS Tags: HEAD
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)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
8
9 inherit distutils-r1
10
11 DESCRIPTION="API to access resources on a Jenkins continuous-integration server"
12 HOMEPAGE="https://github.com/salimfadhley/jenkinsapi"
13 SRC_URI="https://github.com/salimfadhley/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
14
15 LICENSE="MIT"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86"
18 IUSE="test"
19
20 RDEPEND=">=dev-python/pytz-2014.4[${PYTHON_USEDEP}]
21 >=dev-python/requests-2.3.0[${PYTHON_USEDEP}]"
22
23 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
24 test? ( ${RDEPEND}
25 dev-util/jenkins-bin
26 $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
27 dev-python/nose[${PYTHON_USEDEP}]
28 dev-python/coverage[${PYTHON_USEDEP}]
29 dev-python/unittest2[${PYTHON_USEDEP}]
30 )"
31
32 # use jenkins.war from jenkins-bin instead of downloading
33 PATCHES=( "${FILESDIR}"/local_jenkins_war.patch )
34
35 python_test() {
36 esetup.py test
37 }

  ViewVC Help
Powered by ViewVC 1.1.20