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