Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cffi/
Date: Mon, 04 May 2020 10:23:55
Message-Id: 1588587824.002d1eec95f9ad8a44d962c391d6f2c45f74b8f7.mgorny@gentoo
1 commit: 002d1eec95f9ad8a44d962c391d6f2c45f74b8f7
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 4 10:21:53 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 4 10:23:44 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=002d1eec
7
8 dev-python/cffi: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/cffi/Manifest | 1 -
13 dev-python/cffi/cffi-1.13.2.ebuild | 43 --------------------------------------
14 2 files changed, 44 deletions(-)
15
16 diff --git a/dev-python/cffi/Manifest b/dev-python/cffi/Manifest
17 index 92cabc666cf..380fea6a6ea 100644
18 --- a/dev-python/cffi/Manifest
19 +++ b/dev-python/cffi/Manifest
20 @@ -1,2 +1 @@
21 -DIST cffi-1.13.2.tar.gz 460243 BLAKE2B 74603f2b1bde068a955e94912488fd7d8914267ec2d0cbd8574f62376fc24ef16d85d59e9fee7f6015e6d242726ea25235788faddedc68deb56ae71e627d6322 SHA512 2c57d9c06c39e95498a54408dc39940427190f3c03e1b8f1a3584140db08a5775dd12e6e67b03093429c130af579d01519b0fc868b99ba7a530068ed22d38522
22 DIST cffi-1.14.0.tar.gz 463065 BLAKE2B 4d1e8a92241db801848ef8bd05ea15a31c7f61ea426ce4da184aff00df786348d2c76de9dc48898c814478aed9750b665868df24ad39435062cd7e1c84163e52 SHA512 4c5451eeede1d48a8f4b40e25b845ad1863b8bf3bd39624e6c693c2800d89a13efedc4c43b37e317a035613bffc2e3fd5f7e583c46cb283cb5cb930356f86253
23
24 diff --git a/dev-python/cffi/cffi-1.13.2.ebuild b/dev-python/cffi/cffi-1.13.2.ebuild
25 deleted file mode 100644
26 index e603db86aa4..00000000000
27 --- a/dev-python/cffi/cffi-1.13.2.ebuild
28 +++ /dev/null
29 @@ -1,43 +0,0 @@
30 -# Copyright 1999-2020 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -# DO NOT ADD pypy to PYTHON_COMPAT
36 -# pypy bundles a modified version of cffi. Use python_gen_cond_dep instead.
37 -DISTUTILS_USE_SETUPTOOLS=rdepend
38 -PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
39 -
40 -inherit distutils-r1 toolchain-funcs
41 -
42 -DESCRIPTION="Foreign Function Interface for Python calling C code"
43 -HOMEPAGE="https://cffi.readthedocs.io/ https://pypi.org/project/cffi/"
44 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
45 -
46 -LICENSE="MIT"
47 -SLOT="0/${PV}"
48 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
49 -IUSE="test"
50 -RESTRICT="!test? ( test )"
51 -
52 -DEPEND="virtual/libffi:="
53 -RDEPEND="${DEPEND}
54 - dev-python/pycparser[${PYTHON_USEDEP}]"
55 -BDEPEND="${RDEPEND}
56 - virtual/pkgconfig
57 - test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
58 -
59 -distutils_enable_sphinx doc/source
60 -
61 -src_configure() {
62 - tc-export PKG_CONFIG
63 -}
64 -
65 -python_test() {
66 - "${EPYTHON}" -c "import _cffi_backend as backend" || die
67 - pytest -x -vv \
68 - --ignore testing/test_zintegration.py \
69 - --ignore testing/embedding \
70 - c/ testing/ \
71 - || die "Testing failed with ${EPYTHON}"
72 -}