1 |
arfrever 09/10/02 01:03:39 |
2 |
|
3 |
Modified: ChangeLog sancho-0.11-r1.ebuild |
4 |
Removed: sancho-0.11.ebuild sancho-2.1.ebuild |
5 |
sancho-2.1-r1.ebuild |
6 |
Log: |
7 |
Backport some changes to older slot. Delete older ebuilds. |
8 |
(Portage version: 14471-svn/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.35 dev-python/sancho/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sancho/ChangeLog?rev=1.35&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sancho/ChangeLog?rev=1.35&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sancho/ChangeLog?r1=1.34&r2=1.35 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/sancho/ChangeLog,v |
20 |
retrieving revision 1.34 |
21 |
retrieving revision 1.35 |
22 |
diff -u -r1.34 -r1.35 |
23 |
--- ChangeLog 8 Sep 2009 03:42:49 -0000 1.34 |
24 |
+++ ChangeLog 2 Oct 2009 01:03:39 -0000 1.35 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-python/sancho |
27 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sancho/ChangeLog,v 1.34 2009/09/08 03:42:49 arfrever Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sancho/ChangeLog,v 1.35 2009/10/02 01:03:39 arfrever Exp $ |
30 |
+ |
31 |
+ 02 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
32 |
+ -sancho-0.11.ebuild, sancho-0.11-r1.ebuild, -sancho-2.1.ebuild, |
33 |
+ -sancho-2.1-r1.ebuild: |
34 |
+ Backport some changes to older slot. Delete older ebuilds. |
35 |
|
36 |
*sancho-2.4 (08 Sep 2009) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.22 dev-python/sancho/sancho-0.11-r1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sancho/sancho-0.11-r1.ebuild?rev=1.22&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sancho/sancho-0.11-r1.ebuild?rev=1.22&content-type=text/plain |
45 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/sancho/sancho-0.11-r1.ebuild?r1=1.21&r2=1.22 |
46 |
|
47 |
Index: sancho-0.11-r1.ebuild |
48 |
=================================================================== |
49 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/sancho/sancho-0.11-r1.ebuild,v |
50 |
retrieving revision 1.21 |
51 |
retrieving revision 1.22 |
52 |
diff -u -r1.21 -r1.22 |
53 |
--- sancho-0.11-r1.ebuild 22 Aug 2008 21:36:10 -0000 1.21 |
54 |
+++ sancho-0.11-r1.ebuild 2 Oct 2009 01:03:39 -0000 1.22 |
55 |
@@ -1,10 +1,14 @@ |
56 |
-# Copyright 1999-2008 Gentoo Foundation |
57 |
+# Copyright 1999-2009 Gentoo Foundation |
58 |
# Distributed under the terms of the GNU General Public License v2 |
59 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/sancho/sancho-0.11-r1.ebuild,v 1.21 2008/08/22 21:36:10 aballier Exp $ |
60 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/sancho/sancho-0.11-r1.ebuild,v 1.22 2009/10/02 01:03:39 arfrever Exp $ |
61 |
+ |
62 |
+EAPI="2" |
63 |
+SUPPORT_PYTHON_ABIS="1" |
64 |
|
65 |
inherit distutils eutils |
66 |
|
67 |
-MY_P=${P/s/S} |
68 |
+MY_P="${P/s/S}" |
69 |
+ |
70 |
DESCRIPTION="Sancho is a unit testing framework" |
71 |
HOMEPAGE="http://www.mems-exchange.org/software/sancho/" |
72 |
SRC_URI="http://cheeseshop.python.org/packages/source/S/Sancho/${MY_P}.tar.gz" |
73 |
@@ -14,35 +18,34 @@ |
74 |
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd" |
75 |
IUSE="" |
76 |
|
77 |
-DEPEND=">=dev-lang/python-2.2" |
78 |
+DEPEND="" |
79 |
+RDEPEND="" |
80 |
+RESTRICT_PYTHON_ABIS="3.*" |
81 |
+ |
82 |
+S="${WORKDIR}/${MY_P}" |
83 |
|
84 |
-S=${WORKDIR}/${MY_P} |
85 |
+DOCS="CHANGES.txt" |
86 |
|
87 |
-src_unpack() { |
88 |
- unpack ${A} |
89 |
- cd "${S}" |
90 |
+src_prepare() { |
91 |
epatch "${FILESDIR}/${P}-rename-package.patch" |
92 |
} |
93 |
|
94 |
src_test() { |
95 |
- mkdir "${T}/tests" |
96 |
- "${python}" setup.py install --home="${T}/tests" "$@" || die |
97 |
- pushd "${T}/tests" |
98 |
- PYTHONPATH=lib/python "${python}" "${S}/test/test_unittest.py" \ |
99 |
- || die "test failed" |
100 |
- popd |
101 |
- rm -rf "${T}/tests" |
102 |
+ testing() { |
103 |
+ PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" "${S}/test/test_unittest.py" |
104 |
+ } |
105 |
+ python_execute_function testing |
106 |
} |
107 |
|
108 |
src_install() { |
109 |
- DOCS="CHANGES.txt" |
110 |
distutils_src_install |
111 |
|
112 |
- python_version |
113 |
- insinto /usr/lib/python${PYVER}/site-packages/sancho-0 |
114 |
- dosym /usr/lib/python${PYVER}/site-packages/sancho0 \ |
115 |
- /usr/lib/python${PYVER}/site-packages/sancho-0/sancho |
116 |
- echo sancho-0 > "${D}/usr/lib/python${PYVER}/site-packages/sancho-0.pth" |
117 |
+ create_symlinks() { |
118 |
+ insinto $(python_get_sitedir)/sancho-0 |
119 |
+ dosym $(python_get_sitedir)/sancho0 $(python_get_sitedir)/sancho-0/sancho |
120 |
+ echo sancho-0 > "${D}$(python_get_sitedir)/sancho-0.pth" |
121 |
+ } |
122 |
+ python_execute_function -q create_symlinks |
123 |
} |
124 |
|
125 |
pkg_postinst() { |