pytz, bump version, drop python2.7, add python3.10 (#7191)

This commit is contained in:
Schrijvers Luc
2022-09-13 10:30:08 +02:00
committed by GitHub
parent 339ec57e04
commit 7462ef853a

View File

@@ -4,11 +4,11 @@ It allows accurate and cross platform timezone calculations. \
It also solves the issue of ambiguous times at the end of daylight saving time."
HOMEPAGE="https://pythonhosted.org/pytz/
https://pypi.org/project/pytz/"
COPYRIGHT="2013-2021 Stuart Bishop"
COPYRIGHT="2003-2019 Stuart Bishop"
LICENSE="MIT"
REVISION="1"
SOURCE_URI="https://pypi.io/packages/source/${portName:0:1}/$portName/$portName-$portVersion.tar.gz"
CHECKSUM_SHA256="acad2d8b20a1af07d4e4c9d2e9285c5ed9104354062f275f3fcd88dcef4f1326"
CHECKSUM_SHA256="cea221417204f2d1a2aa03ddae3e867921971d0d76f14d87abb4414415bbdcf5"
ARCHITECTURES="any"
@@ -23,8 +23,8 @@ BUILD_REQUIRES="
haiku_devel
"
PYTHON_PACKAGES=(python python3 python38 python39)
PYTHON_VERSIONS=(2.7 3.7 3.8 3.9)
PYTHON_PACKAGES=(python3 python38 python39 python310)
PYTHON_VERSIONS=(3.7 3.8 3.9 3.10)
for i in "${!PYTHON_PACKAGES[@]}"; do
pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]}