mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
wheel: drop Python 3.9 support.
All on-tree users already target 3.10 only.
This commit is contained in:
@@ -12,7 +12,7 @@ stable, public API."
|
||||
HOMEPAGE="https://pypi.org/project/wheel"
|
||||
COPYRIGHT="2012 Daniel Holth and contributors"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://files.pythonhosted.org/packages/py3/${portName:0:1}/$portName/$portName-$portVersion-py3-none-any.whl#noarchive"
|
||||
CHECKSUM_SHA256="75909db2664838d015e3d9139004ee16711748a52c8f336b52882266540215d8"
|
||||
|
||||
@@ -30,12 +30,11 @@ BUILD_REQUIRES="
|
||||
"
|
||||
|
||||
# Add more versions here as necessary:
|
||||
PYTHON_VERSIONS=(3.9 3.10)
|
||||
PYTHON_VERSIONS=(3.10)
|
||||
# And don't forget to change this if the default Python version on Haiku changes:
|
||||
defaultVersion=3.10
|
||||
|
||||
for i in "${!PYTHON_VERSIONS[@]}"; do
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
for pythonVersion in ${PYTHON_VERSIONS[@]}; do
|
||||
pythonPackage=python${pythonVersion//.}
|
||||
|
||||
eval "PROVIDES_$pythonPackage=\"
|
||||
@@ -64,8 +63,7 @@ done
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
for i in "${!PYTHON_VERSIONS[@]}"; do
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
for pythonVersion in ${PYTHON_VERSIONS[@]}; do
|
||||
pythonPackage=python${pythonVersion//.}
|
||||
|
||||
python=python$pythonVersion
|
||||
|
||||
Reference in New Issue
Block a user