From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 670FE15800D for ; Mon, 10 Jul 2023 01:25:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3FC30E0867; Mon, 10 Jul 2023 01:25:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 22405E0869 for ; Mon, 10 Jul 2023 01:25:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EAF30340F7F for ; Mon, 10 Jul 2023 01:25:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 384E1AD2 for ; Mon, 10 Jul 2023 01:25:27 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1688952143.b67e023d2a8bfdcf1f59822a05e7f72d60aebed3.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cffi/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/cffi/cffi-1.15.1-r2.ebuild X-VCS-Directories: dev-python/cffi/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b67e023d2a8bfdcf1f59822a05e7f72d60aebed3 X-VCS-Branch: master Date: Mon, 10 Jul 2023 01:25:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cef962ae-e09c-4c6a-90e1-3c603dde08ba X-Archives-Hash: 53a526b49fa6820cb9091703d71db126 commit: b67e023d2a8bfdcf1f59822a05e7f72d60aebed3 Author: Michał Górny gentoo org> AuthorDate: Mon Jul 10 01:22:23 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Jul 10 01:22:23 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b67e023d dev-python/cffi: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/cffi/cffi-1.15.1-r2.ebuild | 74 ----------------------------------- 1 file changed, 74 deletions(-) diff --git a/dev-python/cffi/cffi-1.15.1-r2.ebuild b/dev-python/cffi/cffi-1.15.1-r2.ebuild deleted file mode 100644 index 864133805d8c..000000000000 --- a/dev-python/cffi/cffi-1.15.1-r2.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -# please keep this ebuild at EAPI 7 -- sys-apps/portage dep -EAPI=7 - -# no py3.12 yet because of: -# 1. https://foss.heptapod.net/pypy/cffi/-/issues/562 -# 2. https://foss.heptapod.net/pypy/cffi/-/issues/563 -# 3. https://foss.heptapod.net/pypy/cffi/-/issues/564 -DISTUTILS_EXT=1 -DISTUTILS_USE_PEP517=setuptools -# DO NOT ADD pypy to PYTHON_COMPAT -# pypy bundles a modified version of cffi. Use python_gen_cond_dep instead. -PYTHON_COMPAT=( python3_{10..11} ) - -inherit distutils-r1 toolchain-funcs pypi - -DESCRIPTION="Foreign Function Interface for Python calling C code" -HOMEPAGE=" - https://cffi.readthedocs.io/ - https://pypi.org/project/cffi/ -" -SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-drop-deprecated-py.patch.xz" - -LICENSE="MIT" -SLOT="0/${PV}" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" - -# Needs recent libffi for HPPA fixes -DEPEND=" - >=dev-libs/libffi-3.4.4-r1:= -" -RDEPEND=" - ${DEPEND} - dev-python/pycparser[${PYTHON_USEDEP}] -" -BDEPEND=" - ${RDEPEND} - virtual/pkgconfig -" - -distutils_enable_sphinx doc/source -distutils_enable_tests pytest - -PATCHES=( - "${FILESDIR}"/cffi-1.14.0-darwin-no-brew.patch - "${FILESDIR}"/${P}-hppa.patch - "${FILESDIR}"/${P}-python3.11-tests.patch - "${WORKDIR}"/${P}-drop-deprecated-py.patch -) - -src_prepare() { - if [[ ${CHOST} == *darwin* ]] ; then - # Don't obsessively try to find libffi - sed -i -e "s/.*\-iwithsysroot\/usr\/include\/ffi.*/\tpass/" setup.py || die - fi - distutils-r1_src_prepare -} - -src_configure() { - tc-export PKG_CONFIG -} - -python_test() { - local EPYTEST_IGNORE=( - # these tests call pip - testing/cffi0/test_zintegration.py - ) - - "${EPYTHON}" -c "import _cffi_backend as backend" || die - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest c testing -}