1 |
arfrever 10/10/31 22:55:12 |
2 |
|
3 |
Modified: xsv-2.7.ebuild ChangeLog |
4 |
Log: |
5 |
Update EAPI. Fix dependencies. Set SUPPORT_PYTHON_ABIS. |
6 |
|
7 |
(Portage version: 2.2.0_alpha3/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.8 dev-python/xsv/xsv-2.7.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/xsv/xsv-2.7.ebuild?rev=1.8&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/xsv/xsv-2.7.ebuild?rev=1.8&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/xsv/xsv-2.7.ebuild?r1=1.7&r2=1.8 |
15 |
|
16 |
Index: xsv-2.7.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/xsv/xsv-2.7.ebuild,v |
19 |
retrieving revision 1.7 |
20 |
retrieving revision 1.8 |
21 |
diff -u -r1.7 -r1.8 |
22 |
--- xsv-2.7.ebuild 15 Jun 2010 19:38:07 -0000 1.7 |
23 |
+++ xsv-2.7.ebuild 31 Oct 2010 22:55:12 -0000 1.8 |
24 |
@@ -1,28 +1,43 @@ |
25 |
# Copyright 1999-2010 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/xsv/xsv-2.7.ebuild,v 1.7 2010/06/15 19:38:07 arfrever Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/xsv/xsv-2.7.ebuild,v 1.8 2010/10/31 22:55:12 arfrever Exp $ |
29 |
+ |
30 |
+EAPI="3" |
31 |
+PYTHON_DEPEND="2" |
32 |
+SUPPORT_PYTHON_ABIS="1" |
33 |
+RESTRICT_PYTHON_ABIS="3.*" |
34 |
|
35 |
inherit distutils |
36 |
|
37 |
-MY_P=${P/xsv/XSV} |
38 |
-S=${WORKDIR}/${MY_P} |
39 |
+MY_PN="XSV" |
40 |
+MY_P="${MY_PN}-${PV}" |
41 |
|
42 |
DESCRIPTION="Python XML Schema Validator" |
43 |
-SRC_URI="ftp://ftp.cogsci.ed.ac.uk/pub/XSV/${MY_P}.tar.gz" |
44 |
HOMEPAGE="http://www.ltg.ed.ac.uk/~ht/xsv-status.html" |
45 |
+SRC_URI="ftp://ftp.cogsci.ed.ac.uk/pub/XSV/${MY_P}.tar.gz" |
46 |
|
47 |
-KEYWORDS="~ppc x86" |
48 |
-SLOT="0" |
49 |
LICENSE="GPL-2" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~ppc x86" |
52 |
IUSE="" |
53 |
|
54 |
-DEPEND=">=dev-lang/python-2.2.2 |
55 |
- >=dev-python/pyltxml-1.3" |
56 |
+DEPEND=">=dev-python/pyltxml-1.3" |
57 |
+RDEPEND="${DEPEND}" |
58 |
+ |
59 |
+S="${WORKDIR}/${MY_P}" |
60 |
+ |
61 |
+PYTHON_MODNAME="XSV" |
62 |
|
63 |
src_install() { |
64 |
distutils_src_install |
65 |
- dodoc xsv-status.xml pc-shrinkwrap |
66 |
- dohtml xsv-status.html |
67 |
- rm -rf "${D}$(python_get_sitedir)/XSV/doc" |
68 |
- mv "${D}$(python_get_sitedir)/XSV/example" "${D}usr/share/doc/${PF}" |
69 |
+ |
70 |
+ dodoc xsv-status.xml pc-shrinkwrap || die "dodoc failed" |
71 |
+ dohtml xsv-status.html || die "dohtml failed" |
72 |
+ insinto /usr/share/doc/${PF}/examples |
73 |
+ doins triv.xml triv.xsd tiny.xml tiny.xsd || die "doins failed" |
74 |
+ |
75 |
+ delete_docs_and_examples() { |
76 |
+ rm -fr "${ED}$(python_get_sitedir)/XSV/"{doc,example} |
77 |
+ } |
78 |
+ python_execute_function -q delete_docs_and_examples |
79 |
} |
80 |
|
81 |
|
82 |
|
83 |
1.11 dev-python/xsv/ChangeLog |
84 |
|
85 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/xsv/ChangeLog?rev=1.11&view=markup |
86 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/xsv/ChangeLog?rev=1.11&content-type=text/plain |
87 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/xsv/ChangeLog?r1=1.10&r2=1.11 |
88 |
|
89 |
Index: ChangeLog |
90 |
=================================================================== |
91 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/xsv/ChangeLog,v |
92 |
retrieving revision 1.10 |
93 |
retrieving revision 1.11 |
94 |
diff -u -r1.10 -r1.11 |
95 |
--- ChangeLog 15 Jun 2010 19:38:07 -0000 1.10 |
96 |
+++ ChangeLog 31 Oct 2010 22:55:12 -0000 1.11 |
97 |
@@ -1,6 +1,10 @@ |
98 |
# ChangeLog for dev-python/xsv |
99 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
100 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/xsv/ChangeLog,v 1.10 2010/06/15 19:38:07 arfrever Exp $ |
101 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/xsv/ChangeLog,v 1.11 2010/10/31 22:55:12 arfrever Exp $ |
102 |
+ |
103 |
+ 31 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
104 |
+ xsv-2.7.ebuild: |
105 |
+ Update EAPI. Fix dependencies. Set SUPPORT_PYTHON_ABIS. |
106 |
|
107 |
15 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
108 |
xsv-2.7.ebuild: |