From: | "Justin Lecher (jlec)" <jlec@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-chemistry/xia2: xia2-0.3.1.6.ebuild ChangeLog |
Date: | Thu, 22 Apr 2010 19:25:33 |
Message-Id: | 20100422192530.39B872803A@corvid.gentoo.org |
1 | jlec 10/04/22 19:25:30 |
2 | |
3 | Modified: ChangeLog |
4 | Added: xia2-0.3.1.6.ebuild |
5 | Log: |
6 | Version Bump #316579, fixes for new PYTHON ABI things |
7 | (Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.2 sci-chemistry/xia2/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/xia2/ChangeLog?rev=1.2&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/xia2/ChangeLog?rev=1.2&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/xia2/ChangeLog?r1=1.1&r2=1.2 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/xia2/ChangeLog,v |
19 | retrieving revision 1.1 |
20 | retrieving revision 1.2 |
21 | diff -u -r1.1 -r1.2 |
22 | --- ChangeLog 6 Feb 2010 23:36:47 -0000 1.1 |
23 | +++ ChangeLog 22 Apr 2010 19:25:30 -0000 1.2 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for sci-chemistry/xia2 |
26 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/xia2/ChangeLog,v 1.1 2010/02/06 23:36:47 jlec Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/xia2/ChangeLog,v 1.2 2010/04/22 19:25:30 jlec Exp $ |
29 | + |
30 | +*xia2-0.3.1.6 (22 Apr 2010) |
31 | + |
32 | + 22 Apr 2010; Justin Lecher <jlec@g.o> |
33 | + +files/0.3.1.6-fix-syntax.patch, +xia2-0.3.1.6.ebuild: |
34 | + Version Bump #316579, fixes for PYTHON ABIs things |
35 | |
36 | *xia2-0.3.1.0 (06 Feb 2010) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 sci-chemistry/xia2/xia2-0.3.1.6.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/xia2/xia2-0.3.1.6.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/xia2/xia2-0.3.1.6.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: xia2-0.3.1.6.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2010 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/xia2/xia2-0.3.1.6.ebuild,v 1.1 2010/04/22 19:25:30 jlec Exp $ |
51 | |
52 | EAPI="3" |
53 | |
54 | PYTHON_DEPEND="2" |
55 | |
56 | inherit eutils python |
57 | |
58 | DESCRIPTION="An automated data reduction system for crystallography" |
59 | HOMEPAGE="http://www.xia2.org/xia/" |
60 | SRC_URI="http://www.ccp4.ac.uk/${PN}/${P}.tar.bz2" |
61 | |
62 | LICENSE="BSD" |
63 | SLOT="0" |
64 | KEYWORDS="~amd64 ~x86" |
65 | IUSE="" |
66 | |
67 | RDEPEND=" |
68 | >=sci-chemistry/ccp4-apps-6.1.2 |
69 | sci-chemistry/mosflm |
70 | sci-chemistry/pointless |
71 | >=sci-libs/ccp4-libs-6.1.2 |
72 | sci-libs/cctbx" |
73 | DEPEND="${RDEPEND}" |
74 | |
75 | pkg_setup() { |
76 | python_set_active_version 2 |
77 | } |
78 | |
79 | src_prepare() { |
80 | find . -name '*.bat' -delete || die |
81 | |
82 | epatch "${FILESDIR}"/${PV}-fix-syntax.patch |
83 | python_convert_shebangs -r 4 . |
84 | } |
85 | |
86 | src_install() { |
87 | rm -rf ${P}/binaries ${PN}core-${PV}/Test || die |
88 | |
89 | insinto /usr/share/ccp4/XIAROOT/ |
90 | doins -r * || die |
91 | |
92 | # Set programs executable |
93 | # fperms cannot handle wildcards |
94 | chmod 755 "${ED}"/usr/share/ccp4/XIAROOT/${P}/Applications/* || die |
95 | chmod 644 "${ED}"/usr/share/ccp4/XIAROOT/${P}/Applications/*.py || die |
96 | |
97 | cat >> "${T}"/23XIA <<- EOF |
98 | XIA2_HOME="${EPREFIX}"/usr/share/ccp4/XIAROOT |
99 | XIA2CORE_ROOT="${EPREFIX}"/usr/share/ccp4/XIAROOT/xia2core-${PV} |
100 | XIA2_ROOT="${EPREFIX}"/usr/share/ccp4/XIAROOT/xia2-${PV} |
101 | PATH="${EPREFIX}"/usr/share/ccp4/XIAROOT/xia2-${PV}/Applications |
102 | EOF |
103 | |
104 | doenvd "${T}"/23XIA |
105 | } |
106 | |
107 | pkg_postinst() { |
108 | python_mod_optimize /usr/share/ccp4/XIAROOT |
109 | } |
110 | |
111 | pkg_postrm() { |
112 | python_mod_cleanup /usr/share/ccp4/XIAROOT |
113 | } |