summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-12 17:37:53 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-12 17:37:53 +0000
commita301af695ad99a0c5a8916d27a4eb94cd43a108a (patch)
tree7c274214866f6c2163ad2c8455feacb3346f2ce1 /sci-chemistry
parentMarked ~hppa (bug #359893). (diff)
downloadgentoo-2-a301af695ad99a0c5a8916d27a4eb94cd43a108a.tar.gz
gentoo-2-a301af695ad99a0c5a8916d27a4eb94cd43a108a.tar.bz2
gentoo-2-a301af695ad99a0c5a8916d27a4eb94cd43a108a.zip
Fix dependencies. Don't use distutils.eclass.
(Portage version: 2.2.0_alpha29_p17/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/pdb2pqr/pdb2pqr-1.5.0-r2.ebuild15
-rw-r--r--sci-chemistry/pdb2pqr/pdb2pqr-1.7.0-r1.ebuild15
-rw-r--r--sci-chemistry/pdb2pqr/pdb2pqr-1.7.0.ebuild15
3 files changed, 36 insertions, 9 deletions
diff --git a/sci-chemistry/pdb2pqr/pdb2pqr-1.5.0-r2.ebuild b/sci-chemistry/pdb2pqr/pdb2pqr-1.5.0-r2.ebuild
index 7f3ef8f3640a..b8cf9d036ea4 100644
--- a/sci-chemistry/pdb2pqr/pdb2pqr-1.5.0-r2.ebuild
+++ b/sci-chemistry/pdb2pqr/pdb2pqr-1.5.0-r2.ebuild
@@ -1,14 +1,15 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pdb2pqr/pdb2pqr-1.5.0-r2.ebuild,v 1.7 2010/12/20 08:44:08 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pdb2pqr/pdb2pqr-1.5.0-r2.ebuild,v 1.8 2011/04/12 17:37:53 arfrever Exp $
EAPI="3"
+PYTHON_DEPEND="2:2.5"
SUPPORT_PYTHON_ABIS="1"
PYTHON_EXPORT_PHASE_FUNCTIONS="1"
RESTRICT_PYTHON_ABIS="2.4 3.*"
-inherit autotools distutils eutils flag-o-matic multilib toolchain-funcs versionator
+inherit autotools eutils flag-o-matic python toolchain-funcs versionator
MY_PV=$(get_version_component_range 1-2)
MY_P="${PN}-${MY_PV}"
@@ -143,3 +144,11 @@ src_install() {
dodoc ChangeLog NEWS README AUTHORS || \
die "Failed to install docs"
}
+
+pkg_postinst() {
+ python_mod_optimize ${PN}
+}
+
+pkg_postrm() {
+ python_mod_cleanup ${PN}
+}
diff --git a/sci-chemistry/pdb2pqr/pdb2pqr-1.7.0-r1.ebuild b/sci-chemistry/pdb2pqr/pdb2pqr-1.7.0-r1.ebuild
index 9a7a41445178..0335b9ad0b5c 100644
--- a/sci-chemistry/pdb2pqr/pdb2pqr-1.7.0-r1.ebuild
+++ b/sci-chemistry/pdb2pqr/pdb2pqr-1.7.0-r1.ebuild
@@ -1,14 +1,15 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pdb2pqr/pdb2pqr-1.7.0-r1.ebuild,v 1.4 2010/12/20 08:44:08 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pdb2pqr/pdb2pqr-1.7.0-r1.ebuild,v 1.5 2011/04/12 17:37:53 arfrever Exp $
EAPI="3"
+PYTHON_DEPEND="2:2.5"
SUPPORT_PYTHON_ABIS="1"
PYTHON_EXPORT_PHASE_FUNCTIONS="1"
RESTRICT_PYTHON_ABIS="2.4 3.*"
-inherit autotools distutils eutils flag-o-matic multilib toolchain-funcs versionator
+inherit autotools eutils flag-o-matic python toolchain-funcs versionator
MY_PV=$(get_version_component_range 1-2)
MY_P="${PN}-${MY_PV}"
@@ -165,3 +166,11 @@ src_install() {
dodoc ChangeLog NEWS README AUTHORS || \
die "Failed to install docs"
}
+
+pkg_postinst() {
+ python_mod_optimize ${PN}
+}
+
+pkg_postrm() {
+ python_mod_cleanup ${PN}
+}
diff --git a/sci-chemistry/pdb2pqr/pdb2pqr-1.7.0.ebuild b/sci-chemistry/pdb2pqr/pdb2pqr-1.7.0.ebuild
index ecf92df7d9d9..3b5f0e1b16de 100644
--- a/sci-chemistry/pdb2pqr/pdb2pqr-1.7.0.ebuild
+++ b/sci-chemistry/pdb2pqr/pdb2pqr-1.7.0.ebuild
@@ -1,14 +1,15 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pdb2pqr/pdb2pqr-1.7.0.ebuild,v 1.5 2010/12/20 08:44:08 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pdb2pqr/pdb2pqr-1.7.0.ebuild,v 1.6 2011/04/12 17:37:53 arfrever Exp $
EAPI="3"
+PYTHON_DEPEND="2:2.5"
SUPPORT_PYTHON_ABIS="1"
PYTHON_EXPORT_PHASE_FUNCTIONS="1"
RESTRICT_PYTHON_ABIS="2.4 3.*"
-inherit autotools distutils eutils flag-o-matic multilib toolchain-funcs versionator
+inherit autotools eutils flag-o-matic python toolchain-funcs versionator
MY_PV=$(get_version_component_range 1-2)
MY_P="${PN}-${MY_PV}"
@@ -143,3 +144,11 @@ src_install() {
dodoc ChangeLog NEWS README AUTHORS || \
die "Failed to install docs"
}
+
+pkg_postinst() {
+ python_mod_optimize ${PN}
+}
+
+pkg_postrm() {
+ python_mod_cleanup ${PN}
+}