commit: bd536957062246e8c1b57b141d6c0454acb8ef43
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 15 06:23:46 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 15 06:33:29 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd536957
dev-python/pytz_deprecation_shim: Enable py3.11
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../pytz_deprecation_shim-0.1.0_p0-r2.ebuild | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git
a/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r2.ebuild
b/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r2.ebuild
index 4067747deaa4..8d310bf3718f 100644
--- a/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r2.ebuild
+++ b/dev-python/pytz_deprecation_shim/pytz_deprecation_shim-0.1.0_p0-r2.ebuild
@@ -4,15 +4,19 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} pypy3 )
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+
inherit distutils-r1
MY_P=${P/_p/.post}
DESCRIPTION="Shims to make deprecation of pytz easier"
-HOMEPAGE="https://pypi.org/project/pytz-deprecation-shim/
https://github.com/pganssle/pytz-deprecation-shim"
+HOMEPAGE="
+ https://github.com/pganssle/pytz-deprecation-shim/
+ https://pypi.org/project/pytz-deprecation-shim/
+"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
+S=${WORKDIR}/${MY_P}
LICENSE="Apache-2.0"
SLOT="0"
@@ -21,14 +25,13 @@ KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips
~ppc ~ppc64 ~riscv ~s3
RDEPEND="
$(python_gen_cond_dep '
dev-python/backports-zoneinfo[${PYTHON_USEDEP}]
- ' python3_8 pypy3)
+ ' 3.8)
sys-libs/timezone-data
"
BDEPEND="
test? (
dev-python/hypothesis[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
- dev-python/toml[${PYTHON_USEDEP}]
)
"