diff options
author | Brian Dolbec <dolsen@gentoo.org> | 2017-01-04 18:34:46 -0800 |
---|---|---|
committer | Brian Dolbec <dolsen@gentoo.org> | 2017-01-05 16:48:14 -0800 |
commit | e1602f5993a34777aed46055f904b7c9953e90a0 (patch) | |
tree | ea5ff88d4b88a403f0994b64e77587f5b257829f /dev-util | |
parent | dev-util/buildbot-console-view: Version bump (diff) | |
download | gentoo-e1602f5993a34777aed46055f904b7c9953e90a0.tar.gz gentoo-e1602f5993a34777aed46055f904b7c9953e90a0.tar.bz2 gentoo-e1602f5993a34777aed46055f904b7c9953e90a0.zip |
dev-util/buildbot-waterfall-view: Version bump
This version enables any python tests that may be present.
So far I've only seen a few coffee tests.
Package-Manager: Portage-2.3.3_p7, Repoman-2.3.1
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/buildbot-waterfall-view/Manifest | 1 | ||||
-rw-r--r-- | dev-util/buildbot-waterfall-view/buildbot-waterfall-view-0.9.2.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-util/buildbot-waterfall-view/Manifest b/dev-util/buildbot-waterfall-view/Manifest index edde0a03de60..2cc824c883a1 100644 --- a/dev-util/buildbot-waterfall-view/Manifest +++ b/dev-util/buildbot-waterfall-view/Manifest @@ -1,2 +1,3 @@ DIST buildbot-waterfall-view-0.9.0.post1.tar.gz 704789 SHA256 0f5469dfa30572b5f8f12588003188d68c9541c80876860727f2fd5f02df3b75 SHA512 45e055f694f208f97d11c20db56a107eae3ee7c6308e4e74b5569b46baeb0a24bc3a2d99a30f28c3231570f2bbb3c492d503e7128a569d9d33ec684f8f59b72f WHIRLPOOL bc8ba2e309a6674c0afbb8781e1038d2b693217a45fd8cbdbaceda8cf9fefc705fea23c21ac74c23e87866676df0323e5a3eac4504da91df53dd108a044910b6 DIST buildbot-waterfall-view-0.9.1.tar.gz 704434 SHA256 b5026f746a0bea9af544f4ad46b21781e4dccaf64bf645ee5dc747e442100fbb SHA512 f97d974aee73cc84c4f9699a1bf4765434e31ed3b6ad2da58fff1da13a59f4cd327b736da19018c7e5ad609da5a3ba87ab9f4f11c28e8d3120d3c1a2796673ef WHIRLPOOL c481e3b8afe3ef7ea071b2259ea5df02e569e468043de58e1dc2eb34a827be8e99eb46bd1f9f9f22b75c2ee9068917b5ecf588c8b06124251b08ba4713dd8b67 +DIST buildbot-waterfall-view-0.9.2.tar.gz 704942 SHA256 1be89234e8555c7c058a4b176e19e751edcbca4e0e415f09bec492668ac0da1e SHA512 b7c20175da7746ea650507dc79eb64fdb8d601ccfa7778120e9aa4653ae14f951d80fa79d016a77d0259ac56a3acb0326dad1325150e5db88bad044c31d79d74 WHIRLPOOL bb3b6560e55c9e4a4b146b8e9bc27e6bf2560b972dfd14fd75ed823cc33250fbf3bcd2e8b86b54ffdbde82010de0d0d1753c72620befef285a24501304473dcc diff --git a/dev-util/buildbot-waterfall-view/buildbot-waterfall-view-0.9.2.ebuild b/dev-util/buildbot-waterfall-view/buildbot-waterfall-view-0.9.2.ebuild new file mode 100644 index 000000000000..8edb22f3d5b5 --- /dev/null +++ b/dev-util/buildbot-waterfall-view/buildbot-waterfall-view-0.9.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +PYTHON_REQ_USE="sqlite" +PYTHON_COMPAT=( python2_7 ) + +EGIT_REPO_URI="git://github.com/buildbot/buildbot.git" + +[[ ${PV} == *9999 ]] && inherit git-r3 +inherit distutils-r1 + +DESCRIPTION="Buildbot waterfall-view plugin" +HOMEPAGE="http://trac.buildbot.net/ https://github.com/buildbot/buildbot http://pypi.python.org/pypi/buildbot" + +MY_V="${PV/_p/p}" +MY_P="${PN}-${MY_V}" +[[ ${PV} == *9999 ]] || SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" + +if [[ ${PV} == *9999 ]]; then + KEYWORDS="" +else + KEYWORDS="~amd64" +fi + +IUSE="test" + +RDEPEND=" + ~dev-util/buildbot-${PV}[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + ~dev-util/buildbot-www-${PV}[${PYTHON_USEDEP}] +" + +DEPEND="${RDEPEND} + >=dev-python/setuptools-21.2.1[${PYTHON_USEDEP}] +" + +S="${WORKDIR}/${MY_P}" +#[[ ${PV} == *9999 ]] && S=${S}/www/base + +python_test() { + distutils_install_for_testing + + esetup.py test || die "Tests failed under ${EPYTHON}" +} + +python_install_all() { + distutils-r1_python_install_all +} |