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/hollow: metadata.xml ChangeLog hollow-1.2.ebuild
Date: Thu, 03 Nov 2011 06:51:16
Message-Id: 20111103065102.7275B2004B@flycatcher.gentoo.org
1 jlec 11/11/03 06:51:02
2
3 Modified: metadata.xml ChangeLog
4 Added: hollow-1.2.ebuild
5 Log:
6 Version Bump
7
8 (Portage version: 2.2.0_alpha72/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.2 sci-chemistry/hollow/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/hollow/metadata.xml?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/hollow/metadata.xml?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/hollow/metadata.xml?r1=1.1&r2=1.2
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/hollow/metadata.xml,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- metadata.xml 28 Oct 2010 20:04:40 -0000 1.1
24 +++ metadata.xml 3 Nov 2011 06:51:02 -0000 1.2
25 @@ -2,7 +2,7 @@
26 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
27 <pkgmetadata>
28 <herd>sci-chemistry</herd>
29 -<maintainer>
30 - <email>jlec@g.o</email>
31 -</maintainer>
32 + <maintainer>
33 + <email>jlec@g.o</email>
34 + </maintainer>
35 </pkgmetadata>
36
37
38
39 1.2 sci-chemistry/hollow/ChangeLog
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/hollow/ChangeLog?rev=1.2&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/hollow/ChangeLog?rev=1.2&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/hollow/ChangeLog?r1=1.1&r2=1.2
44
45 Index: ChangeLog
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/hollow/ChangeLog,v
48 retrieving revision 1.1
49 retrieving revision 1.2
50 diff -u -r1.1 -r1.2
51 --- ChangeLog 28 Oct 2010 20:04:40 -0000 1.1
52 +++ ChangeLog 3 Nov 2011 06:51:02 -0000 1.2
53 @@ -1,6 +1,12 @@
54 # ChangeLog for sci-chemistry/hollow
55 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
56 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/hollow/ChangeLog,v 1.1 2010/10/28 20:04:40 jlec Exp $
57 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
58 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/hollow/ChangeLog,v 1.2 2011/11/03 06:51:02 jlec Exp $
59 +
60 +*hollow-1.2 (03 Nov 2011)
61 +
62 + 03 Nov 2011; Justin Lecher <jlec@g.o> +hollow-1.2.ebuild,
63 + metadata.xml:
64 + Version Bump
65
66 *hollow-1.1 (28 Oct 2010)
67
68
69
70
71 1.1 sci-chemistry/hollow/hollow-1.2.ebuild
72
73 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/hollow/hollow-1.2.ebuild?rev=1.1&view=markup
74 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/hollow/hollow-1.2.ebuild?rev=1.1&content-type=text/plain
75
76 Index: hollow-1.2.ebuild
77 ===================================================================
78 # Copyright 1999-2011 Gentoo Foundation
79 # Distributed under the terms of the GNU General Public License v2
80 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/hollow/hollow-1.2.ebuild,v 1.1 2011/11/03 06:51:02 jlec Exp $
81
82 EAPI="3"
83
84 PYTHON_DEPEND="2"
85 SUPPORT_PYTHON_ABIS="1"
86 RESTRICT_PYTHON_ABIS="3.*"
87
88 inherit python
89
90 DESCRIPTION="Production of surface images of proteins"
91 HOMEPAGE="http://hollow.sourceforge.net/"
92 #SRC_URI="mirror://sourceforge/${P}.zip"
93 SRC_URI="http://hollow.sourceforge.net/${P}.zip"
94
95 SLOT="0"
96 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
97 LICENSE="GPL-3"
98 IUSE=""
99
100 RDEPEND="sci-chemistry/pymol"
101 DEPEND="app-arch/unzip"
102
103 src_install() {
104 rm -rf pdbstruct/.svn || die
105 installation() {
106 insinto $(python_get_sitedir)
107 doins -r pdbstruct || die
108
109 insinto $(python_get_sitedir)/${PN}
110 doins *.py hollow.txt || die
111
112 cat >> ${PN} <<- EOF
113 $(PYTHON) -O "${EPREFIX}$(python_get_sitedir)/${PN}/${PN}.py" \$@
114 EOF
115
116 dobin ${PN}
117 }
118 python_execute_function installation
119
120 dodoc README || die
121 }
122
123 pkg_postinst() {
124 python_mod_optimize ${PN} pdbstruct
125 }
126
127 pkg_postrm() {
128 python_mod_cleanup ${PN} pdbstruct
129 }