Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cffi/
Date: Sat, 22 Jun 2019 21:02:43
Message-Id: 1561237180.63db516f40d8797588a94c596cacc3b1e656988a.radhermit@gentoo
1 commit: 63db516f40d8797588a94c596cacc3b1e656988a
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 22 20:59:40 2019 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 22 20:59:40 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63db516f
7
8 dev-python/cffi: version bump to 1.12.3
9
10 Signed-off-by: Tim Harder <radhermit <AT> gentoo.org>
11
12 dev-python/cffi/Manifest | 1 +
13 dev-python/cffi/cffi-1.12.3.ebuild | 54 ++++++++++++++++++++++++++++++++++++++
14 2 files changed, 55 insertions(+)
15
16 diff --git a/dev-python/cffi/Manifest b/dev-python/cffi/Manifest
17 index 1a541e62a92..3443dadff6b 100644
18 --- a/dev-python/cffi/Manifest
19 +++ b/dev-python/cffi/Manifest
20 @@ -2,4 +2,5 @@ DIST cffi-1.11.2.tar.gz 435142 BLAKE2B ba90cc377261a75557cef626f1c6b8c0c625c6721
21 DIST cffi-1.11.4.tar.gz 436857 BLAKE2B 46b5d1adf4aca2a75ea02ba01ae934821d0e864accd9c355745a681d11a08ed34c33c473204c78ecb2113b2d59fbc762ca0607ff92f6cd2dc411907844bbdaf3 SHA512 184572ab8c1f7a72f00084c23894efe1691aa20f9e822a3f7184ebbed16e757586ac47e7f1d12dd7b14b4322bf5b88e35465dc3bc8b0caf0dc8e2b626a52615e
22 DIST cffi-1.11.5.tar.gz 438498 BLAKE2B 2e22cf3c2d50d76f8f25b7ac31a77fac8a49e2b2f4952e3b1a1da79c0ad2ca5c6e450000cadd1efa06df53d14f711e0acd73a075bea45ebd61e667fb650a10ab SHA512 6770d5293cfd7405e733d60c96655641b5bcc5878fc66a737f4a8308f465d459ee0e3fcaa47893d8f57fb195e5534dd7e4728c868f33d7e657688f45e1fb1880
23 DIST cffi-1.12.1.tar.gz 453584 BLAKE2B fb0fee63f5cc4dacd1055036ed6e7882452e848dfece99adadad7ebb1f0cc4171d1be5370fda5552da45127e374382b29cdc8e1f5122081d2551604630774cac SHA512 1863ad26d730d629e1397ba155bebd3f9edc881d661fda5301a5acb080c8e006925317c1b092f054c46834d693c437d6e91a687f379c9ab029223a9a159eaf48
24 +DIST cffi-1.12.3.tar.gz 456340 BLAKE2B bac7265ed9b0858d791443572f39316fdf809c8e40b5a2557ccd667858d994cb44368b4b74655813833d3c5cd5c266fbb5227d777db8fcedc599917f31dab7ad SHA512 9070f5cfe543c9261a79f995548899c3e7539ee20f562ba91a4a909887745bd28448b0e38241031d6b2ab87286fd0ec91768b8bf6577716427612d41b0ed3b93
25 DIST cffi-1.9.1.tar.gz 407108 BLAKE2B f95e99cbb7a10aacb714d6ddbe85755e24d4fbdebb9ada0ab87c95b58aa56b364df612fbdfbf6fcc3a9dfff6e96fe5e979ee37b1c6c9b62b6ba8d3a9565def2f SHA512 6e76f181b6b7b760a14ad70338edd104a8b8e2eac5680e336d3868e0bd031a1665608e29a65dc0c56806afb8a8c03811586f151f3acef11e54e60c1bfcf902e3
26
27 diff --git a/dev-python/cffi/cffi-1.12.3.ebuild b/dev-python/cffi/cffi-1.12.3.ebuild
28 new file mode 100644
29 index 00000000000..f8d5fa83127
30 --- /dev/null
31 +++ b/dev-python/cffi/cffi-1.12.3.ebuild
32 @@ -0,0 +1,54 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +# DO NOT ADD pypy to PYTHON_COMPAT
39 +# pypy bundles a modified version of cffi. Use python_gen_cond_dep instead.
40 +PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
41 +
42 +inherit distutils-r1 toolchain-funcs
43 +
44 +DESCRIPTION="Foreign Function Interface for Python calling C code"
45 +HOMEPAGE="https://cffi.readthedocs.io/ https://pypi.org/project/cffi/"
46 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
47 +
48 +LICENSE="MIT"
49 +SLOT="0/${PV}"
50 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
51 +IUSE="doc test"
52 +
53 +RDEPEND="
54 + virtual/libffi:=
55 + dev-python/pycparser[${PYTHON_USEDEP}]"
56 +DEPEND="${RDEPEND}
57 + virtual/pkgconfig
58 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
59 + test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
60 +
61 +# Avoid race on _configtest.c (distutils/command/config.py:_gen_temp_sourcefile)
62 +DISTUTILS_IN_SOURCE_BUILD=1
63 +
64 +src_configure() {
65 + tc-export PKG_CONFIG
66 +}
67 +
68 +python_compile_all() {
69 + use doc && emake -C doc html
70 +}
71 +
72 +python_test() {
73 + einfo "$PYTHONPATH"
74 + $PYTHON -c "import _cffi_backend as backend" || die
75 + PYTHONPATH="${PYTHONPATH}" \
76 + py.test -x -v \
77 + --ignore testing/test_zintegration.py \
78 + --ignore testing/embedding \
79 + c/ testing/ \
80 + || die "Testing failed with ${EPYTHON}"
81 +}
82 +
83 +python_install_all() {
84 + use doc && local HTML_DOCS=( doc/build/html/. )
85 + distutils-r1_python_install_all
86 +}