diff options
Diffstat (limited to 'dev-python/carbon')
-rw-r--r-- | dev-python/carbon/Manifest | 16 | ||||
-rw-r--r-- | dev-python/carbon/carbon-0.9.13-r1.ebuild | 64 | ||||
-rw-r--r-- | dev-python/carbon/carbon-0.9.13.ebuild | 64 | ||||
-rw-r--r-- | dev-python/carbon/carbon-0.9.14-r1.ebuild | 64 | ||||
-rw-r--r-- | dev-python/carbon/carbon-0.9.15-r1.ebuild | 64 | ||||
-rw-r--r-- | dev-python/carbon/carbon-1.1.3.ebuild | 62 | ||||
-rw-r--r-- | dev-python/carbon/files/carbon-0.9.12-no-data-files.patch | 24 | ||||
-rw-r--r-- | dev-python/carbon/files/carbon-0.9.14-no-data-files.patch | 32 | ||||
-rw-r--r-- | dev-python/carbon/files/carbon.confd | 5 | ||||
-rw-r--r-- | dev-python/carbon/files/carbon.initd | 51 | ||||
-rw-r--r-- | dev-python/carbon/files/carbon.initd2 | 53 | ||||
-rw-r--r-- | dev-python/carbon/files/no-data-files.patch | 26 | ||||
-rw-r--r-- | dev-python/carbon/metadata.xml | 15 |
13 files changed, 0 insertions, 540 deletions
diff --git a/dev-python/carbon/Manifest b/dev-python/carbon/Manifest deleted file mode 100644 index 4fbf29a675c1..000000000000 --- a/dev-python/carbon/Manifest +++ /dev/null @@ -1,16 +0,0 @@ -AUX carbon-0.9.12-no-data-files.patch 817 BLAKE2B 33a5f118d62bb5be6e95822490213c431d80982a5d95644031e8d1d3845c1612049abf17e80324efe9421f212fd7fc7f6b98922afca3fb066a14a443d738056e SHA512 549499d5f1963f2eadc9858e0744a1b2b30830e4069f6881d3d912b9709e3cc0f0c3c01730790c975a57209b671c6592c1dd650028a8a63dcab84fe960f5ed58 -AUX carbon-0.9.14-no-data-files.patch 1074 BLAKE2B ec10e3d4fdfbfa3723776b2ae33f662a2ef5b45c82297d3ddcbe18ebcbbaee6ca9e164708890cb194f13fcee024194b4d52984ee8c8fa438ce09053d1208e663 SHA512 11d8108c712d777d5b5930ce7ac3d6efe5b2307f670f19e0420ab26c695b0ec306aded2cc1e5ca2d7e262046689197b9f0b60f609d4f7dba435d36be44358749 -AUX carbon.confd 119 BLAKE2B 75505b3aedcc65306a1cd16645e349012652a268d838dc1fd32d8a143d18dfca3c9e3233a0bfcdeee22a26592bb49408a3e4708d96796361219f73dc5e32adb4 SHA512 049d2e3c9e9ae9375f485568185b14fb326a85f13a5f40e19a5d26aaecd0b98a61f011dbe4335110b6e3314ec52d308fea8f577df8b29b5d675fd7763a02788f -AUX carbon.initd 1259 BLAKE2B 06d75128329df6efe82b2d2ac2c35bb5f8726b760fc3e34335bea972a8c74070b6f892825b2b34144e15a41833cbbbb0e64d449f1c3326e7fae7b88349e62c48 SHA512 f6ccd3a3abdd8b8e1eff55aa6a0cd0b26e5cd6789ff6f8f795890e61adfac7369c101788a0db2e7d6fdaeace622cf8313a331aa6e0f54e9dda7ec8194351019a -AUX carbon.initd2 1329 BLAKE2B 7990f8ee25f2554ce5997075c7fda4cfc69d73ae060657a917498bed4ef237a6e0b43b522ef15b0587d15c71fdb03a26f562d1147212c50f8d838f97522cc9cd SHA512 08d9a7ddc763bb49763b1c873504b0dfb45763ed871f22632885692f41d5d8c86616677c2669b0b8c2160170a7c507c2415571d300e2045675c7002556a4063e -AUX no-data-files.patch 881 BLAKE2B 6e8709eebe73d3686ee401a7d5db45471ba1a53b894f733a211b62be5c5c1920dc732fffeaa771a57f03ca692a63d02c55d9efeae3ff393910245cbb15e2f1df SHA512 13c2e946c42bfabc643ec39a0d384b887fb1ceaee9791e0f7c2ed037069492aa80ff4f4b593dbba7253c6e5f553e0a7d1677333a896067219df4206f742d64d7 -DIST carbon-0.9.13.tar.gz 47509 BLAKE2B 0f967d81846139164278b99aa31237c8065b7d60a13c9a6153cf3904dae52bf0e8e502d156a178f1dfdbe098236d97f8982fc10e6442351270d103adef2bd74e SHA512 89c843ac67ed4b68c28273459e5a96594851e5d2694fdefdfb71cebcdc6555d4aac8c45c1c6d2ca61a15405bac7ba3d27836470fe152d5d7a4936bb2d00e6776 -DIST carbon-0.9.14.tar.gz 50285 BLAKE2B e7926bf81509b9f65ff31287c4149102c4e249896df5035f4e18cf791e50800dff4974c49ab663f0ea5fcdee27301696a026c57ba49c1cd9b113b55f3fe97480 SHA512 e70275c0acce17287b3036668e45c75b9da9b54523faca0f5bdceda4b6b98c71ebf773740e85063ee3ea4e0bc64adee913bb7f8eab1f7016eb504b06f0b589e3 -DIST carbon-0.9.15.tar.gz 50321 BLAKE2B c3cda5251bfab2c968c3538c25178cebcd4c98436c5b939d663d64f597e60236f69a01ad7f1427dda45db8c7c2e79fd625cb33513cf3e7c5dbc53b00fce2bb15 SHA512 e8ed8ac9b247d0f5bbe0331de50d929f918ee7968ad5053d2532f4d09e49215eaecae95a79f6b8360aa0f73fc7e68a73d86886e0329b3f5ccb569136658f6562 -DIST carbon-1.1.3.tar.gz 68824 BLAKE2B b5e532fa0d0d8dc8ab8c3c555dea6bb3b918cd5b516ea4c754f9b3cd37230f54b63d202cfead9ec4242ebf78031c2671050354dccccde2980c4101b9699b1393 SHA512 0cfa9260484de147660110b7d2cc7e41bcbd7751c80bd5c557534b2a52c2183fdba94d40f8654fe54f593b2ab34581b2480e96c8a6dde4d47de783153a2cbe65 -EBUILD carbon-0.9.13-r1.ebuild 1850 BLAKE2B 9bb0919ed111c51709c87cc1a67e83c7f622187d6a3295a3580fb3ea4426ac5a43fc325492b768282df912505fd6ad77af002d5c1c3de7901b8379b1a493f6f5 SHA512 4d3121f3c8a2d6c04a3b8cd5153ad9132e3e573ef9b8c621f015b3eb3b46833a8720e8f3f0c36af142eaca6cf8d950352949038cc3cf3a05e6f064281b69b673 -EBUILD carbon-0.9.13.ebuild 1845 BLAKE2B 3c63c6659740da27a9bb63137122503b1c54692afa994c8fd87369fdd5f96e9d9298f6aacdc26504b85467228331cc8a6ea0637b3fbc92adbcd1732c9f26ba66 SHA512 19be871a4fb56b058990eedce3bcb70eae0b913c0b6bdb4c46236aa9e65bcd8b9bce3b2790ee591fc9494ea36e008ea98f904a5c6dd99fe7e55cc6d63c3d5182 -EBUILD carbon-0.9.14-r1.ebuild 2039 BLAKE2B e00c9b09ebd02f8f8bab63381d9ba26c0831c617de35442fa747efaad693adea3d9a7aa3312648e76e2f14deeab662e81606605a213901922528a2f445394023 SHA512 0370b1b716adca976ca799f3968d52491eeb02a3ea0e5dbd384efc6360ef8d0f0fe708d24aaf53a1dc8923eb83dbfea6c7a40dfecaa15aed5f53877d48dd6163 -EBUILD carbon-0.9.15-r1.ebuild 2047 BLAKE2B da7ca2742cb7156ad4b94e996e582b8ce1fdbb37add1b9b6c0fba8a874aeb84db63804cf3b6768d9fffb1c69d9168c5f0f56ffbca62180f4a475b03e8a8441ad SHA512 64f1250fbcf3bfe024e3a6b9be3abcace36cd2ddf4b933ef6c132d7e78d1edfefa8b68d658a52f9139e6c35486ab59f4510d07ab4ebd13e217c118b9bb8969fc -EBUILD carbon-1.1.3.ebuild 2011 BLAKE2B 641f3c2afbf5f43a58ccaa88d840af4a99fe2a3d4eedf415649de668172a109beb8a94b83a82c7592754fb9775c94d2004bc86bafa1265f89ba034f3e4e05a3b SHA512 999310990bd9aa495c81f4f40a61e2a5efe9085d8bc6779a5b4c6368b18295f88eef49beeae4d347bc02875594c08cdf1b7fb196fb7e0d6b7d71004db0097a12 -MISC metadata.xml 441 BLAKE2B d2e47e40cd430deb50428472c2a1aa280b888429892f59bf49a58b3ace4210005efd9489821c89ec59b72b398ef78510817a552dbbb65f2e64c9725ab0375507 SHA512 b6a65d642333fb19a34c4f1342b58ee9eadb9824f078a7cd9faac06d3d9e731ea67aa138a8e36db797b755dd382873583808aa6460375ebedf61443be962fc5d diff --git a/dev-python/carbon/carbon-0.9.13-r1.ebuild b/dev-python/carbon/carbon-0.9.13-r1.ebuild deleted file mode 100644 index b861686a53d5..000000000000 --- a/dev-python/carbon/carbon-0.9.13-r1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -DESCRIPTION="Backend data caching and persistence daemon for Graphite" -HOMEPAGE="http://graphite.wikidot.com/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -SLOT="0" -LICENSE="Apache-2.0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND=" - dev-python/twisted-core[${PYTHON_USEDEP}] - dev-python/whisper[${PYTHON_USEDEP}] - dev-python/txAMQP[${PYTHON_USEDEP}]" - -PATCHES=( - # Do not install the configuration and data files. We install them - # somewhere sensible by hand. - "${FILESDIR}"/${PN}-0.9.12-no-data-files.patch - ) - -python_prepare_all() { - # This sets prefix to /opt/graphite. We want FHS-style paths instead. - rm setup.cfg || die - distutils-r1_python_prepare_all -} - -python_install_all() { - distutils-r1_python_install_all - - insinto /etc/carbon - doins conf/* - - dodir /var/log/carbon /var/lib/carbon/{whisper,lists,rrd} - - newinitd "${FILESDIR}"/carbon.initd2 carbon-cache - newinitd "${FILESDIR}"/carbon.initd2 carbon-relay - newinitd "${FILESDIR}"/carbon.initd2 carbon-aggregator - - newconfd "${FILESDIR}"/carbon.confd carbon-cache - newconfd "${FILESDIR}"/carbon.confd carbon-relay - newconfd "${FILESDIR}"/carbon.confd carbon-aggregator -} - -pkg_postinst() { - einfo 'This ebuild installs carbon into FHS-style paths.' - einfo 'You will probably have to set GRAPHITE_CONF_DIR to /etc/carbon' - einfo 'and GRAPHITE_STORAGE_DIR to /var/lib/carbon to make use of this' - einfo '(see /etc/carbon/carbon.conf.example).' - einfo ' ' - einfo 'OpenRC init script supports multiple instances !' - einfo 'Example to run an instance b of carbon-cache :' - einfo ' ln -s /etc/init.d/carbon-cache /etc/init.d/carbon-cache.b' - einfo ' cp /etc/conf.d/carbon-cache /etc/conf.d/carbon-cache.b' -} diff --git a/dev-python/carbon/carbon-0.9.13.ebuild b/dev-python/carbon/carbon-0.9.13.ebuild deleted file mode 100644 index e30fd7dff586..000000000000 --- a/dev-python/carbon/carbon-0.9.13.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -DESCRIPTION="Backend data caching and persistence daemon for Graphite" -HOMEPAGE="http://graphite.wikidot.com/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -SLOT="0" -LICENSE="Apache-2.0" -KEYWORDS="amd64 x86" -IUSE="" - -DEPEND="" -RDEPEND=" - dev-python/twisted-core[${PYTHON_USEDEP}] - dev-python/whisper[${PYTHON_USEDEP}] - dev-python/txAMQP[${PYTHON_USEDEP}]" - -PATCHES=( - # Do not install the configuration and data files. We install them - # somewhere sensible by hand. - "${FILESDIR}"/${PN}-0.9.12-no-data-files.patch - ) - -python_prepare_all() { - # This sets prefix to /opt/graphite. We want FHS-style paths instead. - rm setup.cfg || die - distutils-r1_python_prepare_all -} - -python_install_all() { - distutils-r1_python_install_all - - insinto /etc/carbon - doins conf/* - - dodir /var/log/carbon /var/lib/carbon/{whisper,lists,rrd} - - newinitd "${FILESDIR}"/carbon.initd carbon-cache - newinitd "${FILESDIR}"/carbon.initd carbon-relay - newinitd "${FILESDIR}"/carbon.initd carbon-aggregator - - newconfd "${FILESDIR}"/carbon.confd carbon-cache - newconfd "${FILESDIR}"/carbon.confd carbon-relay - newconfd "${FILESDIR}"/carbon.confd carbon-aggregator -} - -pkg_postinst() { - einfo 'This ebuild installs carbon into FHS-style paths.' - einfo 'You will probably have to set GRAPHITE_CONF_DIR to /etc/carbon' - einfo 'and GRAPHITE_STORAGE_DIR to /var/lib/carbon to make use of this' - einfo '(see /etc/carbon/carbon.conf.example).' - einfo ' ' - einfo 'OpenRC init script supports multiple instances !' - einfo 'Example to run an instance b of carbon-cache :' - einfo ' ln -s /etc/init.d/carbon-cache /etc/init.d/carbon-cache.b' - einfo ' cp /etc/conf.d/carbon-cache /etc/conf.d/carbon-cache.b' -} diff --git a/dev-python/carbon/carbon-0.9.14-r1.ebuild b/dev-python/carbon/carbon-0.9.14-r1.ebuild deleted file mode 100644 index 5ef85c12f72d..000000000000 --- a/dev-python/carbon/carbon-0.9.14-r1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -DESCRIPTION="Backend data caching and persistence daemon for Graphite" -HOMEPAGE="http://graphite.wikidot.com/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -SLOT="0" -LICENSE="Apache-2.0" -KEYWORDS="~amd64 ~x86 ~x64-solaris" - -# whisper appears to have been missed from listing in install_requires in setup.py -RDEPEND=" - dev-python/twisted-core[${PYTHON_USEDEP}] - dev-python/whisper[${PYTHON_USEDEP}] - dev-python/txAMQP[${PYTHON_USEDEP}]" - -PATCHES=( - # Do not install the configuration and data files. We install them - # somewhere sensible by hand. Patch for this vn. 0.9.14 has been extended - # due to redhat's init scripts set to install unconditionally in setup.py - "${FILESDIR}"/${P}-no-data-files.patch - ) - -python_prepare_all() { - # This sets prefix to /opt/graphite. We want FHS-style paths instead. - rm setup.cfg || die - distutils-r1_python_prepare_all -} - -python_install_all() { - distutils-r1_python_install_all - - insinto /etc/carbon - doins conf/* - - dodir /var/log/carbon /var/lib/carbon/{whisper,lists,rrd} - - newinitd "${FILESDIR}"/carbon.initd2 carbon-cache - newinitd "${FILESDIR}"/carbon.initd2 carbon-relay - newinitd "${FILESDIR}"/carbon.initd2 carbon-aggregator - - newconfd "${FILESDIR}"/carbon.confd carbon-cache - newconfd "${FILESDIR}"/carbon.confd carbon-relay - newconfd "${FILESDIR}"/carbon.confd carbon-aggregator -} - -pkg_postinst() { - einfo 'This ebuild installs carbon into FHS-style paths.' - einfo 'You will probably have to set GRAPHITE_CONF_DIR to /etc/carbon' - einfo 'and GRAPHITE_STORAGE_DIR to /var/lib/carbon to make use of this' - einfo '(see /etc/carbon/carbon.conf.example).' - einfo ' ' - einfo 'OpenRC init script supports multiple instances !' - einfo 'Example to run an instance b of carbon-cache :' - einfo ' ln -s /etc/init.d/carbon-cache /etc/init.d/carbon-cache.b' - einfo ' cp /etc/conf.d/carbon-cache /etc/conf.d/carbon-cache.b' -} diff --git a/dev-python/carbon/carbon-0.9.15-r1.ebuild b/dev-python/carbon/carbon-0.9.15-r1.ebuild deleted file mode 100644 index faf2c6aefcb9..000000000000 --- a/dev-python/carbon/carbon-0.9.15-r1.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 ) - -inherit distutils-r1 - -DESCRIPTION="Backend data caching and persistence daemon for Graphite" -HOMEPAGE="http://graphite.wikidot.com/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -SLOT="0" -LICENSE="Apache-2.0" -KEYWORDS="~amd64 ~x86 ~x64-solaris" - -# whisper appears to have been missed from listing in install_requires in setup.py -RDEPEND=" - dev-python/twisted-core[${PYTHON_USEDEP}] - dev-python/whisper[${PYTHON_USEDEP}] - dev-python/txAMQP[${PYTHON_USEDEP}]" - -PATCHES=( - # Do not install the configuration and data files. We install them - # somewhere sensible by hand. Patch for this vn. 0.9.14 has been extended - # due to redhat's init scripts set to install unconditionally in setup.py - "${FILESDIR}"/${PN}-0.9.14-no-data-files.patch - ) - -python_prepare_all() { - # This sets prefix to /opt/graphite. We want FHS-style paths instead. - rm setup.cfg || die - distutils-r1_python_prepare_all -} - -python_install_all() { - distutils-r1_python_install_all - - insinto /etc/carbon - doins conf/* - - dodir /var/log/carbon /var/lib/carbon/{whisper,lists,rrd} - - newinitd "${FILESDIR}"/carbon.initd2 carbon-cache - newinitd "${FILESDIR}"/carbon.initd2 carbon-relay - newinitd "${FILESDIR}"/carbon.initd2 carbon-aggregator - - newconfd "${FILESDIR}"/carbon.confd carbon-cache - newconfd "${FILESDIR}"/carbon.confd carbon-relay - newconfd "${FILESDIR}"/carbon.confd carbon-aggregator -} - -pkg_postinst() { - einfo 'This ebuild installs carbon into FHS-style paths.' - einfo 'You will probably have to set GRAPHITE_CONF_DIR to /etc/carbon' - einfo 'and GRAPHITE_STORAGE_DIR to /var/lib/carbon to make use of this' - einfo '(see /etc/carbon/carbon.conf.example).' - einfo ' ' - einfo 'OpenRC init script supports multiple instances !' - einfo 'Example to run an instance b of carbon-cache :' - einfo ' ln -s /etc/init.d/carbon-cache /etc/init.d/carbon-cache.b' - einfo ' cp /etc/conf.d/carbon-cache /etc/conf.d/carbon-cache.b' -} diff --git a/dev-python/carbon/carbon-1.1.3.ebuild b/dev-python/carbon/carbon-1.1.3.ebuild deleted file mode 100644 index 91d82b54c360..000000000000 --- a/dev-python/carbon/carbon-1.1.3.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python{2_7,3_{4,5,6}} ) - -inherit distutils-r1 - -DESCRIPTION="Backend data caching and persistence daemon for Graphite" -HOMEPAGE="http://graphite.wikidot.com/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -SLOT="0" -LICENSE="Apache-2.0" -KEYWORDS="~amd64 ~x86 ~x64-solaris" - -# whisper appears to have been missed from listing in install_requires in setup.py -RDEPEND=" - dev-python/twisted[${PYTHON_USEDEP}] - dev-python/cachetools[${PYTHON_USEDEP}] - dev-python/txAMQP[${PYTHON_USEDEP}] - dev-python/urllib3[${PYTHON_USEDEP}] - =dev-python/whisper-${PV}*[${PYTHON_USEDEP}]" - -python_prepare_all() { - # Do not install the configuration and data files. We install them - # somewhere sensible by hand. - sed -i -e '/data_files=install_files,/d' setup.py || die - # We want FHS-style paths instead of /opt/graphite - export GRAPHITE_NO_PREFIX=yes - distutils-r1_python_prepare_all -} - -python_install_all() { - distutils-r1_python_install_all - - insinto /etc/carbon - doins conf/* - - keepdir /var/log/carbon /var/lib/carbon/{whisper,lists,rrd} - - newinitd "${FILESDIR}"/carbon.initd2 carbon-cache - newinitd "${FILESDIR}"/carbon.initd2 carbon-relay - newinitd "${FILESDIR}"/carbon.initd2 carbon-aggregator - - newconfd "${FILESDIR}"/carbon.confd carbon-cache - newconfd "${FILESDIR}"/carbon.confd carbon-relay - newconfd "${FILESDIR}"/carbon.confd carbon-aggregator -} - -pkg_postinst() { - einfo 'This ebuild installs carbon into FHS-style paths.' - einfo 'You will probably have to set GRAPHITE_CONF_DIR to /etc/carbon' - einfo 'and GRAPHITE_STORAGE_DIR to /var/lib/carbon to make use of this' - einfo '(see /etc/carbon/carbon.conf.example).' - einfo ' ' - einfo 'OpenRC init script supports multiple instances !' - einfo 'Example to run an instance b of carbon-cache :' - einfo ' ln -s /etc/init.d/carbon-cache /etc/init.d/carbon-cache.b' - einfo ' cp /etc/conf.d/carbon-cache /etc/conf.d/carbon-cache.b' -} diff --git a/dev-python/carbon/files/carbon-0.9.12-no-data-files.patch b/dev-python/carbon/files/carbon-0.9.12-no-data-files.patch deleted file mode 100644 index 129c7189f3b0..000000000000 --- a/dev-python/carbon/files/carbon-0.9.12-no-data-files.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -ur carbon-0.9.12.orig/setup.py carbon-0.9.12/setup.py ---- /setup.py 2013-08-22 00:53:16.000000000 +0800 -+++ /setup.py 2014-01-26 11:20:59.705864697 +0800 -@@ -13,12 +13,6 @@ - setup_kwargs = dict() - - --storage_dirs = [ ('storage/whisper',[]), ('storage/lists',[]), -- ('storage/log',[]), ('storage/rrd',[]) ] --conf_files = [ ('conf', glob('conf/*.example')) ] -- --install_files = storage_dirs + conf_files -- - # If we are building on RedHat, let's use the redhat init scripts. - if platform.dist()[0] == 'redhat': - init_scripts = [ ('/etc/init.d', ['distro/redhat/init.d/carbon-cache', -@@ -39,7 +33,6 @@ - package_dir={'' : 'lib'}, - scripts=glob('bin/*'), - package_data={ 'carbon' : ['*.xml'] }, -- data_files=install_files, - install_requires=['twisted', 'txamqp'], - **setup_kwargs - ) diff --git a/dev-python/carbon/files/carbon-0.9.14-no-data-files.patch b/dev-python/carbon/files/carbon-0.9.14-no-data-files.patch deleted file mode 100644 index 858d362d296d..000000000000 --- a/dev-python/carbon/files/carbon-0.9.14-no-data-files.patch +++ /dev/null @@ -1,32 +0,0 @@ -diff -ur carbon-0.9.14.orig/setup.py carbon-0.9.14/setup.py ---- setup.py 2015-11-07 13:50:29.000000000 +0800 -+++ setup.py 2015-12-27 08:43:46.575905408 +0800 -@@ -13,20 +13,6 @@ - setup_kwargs = dict() - - --storage_dirs = [ ('storage/whisper',[]), ('storage/lists',[]), -- ('storage/log',[]), ('storage/rrd',[]) ] --conf_files = [ ('conf', glob('conf/*.example')) ] -- --install_files = storage_dirs + conf_files -- --# Let's include redhat init scripts, despite build platform --# but won't put them in /etc/init.d/ automatically anymore --init_scripts = [ ('examples/init.d', ['distro/redhat/init.d/carbon-cache', -- 'distro/redhat/init.d/carbon-relay', -- 'distro/redhat/init.d/carbon-aggregator']) ] --install_files += init_scripts -- -- - setup( - name='carbon', - version='0.9.14', -@@ -39,7 +25,6 @@ - package_dir={'' : 'lib'}, - scripts=glob('bin/*'), - package_data={ 'carbon' : ['*.xml'] }, -- data_files=install_files, - install_requires=['twisted', 'txamqp'], - **setup_kwargs - ) diff --git a/dev-python/carbon/files/carbon.confd b/dev-python/carbon/files/carbon.confd deleted file mode 100644 index b1875e134678..000000000000 --- a/dev-python/carbon/files/carbon.confd +++ /dev/null @@ -1,5 +0,0 @@ -# Use the given config file -CARBON_CONFIG="/etc/carbon/carbon.conf" - -# Add extra parameters -CARBON_EXTRA_PARAMETERS="" diff --git a/dev-python/carbon/files/carbon.initd b/dev-python/carbon/files/carbon.initd deleted file mode 100644 index a33a70c60f93..000000000000 --- a/dev-python/carbon/files/carbon.initd +++ /dev/null @@ -1,51 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -export GRAPHITE_CONF_DIR=/etc/carbon -export GRAPHITE_STORAGE_DIR=/var/lib/carbon - -INSTANCE=${SVCNAME/#*.} -if [ "${INSTANCE}" == "${SVCNAME}" ]; then - INSTANCE="a" -fi - -PIDFILE="/var/run/${SVCNAME}.pid" -PROGRAMNAME=${SVCNAME/.*} - -CARBON_CONFIG=${CARBON_CONFIG:-/etc/carbon/carbon.conf} - -depend() { - use net -} - - -start_pre() { - if [ ! -f ${CARBON_CONFIG} ] ; then - eend "Missing ${CARBON_CONFIG}" - fi - case "${PROGRAMNAME}" in - "carbon-relay" ) - [ -f /etc/carbon/relay-rules.conf ] || eend "Missing relay-rules.conf" - ;; - "carbon-aggregator" ) - [ -f /etc/carbon/aggregation-rules.conf ] || eend "Missing missing aggregation-rules.conf" - ;; - esac -} - -start() { - ebegin "Starting ${PROGRAMNAME} instance ${INSTANCE}" - start-stop-daemon --start --exec /usr/bin/${PROGRAMNAME}.py \ - --pidfile ${PIDFILE} \ - -- --pidfile ${PIDFILE} --instance ${INSTANCE} \ - --logdir /var/log/carbon/ --config ${CARBON_CONFIG} start >/dev/null - eend $? "Failed to start ${SVCNAME}" -} - -stop() { - ebegin "Stopping ${PROGRAMNAME} instance ${INSTANCE}" - start-stop-daemon --stop \ - --pidfile ${PIDFILE} - eend $? "Failed to stop ${SVCNAME}" -} diff --git a/dev-python/carbon/files/carbon.initd2 b/dev-python/carbon/files/carbon.initd2 deleted file mode 100644 index ff1509747ef1..000000000000 --- a/dev-python/carbon/files/carbon.initd2 +++ /dev/null @@ -1,53 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -export GRAPHITE_CONF_DIR=/etc/carbon -export GRAPHITE_STORAGE_DIR=/var/lib/carbon - -INSTANCE=${SVCNAME#*.} -if [ "${INSTANCE}" = "${SVCNAME}" ]; then - INSTANCE="a" -fi - -PIDFILE="/var/run/${SVCNAME}.pid" -PROGRAMNAME=${SVCNAME%%.*} - -CARBON_CONFIG=${CARBON_CONFIG:-/etc/carbon/carbon.conf} - -depend() { - use net -} - - -start_pre() { - if [ ! -f ${CARBON_CONFIG} ] ; then - eend "Missing ${CARBON_CONFIG}" - fi - case "${PROGRAMNAME}" in - "carbon-relay" ) - if `grep -q "^RELAY_METHOD = rules$" ${CARBON_CONFIG}`; then - [ -f /etc/carbon/relay-rules.conf ] || eend "Missing relay-rules.conf" - fi - ;; - "carbon-aggregator" ) - [ -f /etc/carbon/aggregation-rules.conf ] || eend "Missing missing aggregation-rules.conf" - ;; - esac -} - -start() { - ebegin "Starting ${PROGRAMNAME} instance ${INSTANCE}" - start-stop-daemon --start --exec /usr/bin/${PROGRAMNAME}.py \ - --pidfile ${PIDFILE} \ - -- --pidfile ${PIDFILE} --instance ${INSTANCE} \ - --logdir /var/log/carbon/ --config ${CARBON_CONFIG} start >/dev/null - eend $? "Failed to start ${SVCNAME}" -} - -stop() { - ebegin "Stopping ${PROGRAMNAME} instance ${INSTANCE}" - start-stop-daemon --stop \ - --pidfile ${PIDFILE} - eend $? "Failed to stop ${SVCNAME}" -} diff --git a/dev-python/carbon/files/no-data-files.patch b/dev-python/carbon/files/no-data-files.patch deleted file mode 100644 index 7b0c52f3948b..000000000000 --- a/dev-python/carbon/files/no-data-files.patch +++ /dev/null @@ -1,26 +0,0 @@ -Do not install the empty storage dirs and config files to the wrong -location (the ebuild installs them to the right location by hand). - -See Gentoo bug #417221. - ---- setup.py -+++ setup.py -@@ -12,9 +12,6 @@ - setup_kwargs = dict() - - --storage_dirs = [ ('storage/whisper',[]), ('storage/lists',[]), -- ('storage/log',[]), ('storage/rrd',[]) ] --conf_files = [ ('conf', glob('conf/*.example')) ] - #XXX Need a way to have these work for bdist_rpm but be left alone for everything else - #init_scripts = [ ('/etc/init.d', ['distro/redhat/init.d/carbon-cache', - # 'distro/redhat/init.d/carbon-relay', -@@ -32,7 +29,6 @@ - package_dir={'' : 'lib'}, - scripts=glob('bin/*'), - package_data={ 'carbon' : ['*.xml'] }, -- data_files=storage_dirs + conf_files, # + init_scripts, - install_requires=['twisted', 'txamqp'], - **setup_kwargs - ) - diff --git a/dev-python/carbon/metadata.xml b/dev-python/carbon/metadata.xml deleted file mode 100644 index 652e85d0ce90..000000000000 --- a/dev-python/carbon/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>patrick@gentoo.org</email> - <name>Patrick Lauer</name> - </maintainer> - <maintainer type="person"> - <email>grobian@gentoo.org</email> - <name>Fabian Groffen</name> - </maintainer> - <upstream> - <remote-id type="pypi">carbon</remote-id> - </upstream> -</pkgmetadata> |