From b87f564926f4aec59ebe4f891b1533ddd5dc5c92 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Fri, 27 Nov 2020 00:51:20 +0100 Subject: dev-python/idna-ssl: Remove py3.8+ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/idna-ssl/idna-ssl-1.1.0-r1.ebuild | 33 ++++++++++++++++++++++++++++ dev-python/idna-ssl/idna-ssl-1.1.0.ebuild | 32 --------------------------- 2 files changed, 33 insertions(+), 32 deletions(-) create mode 100644 dev-python/idna-ssl/idna-ssl-1.1.0-r1.ebuild delete mode 100644 dev-python/idna-ssl/idna-ssl-1.1.0.ebuild (limited to 'dev-python/idna-ssl') diff --git a/dev-python/idna-ssl/idna-ssl-1.1.0-r1.ebuild b/dev-python/idna-ssl/idna-ssl-1.1.0-r1.ebuild new file mode 100644 index 000000000000..03a3b1712ebd --- /dev/null +++ b/dev-python/idna-ssl/idna-ssl-1.1.0-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# this is backport, please do not add 3.8+ +PYTHON_COMPAT=( python3_{6..7} ) + +inherit distutils-r1 + +DESCRIPTION="Patch ssl.match_hostname for Unicode(idna) domains support" +HOMEPAGE="https://github.com/aio-libs/idna-ssl https://pypi.org/project/idna_ssl/" +SRC_URI=" + https://github.com/aio-libs/idna-ssl/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86" +IUSE="" + +RDEPEND="dev-python/idna[${PYTHON_USEDEP}]" +BDEPEND=" + test? ( dev-python/aiohttp[${PYTHON_USEDEP}] )" + +src_prepare() { + sed -e 's:--no-cov-on-fail --cov=idna_ssl --cov-report=term --cov-report=html::' \ + -i setup.cfg || die + sed -e 's:test_aiohttp:_&:' -i tests/test_base.py || die + distutils-r1_src_prepare +} + +distutils_enable_tests pytest diff --git a/dev-python/idna-ssl/idna-ssl-1.1.0.ebuild b/dev-python/idna-ssl/idna-ssl-1.1.0.ebuild deleted file mode 100644 index c19a9193058b..000000000000 --- a/dev-python/idna-ssl/idna-ssl-1.1.0.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6..9} ) - -inherit distutils-r1 - -DESCRIPTION="Patch ssl.match_hostname for Unicode(idna) domains support" -HOMEPAGE="https://github.com/aio-libs/idna-ssl https://pypi.org/project/idna_ssl/" -SRC_URI=" - https://github.com/aio-libs/idna-ssl/archive/v${PV}.tar.gz - -> ${P}.gh.tar.gz" - -SLOT="0" -LICENSE="MIT" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86" -IUSE="" - -RDEPEND="dev-python/idna[${PYTHON_USEDEP}]" -BDEPEND=" - test? ( dev-python/aiohttp[${PYTHON_USEDEP}] )" - -src_prepare() { - sed -e 's:--no-cov-on-fail --cov=idna_ssl --cov-report=term --cov-report=html::' \ - -i setup.cfg || die - sed -e 's:test_aiohttp:_&:' -i tests/test_base.py || die - distutils-r1_src_prepare -} - -distutils_enable_tests pytest -- cgit v1.2.3-65-gdbad