diff options
author | Jeroen Roovers <jer@gentoo.org> | 2011-04-16 17:10:56 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2011-04-16 17:10:56 +0000 |
commit | 62941f3ca7a022b6e15f75fc4a88d24d4b4f928f (patch) | |
tree | 629675510ed970e27ffdce924f79ad941b9d0415 /dev-python/pyparted | |
parent | ia64 stable wrt #354609 (diff) | |
download | gentoo-2-62941f3ca7a022b6e15f75fc4a88d24d4b4f928f.tar.gz gentoo-2-62941f3ca7a022b6e15f75fc4a88d24d4b4f928f.tar.bz2 gentoo-2-62941f3ca7a022b6e15f75fc4a88d24d4b4f928f.zip |
Version bump.
(Portage version: 2.2.0_alpha30/cvs/Linux i686)
Diffstat (limited to 'dev-python/pyparted')
-rw-r--r-- | dev-python/pyparted/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/pyparted/pyparted-3.6.ebuild | 49 |
2 files changed, 55 insertions, 1 deletions
diff --git a/dev-python/pyparted/ChangeLog b/dev-python/pyparted/ChangeLog index a942e44060ad..1d88af58e392 100644 --- a/dev-python/pyparted/ChangeLog +++ b/dev-python/pyparted/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/pyparted # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyparted/ChangeLog,v 1.59 2011/03/03 01:22:50 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyparted/ChangeLog,v 1.60 2011/04/16 17:10:55 jer Exp $ + +*pyparted-3.6 (16 Apr 2011) + + 16 Apr 2011; Jeroen Roovers <jer@gentoo.org> +pyparted-3.6.ebuild: + Version bump. 03 Mar 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> pyparted-3.4.ebuild, pyparted-3.5.ebuild: diff --git a/dev-python/pyparted/pyparted-3.6.ebuild b/dev-python/pyparted/pyparted-3.6.ebuild new file mode 100644 index 000000000000..94c3e1688f3c --- /dev/null +++ b/dev-python/pyparted/pyparted-3.6.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyparted/pyparted-3.6.ebuild,v 1.1 2011/04/16 17:10:56 jer Exp $ + +EAPI="3" +PYTHON_DEPEND="2:2.7" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.* *-jython" +PYTHON_EXPORT_PHASE_FUNCTIONS="1" + +inherit autotools python + +DESCRIPTION="Python bindings for sys-block/parted" +HOMEPAGE="https://fedorahosted.org/pyparted/" +SRC_URI="https://fedorahosted.org/releases/p/y/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +DEPEND="dev-python/decorator + >=sys-block/parted-2.3 + sys-libs/ncurses" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i -e 's/-avoid-version/& -shared /' src/Makefile.am || die "sed failed" + eautoreconf + + # Disable byte-compilation of Python modules. + echo "#!/bin/sh" > py-compile + + python_src_prepare +} + +src_install() { + python_src_install + python_clean_installation_image + dodoc ChangeLog NEWS README TODO +} + +pkg_postinst() { + python_mod_optimize parted +} + +pkg_postrm() { + python_mod_cleanup parted +} |