Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-chemistry/pdb-tools: metadata.xml ChangeLog pdb-tools-0.1.4-r3.ebuild pdb-tools-0.1.4-r2.ebuild
Date: Mon, 29 Aug 2011 14:05:49
Message-Id: 20110829140537.2AA5F2004C@flycatcher.gentoo.org
1 jlec 11/08/29 14:05:37
2
3 Modified: metadata.xml ChangeLog
4 Added: pdb-tools-0.1.4-r3.ebuild
5 Removed: pdb-tools-0.1.4-r2.ebuild
6 Log:
7 Fix doubled entries in wrapper scripts
8
9 (Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.2 sci-chemistry/pdb-tools/metadata.xml
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb-tools/metadata.xml?rev=1.2&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb-tools/metadata.xml?rev=1.2&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb-tools/metadata.xml?r1=1.1&r2=1.2
17
18 Index: metadata.xml
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/pdb-tools/metadata.xml,v
21 retrieving revision 1.1
22 retrieving revision 1.2
23 diff -u -r1.1 -r1.2
24 --- metadata.xml 28 Oct 2010 15:48:14 -0000 1.1
25 +++ metadata.xml 29 Aug 2011 14:05:36 -0000 1.2
26 @@ -1,8 +1,8 @@
27 <?xml version="1.0" encoding="UTF-8"?>
28 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
29 <pkgmetadata>
30 -<herd>sci-chemistry</herd>
31 -<maintainer>
32 - <email>jlec@g.o</email>
33 -</maintainer>
34 + <herd>sci-chemistry</herd>
35 + <maintainer>
36 + <email>jlec@g.o</email>
37 + </maintainer>
38 </pkgmetadata>
39
40
41
42 1.7 sci-chemistry/pdb-tools/ChangeLog
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb-tools/ChangeLog?rev=1.7&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb-tools/ChangeLog?rev=1.7&content-type=text/plain
46 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb-tools/ChangeLog?r1=1.6&r2=1.7
47
48 Index: ChangeLog
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/pdb-tools/ChangeLog,v
51 retrieving revision 1.6
52 retrieving revision 1.7
53 diff -u -r1.6 -r1.7
54 --- ChangeLog 21 Jun 2011 16:00:15 -0000 1.6
55 +++ ChangeLog 29 Aug 2011 14:05:36 -0000 1.7
56 @@ -1,6 +1,12 @@
57 # ChangeLog for sci-chemistry/pdb-tools
58 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
59 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pdb-tools/ChangeLog,v 1.6 2011/06/21 16:00:15 jlec Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pdb-tools/ChangeLog,v 1.7 2011/08/29 14:05:36 jlec Exp $
61 +
62 +*pdb-tools-0.1.4-r3 (29 Aug 2011)
63 +
64 + 29 Aug 2011; Justin Lecher <jlec@g.o> -pdb-tools-0.1.4-r2.ebuild,
65 + +pdb-tools-0.1.4-r3.ebuild, metadata.xml:
66 + Fix doubled entries in wrapper scripts
67
68 21 Jun 2011; Justin Lecher <jlec@g.o> pdb-tools-0.1.4-r2.ebuild:
69 Add dependency on virtual/fortran
70
71
72
73 1.1 sci-chemistry/pdb-tools/pdb-tools-0.1.4-r3.ebuild
74
75 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb-tools/pdb-tools-0.1.4-r3.ebuild?rev=1.1&view=markup
76 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/pdb-tools/pdb-tools-0.1.4-r3.ebuild?rev=1.1&content-type=text/plain
77
78 Index: pdb-tools-0.1.4-r3.ebuild
79 ===================================================================
80 # Copyright 1999-2011 Gentoo Foundation
81 # Distributed under the terms of the GNU General Public License v2
82 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/pdb-tools/pdb-tools-0.1.4-r3.ebuild,v 1.1 2011/08/29 14:05:36 jlec Exp $
83
84 EAPI=3
85
86 PYTHON_DEPEND="2"
87 SUPPORT_PYTHON_ABIS="1"
88 RESTRICT_PYTHON_ABIS="3.*"
89
90 inherit fortran-2 python toolchain-funcs
91
92 DESCRIPTION="Tools for manipulating and doing calculations on wwPDB macromolecule structure files"
93 HOMEPAGE="http://code.google.com/p/pdb-tools/"
94 SRC_URI="http://${PN}.googlecode.com/files/${PN}_${PV}.tar.gz"
95
96 SLOT="0"
97 LICENSE="GPL-3"
98 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
99 IUSE=""
100
101 RDEPEND="
102 sci-chemistry/dssp
103 virtual/fortran"
104 DEPEND=""
105
106 S="${WORKDIR}"/${PN}_${PV}
107
108 src_prepare() {
109 sed "s:script_dir,\"pdb_data\":\"${EPREFIX}/usr/share/${PN}\",\"pdb_data\":g" -i pdb_sasa.py || die
110 sed "/satk_path =/s:^.*$:satk_path = \"${EPREFIX}/usr/bin\":g" -i pdb_satk.py || die
111 }
112
113 src_compile() {
114 mkdir bin
115 cd satk
116 for i in *.f; do
117 einfo "$(tc-getFC) ${FFLAGS} ${LDFLAGS} ${i} -o ${i/.f}"
118 $(tc-getFC) ${FFLAGS} -c ${i} -o ${i/.f/.o} || die
119 $(tc-getFC) ${LDFLAGS} -o ../bin/${i/.f} ${i/.f/.o} || die
120 sed "s:${i/.f}.out:${i/.f}:g" -i ../pdb_satk.py || die
121 done
122 }
123
124 src_install() {
125 insinto /usr/share/${PN}
126 doins -r pdb_data/peptides || die
127 rm -rf pdb_data/peptides || die
128
129 installation() {
130 insinto $(python_get_sitedir)
131 doins -r helper pdb_data || die
132
133 insinto $(python_get_sitedir)/${PN}
134 doins *.py || die
135
136 for i in pdb_*.py; do
137 cat > ${i/.py} <<- EOF
138 #!${EPREFIX}/bin/bash
139 $(PYTHON) -O "${EPREFIX}$(python_get_sitedir)/${PN}/${i}" \$@
140 EOF
141 dobin ${i/.py}
142 done
143 }
144
145 python_execute_function installation
146
147 dobin bin/* || die
148 dodoc README || die
149 }
150
151 pkg_postinst() {
152 python_mod_optimize ${PN} helper pdb_data
153 }
154
155 pkg_postrm() {
156 python_mod_cleanup ${PN} helper pdb_data
157 }