mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
css_parser: drop Python 3.9 support.
Only user on-tree (calibre) is already 3.10 only.
This commit is contained in:
@@ -5,7 +5,7 @@ working with ebooks."
|
||||
HOMEPAGE="https://github.com/ebook-utils/css-parser"
|
||||
COPYRIGHT="2004-2013 Christof Hoeke"
|
||||
LICENSE="GNU LGPL v3"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/ebook-utils/css-parser/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="45230ee0e71088816bba910d888b6cf0808f359549237e5e0851306c2feb0cc3"
|
||||
SOURCE_DIR="css-parser-$portVersion"
|
||||
@@ -23,13 +23,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=\"
|
||||
@@ -46,9 +45,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