dev-python/protego: enable py3.11

Closes: https://bugs.gentoo.org/897514
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2023-03-08 21:19:12 +05:00
parent 5aa73e62c2
commit 278d1bb83d
2 changed files with 24 additions and 19 deletions

View File

@@ -0,0 +1,24 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} pypy3 )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="Pure-Python robots.txt parser with support for modern conventions"
HOMEPAGE="
https://scrapy.org/
https://pypi.org/project/protego/
https://github.com/scrapy/protego
"
SRC_URI="https://github.com/scrapy/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT=0
KEYWORDS="~amd64"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
distutils_enable_tests pytest

View File

@@ -1,19 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..10} pypy3 )
inherit distutils-r1
DESCRIPTION="robots.txt parser with support for modern conventions"
HOMEPAGE="https://scrapy.org/"
SRC_URI="https://github.com/scrapy/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT=0
KEYWORDS="~amd64"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
distutils_enable_tests pytest