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/ccp4i: ccp4i-6.1.3-r2.ebuild ChangeLog ccp4i-6.1.3-r1.ebuild
Date: Sun, 25 Apr 2010 12:32:57
Message-Id: 20100425123254.76D162C04C@corvid.gentoo.org
1 jlec 10/04/25 12:32:54
2
3 Modified: ChangeLog
4 Added: ccp4i-6.1.3-r2.ebuild
5 Removed: ccp4i-6.1.3-r1.ebuild
6 Log:
7 Fixes missing renames, thanks Johan Hattne for giving the patches, #314053
8 (Portage version: 2.2_rc67/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.4 sci-chemistry/ccp4i/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4i/ChangeLog?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4i/ChangeLog?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4i/ChangeLog?r1=1.3&r2=1.4
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/ccp4i/ChangeLog,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- ChangeLog 22 Apr 2010 20:19:04 -0000 1.3
24 +++ ChangeLog 25 Apr 2010 12:32:54 -0000 1.4
25 @@ -1,6 +1,14 @@
26 # ChangeLog for sci-chemistry/ccp4i
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ccp4i/ChangeLog,v 1.3 2010/04/22 20:19:04 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ccp4i/ChangeLog,v 1.4 2010/04/25 12:32:54 jlec Exp $
30 +
31 +*ccp4i-6.1.3-r2 (25 Apr 2010)
32 +
33 + 25 Apr 2010; Justin Lecher <jlec@g.o>
34 + files/6.1.3-rename-rapper.patch, +ccp4i-6.1.3-r2.ebuild,
35 + files/6.1.3-rename-superpose.patch, files/6.1.3-rename-truncate.patch,
36 + -ccp4i-6.1.3-r1.ebuild:
37 + Fixes missing renames, thanks Johan Hattne for giving the patches, #314053
38
39 22 Apr 2010; Justin Lecher <jlec@g.o> ccp4i-6.1.3-r1.ebuild:
40 Fixes for Python ABIs, keyworded for *-linux
41
42
43
44 1.1 sci-chemistry/ccp4i/ccp4i-6.1.3-r2.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4i/ccp4i-6.1.3-r2.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/ccp4i/ccp4i-6.1.3-r2.ebuild?rev=1.1&content-type=text/plain
48
49 Index: ccp4i-6.1.3-r2.ebuild
50 ===================================================================
51 # Copyright 1999-2010 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/ccp4i/ccp4i-6.1.3-r2.ebuild,v 1.1 2010/04/25 12:32:54 jlec Exp $
54
55 EAPI="2"
56 PYTHON_DEPEND="2"
57
58 inherit base multilib python
59
60 MY_PN="${PN%i}"
61 MY_P="${MY_PN}-${PV}"
62
63 #UPDATE="04_03_09"
64 #PATCHDATE="090511"
65
66 SRC="ftp://ftp.ccp4.ac.uk/ccp4"
67
68 DESCRIPTION="Protein X-ray crystallography toolkit -- graphical interface"
69 HOMEPAGE="http://www.ccp4.ac.uk/"
70 SRC_URI="
71 ${SRC}/${PV}/${MY_P}-core-src.tar.gz
72 mirror://gentoo/${P}-arpwarp.patch.bz2
73 http://dev.gentooexperimental.org/~jlec/distfiles/${PV}-oasis4.0.patch.bz2"
74 [[ -n ${UPDATE} ]] && SRC_URI="${SRC_URI} ${SRC}/${PV}/updates/${P}-src-patch-${UPDATE}.tar.gz"
75 [[ -n ${PATCHDATE} ]] && SRC_URI="${SRC_URI} http://dev.gentooexperimental.org/~jlec/science-dist/${PV}-${PATCHDATE}-updates.patch.bz2"
76
77 SLOT="0"
78 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
79 LICENSE="ccp4"
80 IUSE=""
81
82 RDEPEND="
83 app-shells/tcsh
84 media-gfx/graphviz
85 >=dev-lang/tk-8.3
86 >=dev-tcltk/blt-2.4"
87 DEPEND="${RDEPEND}"
88
89 S="${WORKDIR}/${MY_P}"
90
91 PATCHES=(
92 "${FILESDIR}"/${PV}-rename-truncate.patch
93 "${FILESDIR}"/${PV}-rename-rapper.patch
94 "${FILESDIR}"/${PV}-rename-superpose.patch
95 "${FILESDIR}"/${PV}-fix-baubles.patch
96 "${WORKDIR}"/${P}-arpwarp.patch
97 )
98
99 pkg_setup() {
100 python_set_active_version 2
101 }
102
103 src_prepare() {
104 base_src_prepare
105
106 [[ ! -z ${PATCHDATE} ]] && epatch "${WORKDIR}"/${PV}-${PATCHDATE}-updates.patch
107
108 epatch "${WORKDIR}"/${PV}-oasis4.0.patch
109 python_convert_shebangs -r $(python_get_version) ccp4i/ share/dbccp4i/
110 }
111
112 src_configure() {
113 :
114 }
115
116 src_compile() {
117 :
118 }
119
120 src_install() {
121 # rm imosflm stuff
122 rm -rf "${S}"/ccp4i/{bin/imosflm,imosflm}
123
124 rm -rf "${S}"/ccp4i/{bin,etc}/WINDOWS
125
126 # This is installed by mrbump
127 rm -rf "${S}"/ccp4i/{tasks/{dbviewer.tcl,mrbump.*},templates/mrbump.com,scripts/mrbump.script}
128
129 # CCP4Interface - GUI
130 insinto /usr/$(get_libdir)/ccp4
131 doins -r "${S}"/ccp4i || die
132 exeinto /usr/$(get_libdir)/ccp4/ccp4i/bin
133 doexe "${S}"/ccp4i/bin/* || die
134
135 # dbccp4i
136 insinto /usr/share/ccp4
137 doins -r "${S}"/share/dbccp4i || die
138 }