1 |
commit: 4ff1d2227670bea6f6e41976c8627d15aa2d3678 |
2 |
Author: Zamarin Arthur <arthurzam <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Nov 9 13:50:45 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 29 19:03:40 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ff1d222 |
7 |
|
8 |
dev-python/cffi: bump v1.13.2 |
9 |
|
10 |
use distutils_enable_sphinx for doc |
11 |
|
12 |
Closes: https://bugs.gentoo.org/697928 |
13 |
|
14 |
Package-Manager: Portage-2.3.79, Repoman-2.3.18 |
15 |
Signed-off-by: Zamarin Arthur <arthurzam <AT> gmail.com> |
16 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
17 |
|
18 |
dev-python/cffi/Manifest | 1 + |
19 |
dev-python/cffi/cffi-1.13.2.ebuild | 42 ++++++++++++++++++++++++++++++++++++++ |
20 |
2 files changed, 43 insertions(+) |
21 |
|
22 |
diff --git a/dev-python/cffi/Manifest b/dev-python/cffi/Manifest |
23 |
index 3443dadff6b..f960a627812 100644 |
24 |
--- a/dev-python/cffi/Manifest |
25 |
+++ b/dev-python/cffi/Manifest |
26 |
@@ -3,4 +3,5 @@ DIST cffi-1.11.4.tar.gz 436857 BLAKE2B 46b5d1adf4aca2a75ea02ba01ae934821d0e864ac |
27 |
DIST cffi-1.11.5.tar.gz 438498 BLAKE2B 2e22cf3c2d50d76f8f25b7ac31a77fac8a49e2b2f4952e3b1a1da79c0ad2ca5c6e450000cadd1efa06df53d14f711e0acd73a075bea45ebd61e667fb650a10ab SHA512 6770d5293cfd7405e733d60c96655641b5bcc5878fc66a737f4a8308f465d459ee0e3fcaa47893d8f57fb195e5534dd7e4728c868f33d7e657688f45e1fb1880 |
28 |
DIST cffi-1.12.1.tar.gz 453584 BLAKE2B fb0fee63f5cc4dacd1055036ed6e7882452e848dfece99adadad7ebb1f0cc4171d1be5370fda5552da45127e374382b29cdc8e1f5122081d2551604630774cac SHA512 1863ad26d730d629e1397ba155bebd3f9edc881d661fda5301a5acb080c8e006925317c1b092f054c46834d693c437d6e91a687f379c9ab029223a9a159eaf48 |
29 |
DIST cffi-1.12.3.tar.gz 456340 BLAKE2B bac7265ed9b0858d791443572f39316fdf809c8e40b5a2557ccd667858d994cb44368b4b74655813833d3c5cd5c266fbb5227d777db8fcedc599917f31dab7ad SHA512 9070f5cfe543c9261a79f995548899c3e7539ee20f562ba91a4a909887745bd28448b0e38241031d6b2ab87286fd0ec91768b8bf6577716427612d41b0ed3b93 |
30 |
+DIST cffi-1.13.2.tar.gz 460243 BLAKE2B 74603f2b1bde068a955e94912488fd7d8914267ec2d0cbd8574f62376fc24ef16d85d59e9fee7f6015e6d242726ea25235788faddedc68deb56ae71e627d6322 SHA512 2c57d9c06c39e95498a54408dc39940427190f3c03e1b8f1a3584140db08a5775dd12e6e67b03093429c130af579d01519b0fc868b99ba7a530068ed22d38522 |
31 |
DIST cffi-1.9.1.tar.gz 407108 BLAKE2B f95e99cbb7a10aacb714d6ddbe85755e24d4fbdebb9ada0ab87c95b58aa56b364df612fbdfbf6fcc3a9dfff6e96fe5e979ee37b1c6c9b62b6ba8d3a9565def2f SHA512 6e76f181b6b7b760a14ad70338edd104a8b8e2eac5680e336d3868e0bd031a1665608e29a65dc0c56806afb8a8c03811586f151f3acef11e54e60c1bfcf902e3 |
32 |
|
33 |
diff --git a/dev-python/cffi/cffi-1.13.2.ebuild b/dev-python/cffi/cffi-1.13.2.ebuild |
34 |
new file mode 100644 |
35 |
index 00000000000..2d80e3c9248 |
36 |
--- /dev/null |
37 |
+++ b/dev-python/cffi/cffi-1.13.2.ebuild |
38 |
@@ -0,0 +1,42 @@ |
39 |
+# Copyright 1999-2019 Gentoo Authors |
40 |
+# Distributed under the terms of the GNU General Public License v2 |
41 |
+ |
42 |
+EAPI=7 |
43 |
+ |
44 |
+# DO NOT ADD pypy to PYTHON_COMPAT |
45 |
+# pypy bundles a modified version of cffi. Use python_gen_cond_dep instead. |
46 |
+PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} ) |
47 |
+ |
48 |
+inherit distutils-r1 toolchain-funcs |
49 |
+ |
50 |
+DESCRIPTION="Foreign Function Interface for Python calling C code" |
51 |
+HOMEPAGE="https://cffi.readthedocs.io/ https://pypi.org/project/cffi/" |
52 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
53 |
+ |
54 |
+LICENSE="MIT" |
55 |
+SLOT="0/${PV}" |
56 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
57 |
+IUSE="test" |
58 |
+RESTRICT="!test? ( test )" |
59 |
+ |
60 |
+DEPEND="virtual/libffi:=" |
61 |
+RDEPEND="${DEPEND} |
62 |
+ dev-python/pycparser[${PYTHON_USEDEP}]" |
63 |
+BDEPEND="${RDEPEND} |
64 |
+ virtual/pkgconfig |
65 |
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )" |
66 |
+ |
67 |
+distutils_enable_sphinx doc/source |
68 |
+ |
69 |
+src_configure() { |
70 |
+ tc-export PKG_CONFIG |
71 |
+} |
72 |
+ |
73 |
+python_test() { |
74 |
+ "${EPYTHON}" -c "import _cffi_backend as backend" || die |
75 |
+ pytest -x -vv \ |
76 |
+ --ignore testing/test_zintegration.py \ |
77 |
+ --ignore testing/embedding \ |
78 |
+ c/ testing/ \ |
79 |
+ || die "Testing failed with ${EPYTHON}" |
80 |
+} |