public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-chemistry/pdb-tools: ChangeLog pdb-tools-0.1.4-r4.ebuild
@ 2013-04-16  8:57 Justin Lecher (jlec)
  0 siblings, 0 replies; 2+ messages in thread
From: Justin Lecher (jlec) @ 2013-04-16  8:57 UTC (permalink / raw
  To: gentoo-commits

jlec        13/04/16 08:57:44

  Modified:             ChangeLog pdb-tools-0.1.4-r4.ebuild
  Log:
  sci-chemistry/pdb-tools: This package cannot be installed for multiple py abis
  
  (Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)

Revision  Changes    Path
1.10                 sci-chemistry/pdb-tools/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb-tools/ChangeLog?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb-tools/ChangeLog?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb-tools/ChangeLog?r1=1.9&r2=1.10

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/pdb-tools/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ChangeLog	16 Apr 2013 08:41:10 -0000	1.9
+++ ChangeLog	16 Apr 2013 08:57:43 -0000	1.10
@@ -1,6 +1,9 @@
 # ChangeLog for sci-chemistry/pdb-tools
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pdb-tools/ChangeLog,v 1.9 2013/04/16 08:41:10 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pdb-tools/ChangeLog,v 1.10 2013/04/16 08:57:43 jlec Exp $
+
+  16 Apr 2013; Justin Lecher <jlec@gentoo.org> pdb-tools-0.1.4-r4.ebuild:
+  This package cannot be installed for multiple py abis
 
 *pdb-tools-0.1.4-r4 (16 Apr 2013)
 



1.2                  sci-chemistry/pdb-tools/pdb-tools-0.1.4-r4.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb-tools/pdb-tools-0.1.4-r4.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb-tools/pdb-tools-0.1.4-r4.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb-tools/pdb-tools-0.1.4-r4.ebuild?r1=1.1&r2=1.2

Index: pdb-tools-0.1.4-r4.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/pdb-tools/pdb-tools-0.1.4-r4.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pdb-tools-0.1.4-r4.ebuild	16 Apr 2013 08:41:10 -0000	1.1
+++ pdb-tools-0.1.4-r4.ebuild	16 Apr 2013 08:57:43 -0000	1.2
@@ -1,12 +1,12 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pdb-tools/pdb-tools-0.1.4-r4.ebuild,v 1.1 2013/04/16 08:41:10 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pdb-tools/pdb-tools-0.1.4-r4.ebuild,v 1.2 2013/04/16 08:57:43 jlec Exp $
 
 EAPI=5
 
 PYTHON_COMPAT=( python{2_6,2_7} pypy{1_8,1_9} )
 
-inherit fortran-2 python-r1 toolchain-funcs
+inherit fortran-2 python-single-r1 toolchain-funcs
 
 DESCRIPTION="Tools for manipulating and doing calculations on wwPDB macromolecule structure files"
 HOMEPAGE="http://code.google.com/p/pdb-tools/"
@@ -22,6 +22,11 @@
 
 S="${WORKDIR}"/${PN}_${PV}
 
+pkg_setup() {
+	python-single-r1_pkg_setup
+	fortran-2_pkg_setup
+}
+
 src_prepare() {
 	sed \
 		-e "s:script_dir,\"pdb_data\":\"${EPREFIX}/usr/share/${PN}\",\"pdb_data\":g" \
@@ -50,14 +55,18 @@
 	doins -r pdb_data/peptides
 	rm -rf pdb_data/peptides || die
 
-	for script in pdb_*.py; do
-		python_foreach_impl python_newscript ${script} ${script%.py}
-	done
+	python_domodule helper pdb_data
 
-	python_foreach_impl python_domodule helper pdb_data
+	python_moduleinto ${PN/-/_}
+	python_domodule *.py
 
-	python_moduleinto ${PN}
-	python_foreach_impl python_domodule *.py
+	for i in pdb_*.py; do
+		cat > ${i/.py} <<- EOF
+		#!${EPREFIX}/bin/bash
+		${PYTHON} -O "${EPREFIX}$(python_get_sitedir)/${PN/-/_}/${i}" \$@
+		EOF
+		dobin ${i/.py}
+	done
 
 	dobin bin/*
 	dodoc README





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sci-chemistry/pdb-tools: ChangeLog pdb-tools-0.1.4-r4.ebuild
@ 2013-06-04 12:45 Justin Lecher (jlec)
  0 siblings, 0 replies; 2+ messages in thread
From: Justin Lecher (jlec) @ 2013-06-04 12:45 UTC (permalink / raw
  To: gentoo-commits

jlec        13/06/04 12:45:21

  Modified:             ChangeLog pdb-tools-0.1.4-r4.ebuild
  Log:
  sci-chemistry/pdb-tools: Fix for correct usage of new python eclasses
  
  (Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)

Revision  Changes    Path
1.14                 sci-chemistry/pdb-tools/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb-tools/ChangeLog?rev=1.14&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb-tools/ChangeLog?rev=1.14&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb-tools/ChangeLog?r1=1.13&r2=1.14

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/pdb-tools/ChangeLog,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- ChangeLog	29 May 2013 16:20:49 -0000	1.13
+++ ChangeLog	4 Jun 2013 12:45:21 -0000	1.14
@@ -1,6 +1,9 @@
 # ChangeLog for sci-chemistry/pdb-tools
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pdb-tools/ChangeLog,v 1.13 2013/05/29 16:20:49 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pdb-tools/ChangeLog,v 1.14 2013/06/04 12:45:21 jlec Exp $
+
+  04 Jun 2013; Justin Lecher <jlec@gentoo.org> pdb-tools-0.1.4-r4.ebuild:
+  Fix for correct usage of new python eclasses
 
   29 May 2013; Justin Lecher <jlec@gentoo.org> pdb-tools-0.2.1.ebuild,
   pdb-tools-0.2.1-r1.ebuild:



1.3                  sci-chemistry/pdb-tools/pdb-tools-0.1.4-r4.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb-tools/pdb-tools-0.1.4-r4.ebuild?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb-tools/pdb-tools-0.1.4-r4.ebuild?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb-tools/pdb-tools-0.1.4-r4.ebuild?r1=1.2&r2=1.3

Index: pdb-tools-0.1.4-r4.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/pdb-tools/pdb-tools-0.1.4-r4.ebuild,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- pdb-tools-0.1.4-r4.ebuild	16 Apr 2013 08:57:43 -0000	1.2
+++ pdb-tools-0.1.4-r4.ebuild	4 Jun 2013 12:45:21 -0000	1.3
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pdb-tools/pdb-tools-0.1.4-r4.ebuild,v 1.2 2013/04/16 08:57:43 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pdb-tools/pdb-tools-0.1.4-r4.ebuild,v 1.3 2013/06/04 12:45:21 jlec Exp $
 
 EAPI=5
 
@@ -17,8 +17,11 @@
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
 IUSE=""
 
-RDEPEND="sci-chemistry/dssp"
-DEPEND=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+	sci-chemistry/dssp"
+DEPEND="${PYTHON_DEPS}"
 
 S="${WORKDIR}"/${PN}_${PV}
 





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-06-04 12:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-16  8:57 [gentoo-commits] gentoo-x86 commit in sci-chemistry/pdb-tools: ChangeLog pdb-tools-0.1.4-r4.ebuild Justin Lecher (jlec)
  -- strict thread matches above, loose matches on Subject: below --
2013-06-04 12:45 Justin Lecher (jlec)

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