diff options
author | Justin Lecher <jlec@gentoo.org> | 2013-05-09 15:50:08 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-05-09 15:50:08 +0000 |
commit | 561a695abf73c231dde68fc5cfe50d9a2875d0da (patch) | |
tree | 3630e8827cdfdec7e4567abe6c1d669d402b39e8 /dev-python/carbon | |
parent | package.use.mask x11-misc/lightdm[razor] (diff) | |
download | gentoo-2-561a695abf73c231dde68fc5cfe50d9a2875d0da.tar.gz gentoo-2-561a695abf73c231dde68fc5cfe50d9a2875d0da.tar.bz2 gentoo-2-561a695abf73c231dde68fc5cfe50d9a2875d0da.zip |
dev-python/carbon: Bump to distutils-r1
(Portage version: 2.2.0_alpha174/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
Diffstat (limited to 'dev-python/carbon')
-rw-r--r-- | dev-python/carbon/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/carbon/carbon-0.9.10-r1.ebuild | 52 | ||||
-rw-r--r-- | dev-python/carbon/metadata.xml | 8 |
3 files changed, 64 insertions, 6 deletions
diff --git a/dev-python/carbon/ChangeLog b/dev-python/carbon/ChangeLog index b66bc7627249..54872acbb765 100644 --- a/dev-python/carbon/ChangeLog +++ b/dev-python/carbon/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/carbon -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/carbon/ChangeLog,v 1.3 2012/06/22 15:23:20 marienz Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/carbon/ChangeLog,v 1.4 2013/05/09 15:50:08 jlec Exp $ + +*carbon-0.9.10-r1 (09 May 2013) + + 09 May 2013; Justin Lecher <jlec@gentoo.org> +carbon-0.9.10-r1.ebuild, + metadata.xml: + Bump to distutils-r1 *carbon-0.9.10 (22 Jun 2012) diff --git a/dev-python/carbon/carbon-0.9.10-r1.ebuild b/dev-python/carbon/carbon-0.9.10-r1.ebuild new file mode 100644 index 000000000000..2d5a1ea8cc86 --- /dev/null +++ b/dev-python/carbon/carbon-0.9.10-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/carbon/carbon-0.9.10-r1.ebuild,v 1.1 2013/05/09 15:50:08 jlec Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_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="${DEPEND} + dev-python/twisted + 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}"/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} +} + +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).' +} diff --git a/dev-python/carbon/metadata.xml b/dev-python/carbon/metadata.xml index 99cf1a2824d0..42a6c423cb5c 100644 --- a/dev-python/carbon/metadata.xml +++ b/dev-python/carbon/metadata.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>python</herd> - <upstream> - <remote-id type="pypi">carbon</remote-id> - </upstream> + <herd>python</herd> + <upstream> + <remote-id type="pypi">carbon</remote-id> + </upstream> </pkgmetadata> |