1 |
commit: 80a39d9fcf9036ccfe8dafe4a7f4bea3eb4b3c58 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 24 12:55:43 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 25 06:00:02 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80a39d9f |
7 |
|
8 |
dev-python/cffi: Add back version so that sparc is happy |
9 |
|
10 |
Package-Manager: portage-2.2.21 |
11 |
RepoMan-Options: --force |
12 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
13 |
|
14 |
dev-python/cffi/Manifest | 1 + |
15 |
dev-python/cffi/cffi-0.8.6.ebuild | 38 ++++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 39 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/cffi/Manifest b/dev-python/cffi/Manifest |
19 |
index 1db4dd1..c4cd18a 100644 |
20 |
--- a/dev-python/cffi/Manifest |
21 |
+++ b/dev-python/cffi/Manifest |
22 |
@@ -1,3 +1,4 @@ |
23 |
+DIST cffi-0.8.6.tar.gz 196835 SHA256 2532d9e3af9e3c6d0f710fc98b0295b563c7f39cfd97dd2242bd36fbf4900610 SHA512 b913d459bf0d355f0cb42fa0587a940c227d6765450033b14ab4d5281173cd1875cd6872911bb4f0b567cc1c5b0ca330615ec5f6ba205b25c41b683ae8c77790 WHIRLPOOL 4a03a077f15f943e0f06acf1bc10572b19680379e36805dbfc3dfffb8a5d735d28d9bab38e2d233f3a347fc03cede8126cc2ce017c6e3a0896b9baecddfae39f |
24 |
DIST cffi-0.9.2.tar.gz 209160 SHA256 1988ce7ff9c64ecd5077776175e90fd8f0a8c827cb241a23647175ce08126bb2 SHA512 93371a1189955d3f794915f8e7c6f6b9ab36cd531ff0ddeeb2108364c94dbf4dbe5d7d3f75e0aa52576d1a59559c13ec3e0f68dec4d52e6221e683ac519b850c WHIRLPOOL dcdf3a35b35607a4982035e75332c0e2f87d2df5cca9df77c48c5d57cc783d341b77fd95f71681877695b03a12564f8f28717a975bd51e832f496b71f73c3736 |
25 |
DIST cffi-1.1.2.tar.gz 326758 SHA256 390970b602708c91ddc73953bb6929e56291c18a4d80f360afa00fad8b6f3339 SHA512 d146984013b63382ea64bd2d6188cdbf9154cf83d66bf4dbb9353f1daea66f9eae07c6da47e152c5758d3458a742adde0310f71c792eb0a80950d7f857bfb943 WHIRLPOOL 02b92f0d13b02e351ba63e55a731c0b5480ae0b376c99a8dc1a256b3b55bf0119b4238dca88171605c1348b0847a6ff305ba4ec69cd1b42b9950708f42d6067e |
26 |
DIST cffi-1.2.1.tar.gz 335778 SHA256 eab571deb0a152e2f53c404c08a94870a131526896cad08cd43bf86ce3771e3d SHA512 26ab695d34ef1895f38c735b2c6400cbf6325d622ce93799513130791365bb71d656288e991b86861ac8e899872504c1f4368d27104c4ac9b881c83c7f8dad88 WHIRLPOOL a8bbe3c24be660946c1f31fbb8b1f50810f78b9485a32aadfb091a624b5386641bde71981c58792f8e95e8e77cfce7d9959eb197c417464cf5351e568aa6336d |
27 |
|
28 |
diff --git a/dev-python/cffi/cffi-0.8.6.ebuild b/dev-python/cffi/cffi-0.8.6.ebuild |
29 |
new file mode 100644 |
30 |
index 0000000..a7862a6 |
31 |
--- /dev/null |
32 |
+++ b/dev-python/cffi/cffi-0.8.6.ebuild |
33 |
@@ -0,0 +1,38 @@ |
34 |
+# Copyright 1999-2015 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+# $Id$ |
37 |
+ |
38 |
+EAPI="5" |
39 |
+PYTHON_COMPAT=( python{2_7,3_3,3_4} ) |
40 |
+ |
41 |
+inherit distutils-r1 |
42 |
+ |
43 |
+DESCRIPTION="Foreign Function Interface for Python calling C code" |
44 |
+HOMEPAGE="http://cffi.readthedocs.org/" |
45 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+SLOT="0/${PV}" |
49 |
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" |
50 |
+IUSE="doc" |
51 |
+ |
52 |
+RDEPEND="virtual/libffi |
53 |
+ dev-python/pycparser[${PYTHON_USEDEP}] |
54 |
+ dev-python/pytest[${PYTHON_USEDEP}]" |
55 |
+DEPEND="${RDEPEND}" |
56 |
+ |
57 |
+# Avoid race on _configtest.c (distutils/command/config.py:_gen_temp_sourcefile) |
58 |
+DISTUTILS_IN_SOURCE_BUILD=1 |
59 |
+ |
60 |
+python_compile_all() { |
61 |
+ use doc && emake -C doc html |
62 |
+} |
63 |
+ |
64 |
+python_test() { |
65 |
+ py.test -x -v --ignore testing/test_zintegration.py c/ testing/ || die "Testing failed with ${EPYTHON}" |
66 |
+} |
67 |
+ |
68 |
+python_install_all() { |
69 |
+ distutils-r1_python_install_all |
70 |
+ use doc && dohtml -r doc/build/ |
71 |
+} |