1 |
jlec 12/04/03 14:44:43 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ccpn-data-2.2.2.ebuild |
5 |
Removed: ccpn-data-2.2.1_p110401.ebuild |
6 |
ccpn-data-2.1.5.ebuild |
7 |
ccpn-data-2.1.5_p110401.ebuild |
8 |
ccpn-data-2.2.1.ebuild |
9 |
Log: |
10 |
sci-libs/ccpn-data: Version Bump, cleaned old |
11 |
|
12 |
(Portage version: 2.2.0_alpha99/cvs/Linux x86_64) |
13 |
|
14 |
Revision Changes Path |
15 |
1.7 sci-libs/ccpn-data/ChangeLog |
16 |
|
17 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/ccpn-data/ChangeLog?rev=1.7&view=markup |
18 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/ccpn-data/ChangeLog?rev=1.7&content-type=text/plain |
19 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/ccpn-data/ChangeLog?r1=1.6&r2=1.7 |
20 |
|
21 |
Index: ChangeLog |
22 |
=================================================================== |
23 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/ccpn-data/ChangeLog,v |
24 |
retrieving revision 1.6 |
25 |
retrieving revision 1.7 |
26 |
diff -u -r1.6 -r1.7 |
27 |
--- ChangeLog 11 Oct 2011 14:12:09 -0000 1.6 |
28 |
+++ ChangeLog 3 Apr 2012 14:44:43 -0000 1.7 |
29 |
@@ -1,6 +1,13 @@ |
30 |
# ChangeLog for sci-libs/ccpn-data |
31 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
32 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/ccpn-data/ChangeLog,v 1.6 2011/10/11 14:12:09 jlec Exp $ |
33 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
34 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/ccpn-data/ChangeLog,v 1.7 2012/04/03 14:44:43 jlec Exp $ |
35 |
+ |
36 |
+*ccpn-data-2.2.2 (03 Apr 2012) |
37 |
+ |
38 |
+ 03 Apr 2012; Justin Lecher <jlec@g.o> -ccpn-data-2.1.5.ebuild, |
39 |
+ -ccpn-data-2.1.5_p110401.ebuild, -ccpn-data-2.2.1.ebuild, |
40 |
+ -ccpn-data-2.2.1_p110401.ebuild, +ccpn-data-2.2.2.ebuild: |
41 |
+ Version Bump, cleaned old |
42 |
|
43 |
*ccpn-data-2.2.1_p111011 (11 Oct 2011) |
44 |
*ccpn-data-2.1.5_p111011 (11 Oct 2011) |
45 |
|
46 |
|
47 |
|
48 |
1.1 sci-libs/ccpn-data/ccpn-data-2.2.2.ebuild |
49 |
|
50 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/ccpn-data/ccpn-data-2.2.2.ebuild?rev=1.1&view=markup |
51 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/ccpn-data/ccpn-data-2.2.2.ebuild?rev=1.1&content-type=text/plain |
52 |
|
53 |
Index: ccpn-data-2.2.2.ebuild |
54 |
=================================================================== |
55 |
# Copyright 1999-2012 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
# $Header: /var/cvsroot/gentoo-x86/sci-libs/ccpn-data/ccpn-data-2.2.2.ebuild,v 1.1 2012/04/03 14:44:43 jlec Exp $ |
58 |
|
59 |
EAPI=4 |
60 |
|
61 |
PYTHON_DEPEND="2" |
62 |
|
63 |
inherit portability python versionator |
64 |
|
65 |
#PATCHSET="${PV##*_p}" |
66 |
MY_PN="${PN/-data}mr" |
67 |
MY_PV="$(replace_version_separator 3 _ ${PV%%_p*})" |
68 |
MY_MAJOR="$(get_version_component_range 1-3)" |
69 |
|
70 |
DESCRIPTION="The Collaborative Computing Project for NMR - Data" |
71 |
HOMEPAGE="http://www.ccpn.ac.uk/ccpn" |
72 |
SRC_URI="http://www.bio.cam.ac.uk/ccpn/download/${MY_PN}/analysis${MY_PV}.tar.gz" |
73 |
[[ -n ${PATCHSET} ]] && SRC_URI+=" http://dev.gentoo.org/~jlec/distfiles/ccpn-update-${MY_MAJOR}-${PATCHSET}.patch.xz" |
74 |
|
75 |
SLOT="0" |
76 |
LICENSE="|| ( CCPN LGPL-2.1 )" |
77 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
78 |
IUSE="" |
79 |
|
80 |
RDEPEND="!<sci-chemistry/ccpn-${PVR}" |
81 |
DEPEND="" |
82 |
|
83 |
RESTRICT="binchecks strip" |
84 |
|
85 |
S="${WORKDIR}"/ccpnmr/ccpnmr2.2 |
86 |
|
87 |
pkg_setup() { |
88 |
python_set_active_version 2 |
89 |
python_pkg_setup |
90 |
} |
91 |
|
92 |
src_prepare() { |
93 |
[[ -n ${PATCHSET} ]] && \ |
94 |
epatch "${WORKDIR}"/ccpn-update-${MY_MAJOR}-${PATCHSET}.patch |
95 |
} |
96 |
|
97 |
src_install() { |
98 |
local i pydocs in_path |
99 |
|
100 |
dodir /usr/share/doc/${PF}/html |
101 |
sed \ |
102 |
-e "s:../ccpnmr2.1:${EPREFIX}/usr/share/doc/${PF}/html:g" \ |
103 |
../doc/index.html > "${ED}"/usr/share/doc/${PF}/html/index.html || die |
104 |
treecopy $(find python/ -name doc -type d) "${ED}"/usr/share/doc/${PF}/html/ |
105 |
|
106 |
pydocs="$(find python -name doc -type d)" |
107 |
in_path=$(python_get_sitedir)/ccpn |
108 |
|
109 |
dosym ../../../../share/doc/${PF}/html ${in_path}/doc |
110 |
for i in ${pydocs}; do |
111 |
dosym /usr/share/doc/${PF}/html/${i} ${in_path}/${i} |
112 |
done |
113 |
|
114 |
dosym /usr/share/ccpn/data ${in_path}/data |
115 |
dosym /usr/share/ccpn/model ${in_path}/model |
116 |
|
117 |
dohtml -r doc/* |
118 |
insinto /usr/share/ccpn |
119 |
doins -r data model |
120 |
} |