public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-chemistry/pdb2pqr: pdb2pqr-1.7.0-r1.ebuild pdb2pqr-1.7.0.ebuild pdb2pqr-1.5.0-r2.ebuild
@ 2011-04-12 17:37 Arfrever Frehtes Taifersar Arahesis (arfrever)
  0 siblings, 0 replies; only message in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2011-04-12 17:37 UTC (permalink / raw
  To: gentoo-commits

arfrever    11/04/12 17:37:53

  Modified:             pdb2pqr-1.7.0-r1.ebuild pdb2pqr-1.7.0.ebuild
                        pdb2pqr-1.5.0-r2.ebuild
  Log:
  Fix dependencies. Don't use distutils.eclass.
  
  (Portage version: 2.2.0_alpha29_p17/cvs/Linux x86_64)

Revision  Changes    Path
1.5                  sci-chemistry/pdb2pqr/pdb2pqr-1.7.0-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb2pqr/pdb2pqr-1.7.0-r1.ebuild?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb2pqr/pdb2pqr-1.7.0-r1.ebuild?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb2pqr/pdb2pqr-1.7.0-r1.ebuild?r1=1.4&r2=1.5

Index: pdb2pqr-1.7.0-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/pdb2pqr/pdb2pqr-1.7.0-r1.ebuild,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- pdb2pqr-1.7.0-r1.ebuild	20 Dec 2010 08:44:08 -0000	1.4
+++ pdb2pqr-1.7.0-r1.ebuild	12 Apr 2011 17:37:53 -0000	1.5
@@ -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 @@
 	dodoc ChangeLog NEWS README AUTHORS || \
 		die "Failed to install docs"
 }
+
+pkg_postinst() {
+	python_mod_optimize ${PN}
+}
+
+pkg_postrm() {
+	python_mod_cleanup ${PN}
+}



1.6                  sci-chemistry/pdb2pqr/pdb2pqr-1.7.0.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb2pqr/pdb2pqr-1.7.0.ebuild?rev=1.6&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb2pqr/pdb2pqr-1.7.0.ebuild?rev=1.6&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb2pqr/pdb2pqr-1.7.0.ebuild?r1=1.5&r2=1.6

Index: pdb2pqr-1.7.0.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/pdb2pqr/pdb2pqr-1.7.0.ebuild,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- pdb2pqr-1.7.0.ebuild	20 Dec 2010 08:44:08 -0000	1.5
+++ pdb2pqr-1.7.0.ebuild	12 Apr 2011 17:37:53 -0000	1.6
@@ -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 @@
 	dodoc ChangeLog NEWS README AUTHORS || \
 		die "Failed to install docs"
 }
+
+pkg_postinst() {
+	python_mod_optimize ${PN}
+}
+
+pkg_postrm() {
+	python_mod_cleanup ${PN}
+}



1.8                  sci-chemistry/pdb2pqr/pdb2pqr-1.5.0-r2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb2pqr/pdb2pqr-1.5.0-r2.ebuild?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb2pqr/pdb2pqr-1.5.0-r2.ebuild?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb2pqr/pdb2pqr-1.5.0-r2.ebuild?r1=1.7&r2=1.8

Index: pdb2pqr-1.5.0-r2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/pdb2pqr/pdb2pqr-1.5.0-r2.ebuild,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- pdb2pqr-1.5.0-r2.ebuild	20 Dec 2010 08:44:08 -0000	1.7
+++ pdb2pqr-1.5.0-r2.ebuild	12 Apr 2011 17:37:53 -0000	1.8
@@ -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 @@
 	dodoc ChangeLog NEWS README AUTHORS || \
 		die "Failed to install docs"
 }
+
+pkg_postinst() {
+	python_mod_optimize ${PN}
+}
+
+pkg_postrm() {
+	python_mod_cleanup ${PN}
+}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-04-12 17:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-12 17:37 [gentoo-commits] gentoo-x86 commit in sci-chemistry/pdb2pqr: pdb2pqr-1.7.0-r1.ebuild pdb2pqr-1.7.0.ebuild pdb2pqr-1.5.0-r2.ebuild Arfrever Frehtes Taifersar Arahesis (arfrever)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox