1 |
commit: 684a1a4d1b51831c2503ffa0e8d23442cf9d721c |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 12 12:32:26 2017 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 12 12:32:26 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=684a1a4d |
7 |
|
8 |
dev-python/cffi: version bump to 1.10.0 |
9 |
|
10 |
dev-python/cffi/Manifest | 1 + |
11 |
dev-python/cffi/cffi-1.10.0.ebuild | 49 ++++++++++++++++++++++++++++++++++++++ |
12 |
2 files changed, 50 insertions(+) |
13 |
|
14 |
diff --git a/dev-python/cffi/Manifest b/dev-python/cffi/Manifest |
15 |
index a855d30a8d4..a3b5a4b8821 100644 |
16 |
--- a/dev-python/cffi/Manifest |
17 |
+++ b/dev-python/cffi/Manifest |
18 |
@@ -1,3 +1,4 @@ |
19 |
+DIST cffi-1.10.0.tar.gz 418131 SHA256 b3b02911eb1f6ada203b0763ba924234629b51586f72a21faacc638269f4ced5 SHA512 02c9987c44698708dcb7e0aa17637df6b15f81732dc25b03e54563ca5664a817863b87daf7a782a62c7b6150388cdca858ef496a975ab289c86f05e5492465ef WHIRLPOOL 577cd975c6937537184b19432d185461964e5b66e851b1e3c4a8a3cc4a6a3329689dc15da717fb1921380af7479ca4dc9cb98c92a3763fe982abc582c012f474 |
20 |
DIST cffi-1.2.1.tar.gz 335778 SHA256 eab571deb0a152e2f53c404c08a94870a131526896cad08cd43bf86ce3771e3d SHA512 26ab695d34ef1895f38c735b2c6400cbf6325d622ce93799513130791365bb71d656288e991b86861ac8e899872504c1f4368d27104c4ac9b881c83c7f8dad88 WHIRLPOOL a8bbe3c24be660946c1f31fbb8b1f50810f78b9485a32aadfb091a624b5386641bde71981c58792f8e95e8e77cfce7d9959eb197c417464cf5351e568aa6336d |
21 |
DIST cffi-1.5.2.tar.gz 388793 SHA256 da9bde99872e46f7bb5cff40a9b1cc08406765efafb583c704de108b6cb821dd SHA512 3c707db85032bc13287beec0211d85a7b9f9dfcb87844adba3a86b23211acd495e88072ec23f22e7c7626d25cadd5b9843c34255d4080eefb171020ad0a2d552 WHIRLPOOL 35cfd86d06dcc2bb2a0e8e196f06d5df0eeaa6dd65d13dc4489284108fa596a88f46918c5b70e38584965290d141f5cbf0e2bcb469c3316cd1962109d77889dd |
22 |
DIST cffi-1.6.0.tar.gz 397024 SHA256 a7f75c4ef2362c0a0e54657add0a6c509fecbfa3b3807bc0925f5cb1c9f927db SHA512 95dc7fbca624b5474ff0182ff6e1d1c6b8b34ad19c4c22cabf847f7be6c47dc32a96b23165da1c28438a46a1e9f681341fe8b7304ba5618744c595c4ae364466 WHIRLPOOL a4faef6dfaa078a09abadbe2af6d589dcd36d94bcf07eb47cda1e18ae1d60a3d62d0d66240f717f09564b97565b495e71b77390fe4278afb978fa2c62d341684 |
23 |
|
24 |
diff --git a/dev-python/cffi/cffi-1.10.0.ebuild b/dev-python/cffi/cffi-1.10.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..67440aaefe5 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/cffi/cffi-1.10.0.ebuild |
29 |
@@ -0,0 +1,49 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+# DO NOT ADD pypy to PYTHON_COMPAT |
36 |
+# pypy bundles a modified version of cffi. Use python_gen_cond_dep instead. |
37 |
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Foreign Function Interface for Python calling C code" |
42 |
+HOMEPAGE="http://cffi.readthedocs.org/ https://pypi.python.org/pypi/cffi" |
43 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0/${PV}" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" |
48 |
+IUSE="doc test" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ virtual/libffi |
52 |
+ dev-python/pycparser[${PYTHON_USEDEP}]" |
53 |
+DEPEND="${RDEPEND} |
54 |
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
55 |
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )" |
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 |
+ einfo "$PYTHONPATH" |
66 |
+ $PYTHON -c "import _cffi_backend as backend" || die |
67 |
+ PYTHONPATH="${PYTHONPATH}" \ |
68 |
+ py.test -x -v \ |
69 |
+ --ignore testing/test_zintegration.py \ |
70 |
+ --ignore testing/embedding \ |
71 |
+ c/ testing/ \ |
72 |
+ || die "Testing failed with ${EPYTHON}" |
73 |
+} |
74 |
+ |
75 |
+python_install_all() { |
76 |
+ use doc && local HTML_DOCS=( doc/build/html/. ) |
77 |
+ distutils-r1_python_install_all |
78 |
+} |