Skip to content

Commit

Permalink
Click: bump, pyversion (#4242)
Browse files Browse the repository at this point in the history
  • Loading branch information
extrowerk authored and waddlesplash committed Oct 3, 2019
1 parent a0e4b01 commit 6881001
Showing 1 changed file with 18 additions and 21 deletions.
Expand Up @@ -9,9 +9,9 @@ COPYRIGHT="2014-2018 Pallets Team
2002-2006 Python Software Foundation"
LICENSE="BSD (3-clause)"
REVISION="1"
SOURCE_URI="https://files.pythonhosted.org/packages/source/C/Click/Click-$portVersion.tar.gz"
CHECKSUM_SHA256="5b94b49521f6456670fdb30cd82a4eca9412788a93fa6dd6df72c94d5a8ff2d7"
SOURCE_DIR="Click-$portVersion"
SOURCE_URI="https://files.pythonhosted.org/packages/4e/b4/a2279d9d0183784e9dd9fd62b7505adab0819662d4b169602a6fef6a5a72/click8-$portVersion.tar.gz"
CHECKSUM_SHA256="3412342408c03fbfd3b1826c8fd0fb2caace9b15a9d1c9375555122855449c86"
SOURCE_DIR="click8-$portVersion"

ARCHITECTURES="any"

Expand All @@ -24,27 +24,24 @@ 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]}

eval "PROVIDES_$pythonPackage=\"
${portName}_$pythonPackage = $portVersion
\""
eval "REQUIRES_$pythonPackage=\"
haiku
cmd:python$pythonVersion
\""
pythonPackage=${PYTHON_PACKAGES[i]}
pythonVersion=${PYTHON_VERSIONS[$i]}
eval "PROVIDES_${pythonPackage}=\"\
${portName}_$pythonPackage = $portVersion\
\"; \
REQUIRES_$pythonPackage=\"\
haiku\n\
cmd:python$pythonVersion\
\""
BUILD_REQUIRES="$BUILD_REQUIRES
setuptools_$pythonPackage"
BUILD_PREREQUIRES="$BUILD_PREREQUIRES
cmd:python$pythonVersion"
done

BUILD()
Expand Down

0 comments on commit 6881001

Please sign in to comment.