mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
pytz: bump version.
This commit is contained in:
@@ -6,9 +6,9 @@ HOMEPAGE="https://pythonhosted.org/pytz/
|
||||
https://pypi.org/project/pytz/"
|
||||
COPYRIGHT="2013-2018 Stuart Bishop"
|
||||
LICENSE="MIT"
|
||||
REVISION="2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://files.pythonhosted.org/packages/source/p/pytz/pytz-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="31cb35c89bd7d333cd32c5f278fca91b523b0834369e757f4c5641ea252236ca"
|
||||
CHECKSUM_SHA256="b02c06db6cf09c12dd25137e563b31700d3b80fcc4ad23abb7a315f2789819be"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
@@ -21,16 +21,10 @@ REQUIRES="
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
setuptools_python
|
||||
setuptools_python3
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:python
|
||||
cmd:python3
|
||||
"
|
||||
|
||||
PYTHON_PACKAGES=(python python3)
|
||||
PYTHON_VERSIONS=(2.7 3.6)
|
||||
PYTHON_PACKAGES=(python python36 python3)
|
||||
PYTHON_VERSIONS=(2.7 3.6 3.7)
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
@@ -42,6 +36,10 @@ for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
haiku
|
||||
cmd:python$pythonVersion
|
||||
\""
|
||||
BUILD_REQUIRES="$BUILD_REQUIRES
|
||||
setuptools_$pythonPackage"
|
||||
BUILD_PREREQUIRES="$BUILD_PREREQUIRES
|
||||
cmd:python$pythonVersion"
|
||||
done
|
||||
|
||||
BUILD()
|
||||
Reference in New Issue
Block a user