mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
pbr: bump version
enable 3.8, 3.9, remove 3.6
This commit is contained in:
@@ -12,7 +12,7 @@ COPYRIGHT="2013-2018 OpenStack Contributors"
|
||||
LICENSE="Apache v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://files.pythonhosted.org/packages/source/p/pbr/pbr-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="2c8e420cd4ed4cec4e7999ee47409e876af575d4c35a45840d59e8b5f3155ab8"
|
||||
CHECKSUM_SHA256="5fad80b613c402d5b7df7bd84812548b2a61e9977387a80a5fc5c396492b13c9"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
@@ -27,8 +27,8 @@ BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
|
||||
PYTHON_PACKAGES=(python python36 python3)
|
||||
PYTHON_VERSIONS=(2.7 3.6 3.7)
|
||||
PYTHON_PACKAGES=(python python3 python38 python39)
|
||||
PYTHON_VERSIONS=(2.7 3.7 3.8 3.9)
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
@@ -47,12 +47,15 @@ done
|
||||
PROVIDES_python+="
|
||||
cmd:pbr2
|
||||
"
|
||||
PROVIDES_python36+="
|
||||
cmd:pbr36
|
||||
"
|
||||
PROVIDES_python3+="
|
||||
cmd:pbr
|
||||
"
|
||||
PROVIDES_python38+="
|
||||
cmd:pbr38
|
||||
"
|
||||
PROVIDES_python39+="
|
||||
cmd:pbr39
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
@@ -87,8 +90,11 @@ INSTALL()
|
||||
if [ "$pythonPackage" = python ]; then
|
||||
mv "$binDir"/pbr "$binDir"/pbr2
|
||||
fi
|
||||
if [ "$pythonPackage" = python36 ]; then
|
||||
mv "$binDir"/pbr "$binDir"/pbr36
|
||||
if [ "$pythonPackage" = python38 ]; then
|
||||
mv "$binDir"/pbr "$binDir"/pbr38
|
||||
fi
|
||||
if [ "$pythonPackage" = python39 ]; then
|
||||
mv "$binDir"/pbr "$binDir"/pbr39
|
||||
fi
|
||||
|
||||
packageEntries $pythonPackage \
|
||||
Reference in New Issue
Block a user