1 |
commit: afcb332f66e7b072b37e04472e80f93bd8979c55 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 23 13:50:49 2019 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 23 13:52:38 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afcb332f |
7 |
|
8 |
dev-python/carbon: version bump |
9 |
|
10 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
dev-python/carbon/Manifest | 1 + |
14 |
dev-python/carbon/carbon-1.1.5.ebuild | 62 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 63 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/carbon/Manifest b/dev-python/carbon/Manifest |
18 |
index e52499e0f8d..0725ce24246 100644 |
19 |
--- a/dev-python/carbon/Manifest |
20 |
+++ b/dev-python/carbon/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST carbon-0.9.13.tar.gz 47509 BLAKE2B 0f967d81846139164278b99aa31237c8065b7d60 |
22 |
DIST carbon-0.9.14.tar.gz 50285 BLAKE2B e7926bf81509b9f65ff31287c4149102c4e249896df5035f4e18cf791e50800dff4974c49ab663f0ea5fcdee27301696a026c57ba49c1cd9b113b55f3fe97480 SHA512 e70275c0acce17287b3036668e45c75b9da9b54523faca0f5bdceda4b6b98c71ebf773740e85063ee3ea4e0bc64adee913bb7f8eab1f7016eb504b06f0b589e3 |
23 |
DIST carbon-0.9.15.tar.gz 50321 BLAKE2B c3cda5251bfab2c968c3538c25178cebcd4c98436c5b939d663d64f597e60236f69a01ad7f1427dda45db8c7c2e79fd625cb33513cf3e7c5dbc53b00fce2bb15 SHA512 e8ed8ac9b247d0f5bbe0331de50d929f918ee7968ad5053d2532f4d09e49215eaecae95a79f6b8360aa0f73fc7e68a73d86886e0329b3f5ccb569136658f6562 |
24 |
DIST carbon-1.1.3.tar.gz 68824 BLAKE2B b5e532fa0d0d8dc8ab8c3c555dea6bb3b918cd5b516ea4c754f9b3cd37230f54b63d202cfead9ec4242ebf78031c2671050354dccccde2980c4101b9699b1393 SHA512 0cfa9260484de147660110b7d2cc7e41bcbd7751c80bd5c557534b2a52c2183fdba94d40f8654fe54f593b2ab34581b2480e96c8a6dde4d47de783153a2cbe65 |
25 |
+DIST carbon-1.1.5.tar.gz 72365 BLAKE2B 304e515fd3cae806e141d0a76983d13967885a7e57c310d86c0c83560aa306a573676fb0135fceccf14cc7ed42d8a9dcb7869ab0d6ac3b2fc00c2fb088011873 SHA512 1b3a0a0d4005e2ec8d5bca062b41f0e18329c1bc4d3a4b3eca5e8f7c94c20387281392eefceaca90294e51860eabecca242c487068433119f1f249f8659ed560 |
26 |
|
27 |
diff --git a/dev-python/carbon/carbon-1.1.5.ebuild b/dev-python/carbon/carbon-1.1.5.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..08cf9a435f2 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/carbon/carbon-1.1.5.ebuild |
32 |
@@ -0,0 +1,62 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) # 3.7 dropped due to dep-hell |
39 |
+ |
40 |
+inherit distutils-r1 |
41 |
+ |
42 |
+DESCRIPTION="Backend data caching and persistence daemon for Graphite" |
43 |
+HOMEPAGE="http://graphite.wikidot.com/" |
44 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+SLOT="0" |
47 |
+LICENSE="Apache-2.0" |
48 |
+KEYWORDS="~amd64 ~x86 ~x64-solaris" |
49 |
+ |
50 |
+# whisper appears to have been missed from listing in install_requires in setup.py |
51 |
+RDEPEND=" |
52 |
+ dev-python/twisted[${PYTHON_USEDEP}] |
53 |
+ dev-python/cachetools[${PYTHON_USEDEP}] |
54 |
+ dev-python/txAMQP[${PYTHON_USEDEP}] |
55 |
+ dev-python/urllib3[${PYTHON_USEDEP}] |
56 |
+ =dev-python/whisper-${PV}*[${PYTHON_USEDEP}]" |
57 |
+ |
58 |
+python_prepare_all() { |
59 |
+ # Do not install the configuration and data files. We install them |
60 |
+ # somewhere sensible by hand. |
61 |
+ sed -i -e '/data_files=install_files,/d' setup.py || die |
62 |
+ # We want FHS-style paths instead of /opt/graphite |
63 |
+ export GRAPHITE_NO_PREFIX=yes |
64 |
+ distutils-r1_python_prepare_all |
65 |
+} |
66 |
+ |
67 |
+python_install_all() { |
68 |
+ distutils-r1_python_install_all |
69 |
+ |
70 |
+ insinto /etc/carbon |
71 |
+ doins conf/* |
72 |
+ |
73 |
+ keepdir /var/log/carbon /var/lib/carbon/{whisper,lists,rrd} |
74 |
+ |
75 |
+ newinitd "${FILESDIR}"/carbon.initd2 carbon-cache |
76 |
+ newinitd "${FILESDIR}"/carbon.initd2 carbon-relay |
77 |
+ newinitd "${FILESDIR}"/carbon.initd2 carbon-aggregator |
78 |
+ |
79 |
+ newconfd "${FILESDIR}"/carbon.confd carbon-cache |
80 |
+ newconfd "${FILESDIR}"/carbon.confd carbon-relay |
81 |
+ newconfd "${FILESDIR}"/carbon.confd carbon-aggregator |
82 |
+} |
83 |
+ |
84 |
+pkg_postinst() { |
85 |
+ einfo 'This ebuild installs carbon into FHS-style paths.' |
86 |
+ einfo 'You will probably have to set GRAPHITE_CONF_DIR to /etc/carbon' |
87 |
+ einfo 'and GRAPHITE_STORAGE_DIR to /var/lib/carbon to make use of this' |
88 |
+ einfo '(see /etc/carbon/carbon.conf.example).' |
89 |
+ einfo ' ' |
90 |
+ einfo 'OpenRC init script supports multiple instances !' |
91 |
+ einfo 'Example to run an instance b of carbon-cache :' |
92 |
+ einfo ' ln -s /etc/init.d/carbon-cache /etc/init.d/carbon-cache.b' |
93 |
+ einfo ' cp /etc/conf.d/carbon-cache /etc/conf.d/carbon-cache.b' |
94 |
+} |