diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-02 15:59:12 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-02 15:59:12 +0000 |
commit | 06a7b5647e11a8ddf69b1c3d3ded6a8ba28b923e (patch) | |
tree | 8d58c1f4b049da677b33209b072f2b3057268fe0 /dev-util/buildbot-prometheus | |
parent | 99abbc5e5a6ecd3fc981b45646fd8cb5d320377b (diff) |
gentoo resync : 02.03.2018
Diffstat (limited to 'dev-util/buildbot-prometheus')
3 files changed, 33 insertions, 2 deletions
diff --git a/dev-util/buildbot-prometheus/Manifest b/dev-util/buildbot-prometheus/Manifest index 4934e752dcae..0019b631b011 100644 --- a/dev-util/buildbot-prometheus/Manifest +++ b/dev-util/buildbot-prometheus/Manifest @@ -1,3 +1,4 @@ DIST buildbot-prometheus-17.7.2.tar.gz 10101 BLAKE2B 25c060b5368aa1dea6145b6d380db8001f3cd1fb49f9b3bb1e4ecccdb771591abc269d5aee9d022a9b182b19650a0c398b580004f20def0675b86ca9f3a1e2db SHA512 8a0ecaf57eade3d69fabc57a19a1c02af8e398c3bc4732e40f39e8904a16c9b751d4f6f8ace0dd7893b380d1ffc8a51360279aeb7b4059a6cd9438145344e74b -EBUILD buildbot-prometheus-17.7.2.ebuild 624 BLAKE2B 53e5d5a111eba5433a1d234c91929c192165b7ba0bfddd99cb529c5ab94e61f43baa95fa9b22837918f93ef2d622226620b18b69bfe8cb3ec9545c0bfd839933 SHA512 eefdb7f1939150323e767707c21a59a8c2431a6e006e57af1d7fed92c71c66b7ccca55da95b7af66838b4f252140efc6b74992567c921f0ecd6a638949ed3f01 +EBUILD buildbot-prometheus-17.7.2-r1.ebuild 786 BLAKE2B eb065d7e22a00eca5d57658a0e26e6600dd3ba40dcb6b0dd27cd41230903103f7f5f472977e6152b7e9842c01389645d342153afeecc5c2619d84e2e3e928da8 SHA512 bcfed633ffe3aaef5e30f638fafbae2a6c716b269efc0ac7e52b3f1ffa9c61b69531c576b10f5d1226a8018792010a7bae759f2c6144f407fdfd0bc8f9740fa4 +EBUILD buildbot-prometheus-17.7.2.ebuild 786 BLAKE2B eb065d7e22a00eca5d57658a0e26e6600dd3ba40dcb6b0dd27cd41230903103f7f5f472977e6152b7e9842c01389645d342153afeecc5c2619d84e2e3e928da8 SHA512 bcfed633ffe3aaef5e30f638fafbae2a6c716b269efc0ac7e52b3f1ffa9c61b69531c576b10f5d1226a8018792010a7bae759f2c6144f407fdfd0bc8f9740fa4 MISC metadata.xml 392 BLAKE2B 2a2acde2274ca75c4477314c27d5bdc2f02ffd3f207a000ae928cf30b258e15d345cb27dd22254181ffc488e01354225f297ad56ce9d2b3575ef4a68199b7e0e SHA512 3d0a5ff260e9606e29ec0eabd8b87fc7f338f35b86dba44024dedf2029fd8d4e04e4f895812f75821dd21703ecf6c57ae25e27ca92dfbb8e817c49c1d404bbb0 diff --git a/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2-r1.ebuild b/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2-r1.ebuild new file mode 100644 index 000000000000..a930624175f3 --- /dev/null +++ b/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2-r1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{5,6} ) +inherit distutils-r1 + +DESCRIPTION="A Prometheus metrics exporter for Buildbot" +HOMEPAGE="https://github.com/claws/buildbot-prometheus" +SRC_URI="https://github.com/claws/buildbot-prometheus/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND="dev-python/prometheus_client[${PYTHON_USEDEP}] + dev-util/buildbot[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + ${RDEPEND}" + +python_prepare_all() { + sed -i -e "/^install_reqs.*$/d" -e "/^from pip.*$/d" -e "s/requires = .*/requires = ['buildbot', 'prometheus_client']/" setup.py || die + distutils-r1_python_prepare_all +} diff --git a/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild b/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild index e84caf199146..a930624175f3 100644 --- a/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild +++ b/dev-util/buildbot-prometheus/buildbot-prometheus-17.7.2.ebuild @@ -18,5 +18,9 @@ IUSE="" RDEPEND="dev-python/prometheus_client[${PYTHON_USEDEP}] dev-util/buildbot[${PYTHON_USEDEP}]" DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] - dev-python/pip[${PYTHON_USEDEP}] ${RDEPEND}" + +python_prepare_all() { + sed -i -e "/^install_reqs.*$/d" -e "/^from pip.*$/d" -e "s/requires = .*/requires = ['buildbot', 'prometheus_client']/" setup.py || die + distutils-r1_python_prepare_all +} |