diff options
author | 2012-11-11 17:27:48 +0000 | |
---|---|---|
committer | 2012-11-11 17:27:48 +0000 | |
commit | 03b80552873503cff0e56190badd8618c5c0a070 (patch) | |
tree | 6ecbb40b502c27c211412b9628d499138340168c /dev-db | |
parent | Eapi4, convert src_install to emake, add ~amd64 (diff) | |
download | gentoo-2-03b80552873503cff0e56190badd8618c5c0a070.tar.gz gentoo-2-03b80552873503cff0e56190badd8618c5c0a070.tar.bz2 gentoo-2-03b80552873503cff0e56190badd8618c5c0a070.zip |
Explicit Python. Fixes bug 434054.
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/pgtune/ChangeLog | 7 | ||||
-rw-r--r-- | dev-db/pgtune/pgtune-0.9.3-r1.ebuild | 33 |
2 files changed, 39 insertions, 1 deletions
diff --git a/dev-db/pgtune/ChangeLog b/dev-db/pgtune/ChangeLog index 6122a68a3351..8b40db4cfcd1 100644 --- a/dev-db/pgtune/ChangeLog +++ b/dev-db/pgtune/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-db/pgtune # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/pgtune/ChangeLog,v 1.1 2012/08/29 08:09:53 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/pgtune/ChangeLog,v 1.2 2012/11/11 17:27:48 titanofold Exp $ + +*pgtune-0.9.3-r1 (11 Nov 2012) + + 11 Nov 2012; <titan@gentoo.org> +pgtune-0.9.3-r1.ebuild: + Explicit Python. Fixes bug 434054. *pgtune-0.9.3 (29 Aug 2012) diff --git a/dev-db/pgtune/pgtune-0.9.3-r1.ebuild b/dev-db/pgtune/pgtune-0.9.3-r1.ebuild new file mode 100644 index 000000000000..7d55c32c4a63 --- /dev/null +++ b/dev-db/pgtune/pgtune-0.9.3-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/pgtune/pgtune-0.9.3-r1.ebuild,v 1.1 2012/11/11 17:27:48 titanofold Exp $ +EAPI=4 + +inherit eutils + +DESCRIPTION="A postgresql settings tuning wizard" + +HOMEPAGE="http://pgfoundry.org/projects/pgtune/" +SRC_URI="http://pgfoundry.org/frs/download.php/2449/${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~x86 ~amd64" + +IUSE="" + +RDEPEND="dev-lang/python" +DEPEND="${RDEPEND}" + +src_prepare() { + sed -e '1 s|python|python2|' -i pgtune +} + +src_install() { + mkdir -p "${D}/usr/bin" + mkdir -p "${D}/usr/share/doc/${P}" + cp "${S}/pgtune" "${D}/usr/bin/pgtune" || die + for i in COPYRIGHT README TODO pg_settings-8.4-32 pg_settings-8.4-64 pgtune-settingsdir.patch pgtune.spec postgresql.conf.sample; do + cp "${S}/${i}" "${D}/usr/share/doc/${P}" || die + done + docompress -x /usr/share/doc +} |