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 7834515808B for ; Sat, 9 Apr 2022 18:42:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EE671E088F; Sat, 9 Apr 2022 18:41:40 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 45D39E0878 for ; Sat, 9 Apr 2022 18:41:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 82226341746 for ; Sat, 9 Apr 2022 18:41:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F1D47391 for ; Sat, 9 Apr 2022 18:41:28 +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: <1649529607.d6a5cedd33059d77eee94e6ee4c216acc0105c13.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cryptography/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/cryptography/cryptography-3.4.7-r2.ebuild X-VCS-Directories: dev-python/cryptography/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: d6a5cedd33059d77eee94e6ee4c216acc0105c13 X-VCS-Branch: master Date: Sat, 9 Apr 2022 18:41:28 +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: f606f658-c723-4b45-a972-2f3730bd27cc X-Archives-Hash: 627e777ab639957535e8f15dd647527f commit: d6a5cedd33059d77eee94e6ee4c216acc0105c13 Author: Michał Górny gentoo org> AuthorDate: Sat Apr 9 18:40:07 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Apr 9 18:40:07 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6a5cedd dev-python/cryptography: Remove old Signed-off-by: Michał Górny gentoo.org> .../cryptography/cryptography-3.4.7-r2.ebuild | 76 ---------------------- 1 file changed, 76 deletions(-) diff --git a/dev-python/cryptography/cryptography-3.4.7-r2.ebuild b/dev-python/cryptography/cryptography-3.4.7-r2.ebuild deleted file mode 100644 index 6f1e87cf55b4..000000000000 --- a/dev-python/cryptography/cryptography-3.4.7-r2.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..10} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 multiprocessing - -VEC_P=cryptography_vectors-${PV} -DESCRIPTION="Library providing cryptographic recipes and primitives" -HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.org/project/cryptography/" -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz - test? ( mirror://pypi/c/cryptography_vectors/${VEC_P}.tar.gz )" - -LICENSE="|| ( Apache-2.0 BSD )" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -RDEPEND=" - $(python_gen_cond_dep ' - >=dev-python/cffi-1.8:=[${PYTHON_USEDEP}] - ' 'python*') - " -BDEPEND=" - test? ( - >=dev-python/hypothesis-1.11.4[${PYTHON_USEDEP}] - dev-python/iso8601[${PYTHON_USEDEP}] - dev-python/pretend[${PYTHON_USEDEP}] - dev-python/pyasn1-modules[${PYTHON_USEDEP}] - dev-python/pytz[${PYTHON_USEDEP}] - dev-python/pytest-subtests[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - )" - -distutils_enable_tests pytest - -DEPEND=" - >=dev-libs/openssl-1.0.2o-r6:0= - " -RDEPEND+=${DEPEND} - -PATCHES=( - "${FILESDIR}/${P}-py310.patch" -) - -src_prepare() { - default - - # avoid automagic dependency on dev-libs/openssl[sslv3] - # https://bugs.gentoo.org/789450 - export CPPFLAGS="${CPPFLAGS} -DOPENSSL_NO_SSL3_METHOD=1" - - # work around availability macros not supported in GCC (yet) - if [[ ${CHOST} == *-darwin* ]] ; then - local darwinok=0 - if [[ ${CHOST##*-darwin} -ge 16 ]] ; then - darwinok=1 - fi - sed -i -e 's/__builtin_available(macOS 10\.12, \*)/'"${darwinok}"'/' \ - src/_cffi_src/openssl/src/osrandom_engine.c || die - fi - - # this version does not really use Rust, it just creates a dummy - # extension to break stuff - export CRYPTOGRAPHY_DONT_BUILD_RUST=1 - sed -e 's:from setuptools_rust import RustExtension:pass:' \ - -e '/setup_requires/d' \ - -i setup.py || die -} - -python_test() { - local -x PYTHONPATH=${PYTHONPATH}:${WORKDIR}/${VEC_P} - epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" -}