mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
flit_core: drop support for Python 3.9. (#12944)
Should be the last recipe targetting 3.9. We should be able to drop the package for the Python 3.9 interpreter when it reaches EOL in October 2025.
This commit is contained in:
@@ -4,7 +4,7 @@ The only public interface is the API specified by PEP 517, at ``flit_core.builda
|
||||
HOMEPAGE="https://pypi.org/project/flit_core/"
|
||||
COPYRIGHT="2015 Thomas Kluyver and contributors"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://files.pythonhosted.org/packages/source/f/flit-core/flit_core-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="72ad266176c4a3fcfab5f2930d76896059851240570ce9a98733b658cb786eba"
|
||||
|
||||
@@ -21,10 +21,9 @@ BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
|
||||
PYTHON_VERSIONS=(3.9 3.10)
|
||||
PYTHON_VERSIONS=(3.10)
|
||||
|
||||
for i in "${!PYTHON_VERSIONS[@]}"; do
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
for pythonVersion in ${PYTHON_VERSIONS[@]}; do
|
||||
pythonPackage=python${pythonVersion//.}
|
||||
|
||||
eval "PROVIDES_$pythonPackage=\"
|
||||
@@ -42,8 +41,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