Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/msms/
Date: Sun, 30 Jun 2013 11:38:47
Message-Id: 1372589902.8a16404bfab9ae8b69510c81bb52ec4f334e7415.jlec@gentoo
1 commit: 8a16404bfab9ae8b69510c81bb52ec4f334e7415
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 30 10:58:22 2013 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 30 10:58:22 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=8a16404b
7
8 sci-libs/msms: Version BUmp; Bump to new distutil-r1.eclass
9
10 Package-Manager: portage-2.2.0_alpha186
11
12 ---
13 sci-libs/msms/ChangeLog | 10 +++-
14 sci-libs/msms/metadata.xml | 2 +-
15 sci-libs/msms/msms-1.5.4-r1.ebuild | 54 ----------------------
16 .../{msms-1.5.6_rc2.ebuild => msms-1.5.6.ebuild} | 19 ++++----
17 4 files changed, 19 insertions(+), 66 deletions(-)
18
19 diff --git a/sci-libs/msms/ChangeLog b/sci-libs/msms/ChangeLog
20 index 1622441..1246097 100644
21 --- a/sci-libs/msms/ChangeLog
22 +++ b/sci-libs/msms/ChangeLog
23 @@ -1,7 +1,15 @@
24 # ChangeLog for sci-libs/msms
25 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
26 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
27 # $Header: $
28
29 + 30 Jun 2013; Justin Lecher <jlec@g.o> -msms-1.5.4-r1.ebuild,
30 + -msms-1.5.6_rc2.ebuild, +msms-1.5.6.ebuild, metadata.xml:
31 + Version BUmp; Bump to new distutil-r1.eclass
32 +
33 + 30 Jun 2013; Justin Lecher <jlec@g.o> -msms-1.5.4-r1.ebuild,
34 + -msms-1.5.6_rc2.ebuild, +msms-1.5.6.ebuild, metadata.xml:
35 + Version BUmp; Bump to new distutil-r1.eclass
36 +
37 27 Apr 2012; Justin Lecher <jlec@g.o> msms-1.5.4-r1.ebuild,
38 msms-1.5.6_rc2.ebuild:
39 RESTRICT pypy
40
41 diff --git a/sci-libs/msms/metadata.xml b/sci-libs/msms/metadata.xml
42 index 9ac9ffd..51fdeda 100644
43 --- a/sci-libs/msms/metadata.xml
44 +++ b/sci-libs/msms/metadata.xml
45 @@ -1,5 +1,5 @@
46 <?xml version="1.0" encoding="UTF-8"?>
47 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
48 <pkgmetadata>
49 -<herd>sci-chemistry</herd>
50 + <herd>sci-chemistry</herd>
51 </pkgmetadata>
52
53 diff --git a/sci-libs/msms/msms-1.5.4-r1.ebuild b/sci-libs/msms/msms-1.5.4-r1.ebuild
54 deleted file mode 100644
55 index ccbf5d9..0000000
56 --- a/sci-libs/msms/msms-1.5.4-r1.ebuild
57 +++ /dev/null
58 @@ -1,54 +0,0 @@
59 -# Copyright 1999-2012 Gentoo Foundation
60 -# Distributed under the terms of the GNU General Public License v2
61 -# $Header: $
62 -
63 -EAPI="3"
64 -
65 -PYTHON_DEPEND="2"
66 -SUPPORT_PYTHON_ABIS="1"
67 -RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-*"
68 -
69 -inherit distutils eutils
70 -
71 -MY_PN="mslib"
72 -MY_P="${MY_PN}-${PV}"
73 -
74 -DESCRIPTION="MSMS library python extension module"
75 -HOMEPAGE="http://mgltools.scripps.edu/downloads#msms"
76 -#SRC_URI="http://mgltools.scripps.edu/downloads/tars/releases/REL${PV}/mgltools_source_${PV}.tar.gz"
77 -SRC_URI="http://dev.gentooexperimental.org/~jlec/distfiles/mgltools_source_${PV}.tar.gz"
78 -
79 -LICENSE="MGLTOOLS"
80 -SLOT="0"
81 -KEYWORDS="~amd64 ~x86"
82 -IUSE=""
83 -
84 -RDEPEND=""
85 -DEPEND="${RDEPEND}
86 - dev-lang/swig"
87 -
88 -RESTRICT_PYTHON_ABIS="3.*"
89 -S="${WORKDIR}"/${MY_P}
90 -
91 -src_unpack() {
92 - tar xzpf "${DISTDIR}"/${A} mgltools_source_${PV}/MGLPACKS/${MY_P}.tar.gz
93 - tar xzpf mgltools_source_${PV}/MGLPACKS/${MY_P}.tar.gz
94 -}
95 -
96 -src_prepare() {
97 - epatch "${FILESDIR}"/build-with-linux-3.0.patch
98 - pushd "${S}"/lib >/dev/null
99 - # Set up symlinks for 3.x kernels
100 - for x in *inux2; do
101 - ln -s ${x} ${x%2}3
102 - done
103 - popd >/dev/null
104 -}
105 -
106 -pkg_postinst() {
107 - python_mod_optimize ${MY_PN}
108 -}
109 -
110 -pkg_postrm() {
111 - python_mod_cleanup ${MY_PN}
112 -}
113
114 diff --git a/sci-libs/msms/msms-1.5.6_rc2.ebuild b/sci-libs/msms/msms-1.5.6.ebuild
115 similarity index 61%
116 rename from sci-libs/msms/msms-1.5.6_rc2.ebuild
117 rename to sci-libs/msms/msms-1.5.6.ebuild
118 index a6e6a6d..4ccd4a4 100644
119 --- a/sci-libs/msms/msms-1.5.6_rc2.ebuild
120 +++ b/sci-libs/msms/msms-1.5.6.ebuild
121 @@ -1,22 +1,19 @@
122 -# Copyright 1999-2012 Gentoo Foundation
123 +# Copyright 1999-2013 Gentoo Foundation
124 # Distributed under the terms of the GNU General Public License v2
125 # $Header: $
126
127 -EAPI="3"
128 +EAPI=5
129
130 -PYTHON_DEPEND="2"
131 -SUPPORT_PYTHON_ABIS="1"
132 -RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-*"
133 +PYTHON_COMPAT=( python{2_6,2_7} )
134
135 -inherit distutils eutils
136 +inherit distutils-r1
137
138 MY_PN="mslib"
139 MY_P="${MY_PN}-${PV/_rc2/}"
140
141 DESCRIPTION="MSMS library python extension module"
142 HOMEPAGE="http://mgltools.scripps.edu/downloads#msms"
143 -#SRC_URI="http://mgltools.scripps.edu/downloads/tars/releases/REL${PV}/mgltools_source_${PV}.tar.gz"
144 -SRC_URI="http://dev.gentoo.org/~jlec/distfiles/mgltools_source_${PV/_/}.tar.gz"
145 +SRC_URI="http://mgltools.scripps.edu/downloads/tars/releases/REL${PV}/mgltools_source_${PV}.tar.gz"
146
147 LICENSE="MGLTOOLS"
148 SLOT="0"
149 @@ -29,13 +26,15 @@ DEPEND="${RDEPEND}
150
151 S="${WORKDIR}"/${MY_P}
152
153 +PATCHES=( "${FILESDIR}"/build-with-linux-3.0.patch )
154 +
155 src_unpack() {
156 tar xzpf "${DISTDIR}"/${A} mgltools_source_${PV/_/}/MGLPACKS/${MY_P}.tar.gz
157 tar xzpf mgltools_source_${PV/_/}/MGLPACKS/${MY_P}.tar.gz
158 }
159
160 -src_prepare() {
161 - epatch "${FILESDIR}"/build-with-linux-3.0.patch
162 +python_prepare_all() {
163 + distutils-r1_python_prepare_all
164 pushd "${S}"/lib >/dev/null
165 # Set up symlinks for 3.x kernels
166 for x in *inux2; do