1 |
arfrever 10/10/02 15:10:33 |
2 |
|
3 |
Modified: ChangeLog pyme-0.8.1.ebuild |
4 |
Log: |
5 |
Update EAPI. Fix dependencies. Restrict tests (bug #339409). Avoid breaking strict-aliasing rules. Use Python 2. Don't try to install nonexistent documentation. |
6 |
|
7 |
(Portage version: 2.2_rc88_p65/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.32 dev-python/pyme/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyme/ChangeLog?rev=1.32&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyme/ChangeLog?rev=1.32&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyme/ChangeLog?r1=1.31&r2=1.32 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyme/ChangeLog,v |
19 |
retrieving revision 1.31 |
20 |
retrieving revision 1.32 |
21 |
diff -u -r1.31 -r1.32 |
22 |
--- ChangeLog 2 Oct 2010 13:31:02 -0000 1.31 |
23 |
+++ ChangeLog 2 Oct 2010 15:10:33 -0000 1.32 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-python/pyme |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/ChangeLog,v 1.31 2010/10/02 13:31:02 arfrever Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/ChangeLog,v 1.32 2010/10/02 15:10:33 arfrever Exp $ |
29 |
+ |
30 |
+ 02 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
31 |
+ pyme-0.8.1.ebuild: |
32 |
+ Update EAPI. Fix dependencies. Restrict tests (bug #339409). Avoid breaking |
33 |
+ strict-aliasing rules. Use Python 2. Don't try to install nonexistent |
34 |
+ documentation. |
35 |
|
36 |
02 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
37 |
-pyme-0.6.0-r1.ebuild, -files/pyme-swig-compatibility.patch: |
38 |
|
39 |
|
40 |
|
41 |
1.6 dev-python/pyme/pyme-0.8.1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyme/pyme-0.8.1.ebuild?rev=1.6&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyme/pyme-0.8.1.ebuild?rev=1.6&content-type=text/plain |
45 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyme/pyme-0.8.1.ebuild?r1=1.5&r2=1.6 |
46 |
|
47 |
Index: pyme-0.8.1.ebuild |
48 |
=================================================================== |
49 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pyme/pyme-0.8.1.ebuild,v |
50 |
retrieving revision 1.5 |
51 |
retrieving revision 1.6 |
52 |
diff -u -r1.5 -r1.6 |
53 |
--- pyme-0.8.1.ebuild 27 Sep 2009 18:50:59 -0000 1.5 |
54 |
+++ pyme-0.8.1.ebuild 2 Oct 2010 15:10:33 -0000 1.6 |
55 |
@@ -1,9 +1,11 @@ |
56 |
-# Copyright 1999-2009 Gentoo Foundation |
57 |
+# Copyright 1999-2010 Gentoo Foundation |
58 |
# Distributed under the terms of the GNU General Public License v2 |
59 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/pyme-0.8.1.ebuild,v 1.5 2009/09/27 18:50:59 nixnut Exp $ |
60 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyme/pyme-0.8.1.ebuild,v 1.6 2010/10/02 15:10:33 arfrever Exp $ |
61 |
|
62 |
-EAPI="2" |
63 |
+EAPI="3" |
64 |
+PYTHON_DEPEND="2" |
65 |
SUPPORT_PYTHON_ABIS="1" |
66 |
+RESTRICT_PYTHON_ABIS="3.*" |
67 |
|
68 |
inherit distutils eutils |
69 |
|
70 |
@@ -14,41 +16,40 @@ |
71 |
LICENSE="|| ( GPL-2 LGPL-2.1 )" |
72 |
SLOT="0" |
73 |
KEYWORDS="~amd64 ~ia64 ppc ~sparc x86" |
74 |
-IUSE="doc examples" |
75 |
+IUSE="examples" |
76 |
|
77 |
RDEPEND=">=app-crypt/gpgme-0.9.0" |
78 |
DEPEND="${RDEPEND} |
79 |
dev-lang/swig" |
80 |
+RESTRICT="test" |
81 |
|
82 |
-RESTRICT_PYTHON_ABIS="3*" |
83 |
+PYTHON_CFLAGS=("2.* + -fno-strict-aliasing") |
84 |
|
85 |
src_prepare() { |
86 |
distutils_src_prepare |
87 |
|
88 |
- sed -i \ |
89 |
+ sed \ |
90 |
-e 's:include/:include/gpgme/:' \ |
91 |
-e 's/SWIGOPT :=.*/& -D_FILE_OFFSET_BITS=64/' \ |
92 |
- -e 's:$(PYTHON):/usr/bin/python:' \ |
93 |
- -e '/-rm doc\/\*\.html$/d' \ |
94 |
- Makefile || die "sed Makefile failed" |
95 |
+ -e 's/shell python/shell $(PYTHON)/' \ |
96 |
+ -i Makefile || die "sed Makefile failed" |
97 |
sed -e 's/^\(define_macros = \).*/\1[("_FILE_OFFSET_BITS=64", None)]/' -i setup.py || die "sed setup.py failed" |
98 |
} |
99 |
|
100 |
src_compile() { |
101 |
- emake -j1 PYTHON="/usr/bin/python" swig || die "emake swig failed" |
102 |
+ emake -j1 PYTHON="$(PYTHON -f)" swig || die "emake swig failed" |
103 |
distutils_src_compile |
104 |
} |
105 |
|
106 |
src_test() { |
107 |
testing() { |
108 |
- PYTHONPATH=$(echo build-${PYTHON_ABI}/lib.*) "$(PYTHON)" examples/genkey.py || die "genkey test failed with Python ${PYTHON_ABI}" |
109 |
+ PYTHONPATH=$(echo build-${PYTHON_ABI}/lib.*) "$(PYTHON)" examples/genkey.py |
110 |
} |
111 |
python_execute_function testing |
112 |
} |
113 |
|
114 |
src_install() { |
115 |
distutils_src_install |
116 |
- use doc && dohtml -r doc/* |
117 |
|
118 |
if use examples; then |
119 |
insinto /usr/share/doc/${PF}/examples |