1 |
arfrever 11/02/21 16:07:30 |
2 |
|
3 |
Modified: silvercity-0.9.7.ebuild ChangeLog |
4 |
Log: |
5 |
Restrict Jython ABIs. Fix installation (bug #355837). |
6 |
|
7 |
(Portage version: 2.2.0_alpha24_p17/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.10 app-text/silvercity/silvercity-0.9.7.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/silvercity/silvercity-0.9.7.ebuild?rev=1.10&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/silvercity/silvercity-0.9.7.ebuild?rev=1.10&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/silvercity/silvercity-0.9.7.ebuild?r1=1.9&r2=1.10 |
15 |
|
16 |
Index: silvercity-0.9.7.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-text/silvercity/silvercity-0.9.7.ebuild,v |
19 |
retrieving revision 1.9 |
20 |
retrieving revision 1.10 |
21 |
diff -u -r1.9 -r1.10 |
22 |
--- silvercity-0.9.7.ebuild 21 Feb 2011 13:21:53 -0000 1.9 |
23 |
+++ silvercity-0.9.7.ebuild 21 Feb 2011 16:07:30 -0000 1.10 |
24 |
@@ -1,13 +1,13 @@ |
25 |
# Copyright 1999-2011 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/silvercity/silvercity-0.9.7.ebuild,v 1.9 2011/02/21 13:21:53 arfrever Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/silvercity/silvercity-0.9.7.ebuild,v 1.10 2011/02/21 16:07:30 arfrever Exp $ |
29 |
|
30 |
EAPI="3" |
31 |
PYTHON_DEPEND="2" |
32 |
SUPPORT_PYTHON_ABIS="1" |
33 |
-RESTRICT_PYTHON_ABIS="3.*" |
34 |
+RESTRICT_PYTHON_ABIS="3.* *-jython" |
35 |
|
36 |
-inherit distutils eutils python |
37 |
+inherit distutils |
38 |
|
39 |
MY_PN="SilverCity" |
40 |
MY_P="${MY_PN}-${PV}" |
41 |
@@ -26,21 +26,19 @@ |
42 |
|
43 |
S="${WORKDIR}/${MY_P}" |
44 |
|
45 |
+PYTHON_NONVERSIONED_EXECUTABLES=("/usr/bin/source2html.py") |
46 |
+ |
47 |
PYTHON_MODNAME="${MY_PN}" |
48 |
|
49 |
-src_install() { |
50 |
- distutils_src_install |
51 |
+src_prepare() { |
52 |
+ distutils_src_prepare |
53 |
|
54 |
- # Remove useless documentation. |
55 |
- rm "${D}usr/share/doc/${P}/PKG-INFO"* |
56 |
+ # Fix line endings. |
57 |
+ find -type f -exec sed -e 's/\r$//' -i \{\} \; || die "sed failed" |
58 |
|
59 |
# Fix permissions. |
60 |
- chmod 644 "${D}"usr/$(get_libdir)/python*/site-packages/SilverCity/default.css |
61 |
- |
62 |
- # Fix CR/LF issue. |
63 |
- find "${D}usr/bin" -iname "*.py" -exec sed -e 's/\r$//' -i \{\} \; |
64 |
+ chmod -x CSS/default.css || die "chmod failed" |
65 |
|
66 |
- # Fix path. |
67 |
- dosed -i 's|#!/usr/home/sweetapp/bin/python|#!/usr/bin/env python|' \ |
68 |
- /usr/bin/cgi-styler-form.py || die "dosed failed" |
69 |
+ # Fix shebang. |
70 |
+ sed -e 's:#!/usr/home/sweetapp/bin/python:#!/usr/bin/env python:' -i PySilverCity/Scripts/cgi-styler-form.py || die "sed failed" |
71 |
} |
72 |
|
73 |
|
74 |
|
75 |
1.26 app-text/silvercity/ChangeLog |
76 |
|
77 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/silvercity/ChangeLog?rev=1.26&view=markup |
78 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/silvercity/ChangeLog?rev=1.26&content-type=text/plain |
79 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/silvercity/ChangeLog?r1=1.25&r2=1.26 |
80 |
|
81 |
Index: ChangeLog |
82 |
=================================================================== |
83 |
RCS file: /var/cvsroot/gentoo-x86/app-text/silvercity/ChangeLog,v |
84 |
retrieving revision 1.25 |
85 |
retrieving revision 1.26 |
86 |
diff -u -r1.25 -r1.26 |
87 |
--- ChangeLog 3 Oct 2009 05:09:11 -0000 1.25 |
88 |
+++ ChangeLog 21 Feb 2011 16:07:30 -0000 1.26 |
89 |
@@ -1,6 +1,10 @@ |
90 |
# ChangeLog for app-text/silvercity |
91 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
92 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/silvercity/ChangeLog,v 1.25 2009/10/03 05:09:11 arfrever Exp $ |
93 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
94 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/silvercity/ChangeLog,v 1.26 2011/02/21 16:07:30 arfrever Exp $ |
95 |
+ |
96 |
+ 21 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
97 |
+ silvercity-0.9.7.ebuild: |
98 |
+ Restrict Jython ABIs. Fix installation (bug #355837). |
99 |
|
100 |
03 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
101 |
silvercity-0.9.7.ebuild: |