mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
imagesize: drop Python 3.9 support.
Only user on-tree (sphinx) is already 3.10 only.
This commit is contained in:
@@ -4,7 +4,7 @@ image headers and returns image size."
|
||||
HOMEPAGE="https://github.com/shibukawa/imagesize_py"
|
||||
COPYRIGHT="2016 Yoshiki Shibukawa"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/shibukawa/imagesize_py/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="c353adbba9d9e92fc880ff85279c362a9d4fc580c4783d1949e905200cb8b15b"
|
||||
SOURCE_DIR="imagesize_py-$portVersion"
|
||||
@@ -22,11 +22,10 @@ BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
|
||||
PYTHON_PACKAGES=(python39 python310)
|
||||
PYTHON_VERSIONS=(3.9 3.10)
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
PYTHON_VERSIONS=(3.10)
|
||||
|
||||
for pythonVersion in ${PYTHON_VERSIONS[@]}; do
|
||||
pythonPackage=python${pythonVersion//.}
|
||||
|
||||
eval "PROVIDES_$pythonPackage=\"
|
||||
${portName}_$pythonPackage = $portVersion
|
||||
@@ -48,9 +47,8 @@ done
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
for pythonVersion in ${PYTHON_VERSIONS[@]}; do
|
||||
pythonPackage=python${pythonVersion//.}
|
||||
|
||||
python=python$pythonVersion
|
||||
installLocation=$prefix/lib/$python/vendor-packages/
|
||||
|
||||
Reference in New Issue
Block a user