mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
sgmllib3k: drop Python 3.9 support.
Only on-tree user (feedparser) already only targets 3.10.
This commit is contained in:
@@ -7,7 +7,7 @@ Only here because feedparser (and thus Calibre) still require it."
|
||||
HOMEPAGE="https://pypi.org/project/sgmllib3k/"
|
||||
COPYRIGHT="2010 Hardcoded Software"
|
||||
LICENSE="Python"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://pypi.io/packages/source/s/$portName/$portName-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="7868fb1c8bfa764c1ac563d3cf369c381d1325d36124933a726f29fcdaa812e9"
|
||||
|
||||
@@ -24,13 +24,12 @@ 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)
|
||||
|
||||
eval "PROVIDES_${pythonPackage}=\"
|
||||
for pythonVersion in ${PYTHON_VERSIONS[@]}; do
|
||||
pythonPackage=python${pythonVersion//.}
|
||||
|
||||
eval "PROVIDES_$pythonPackage=\"
|
||||
${portName}_$pythonPackage = $portVersion
|
||||
\""
|
||||
eval "REQUIRES_$pythonPackage=\"
|
||||
@@ -47,9 +46,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