mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
Drop python 3.7 (and 2.7) for recipes under dev-python/
Recipes with only 3.7 are left alone. Help with #8025.
This commit is contained in:
@@ -9,7 +9,7 @@ Ogg streams on an individual packet/page level."
|
||||
HOMEPAGE="https://github.com/quodlibet/mutagen"
|
||||
COPYRIGHT="Joe Wreschnig, Michael Urman, Lukáš Lalinský, Christoph Reiter, Ben Ockmore & others"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://files.pythonhosted.org/packages/source/m/$portName/$portName-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="6397602efb3c2d7baebd2166ed85731ae1c1d475abca22090b7141ff5034b3e1"
|
||||
SOURCE_DIR="mutagen-$portVersion"
|
||||
@@ -27,8 +27,8 @@ BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
|
||||
PYTHON_PACKAGES=(python3 python38 python39)
|
||||
PYTHON_VERSIONS=(3.7 3.8 3.9)
|
||||
PYTHON_PACKAGES=(python38 python39)
|
||||
PYTHON_VERSIONS=(3.8 3.9)
|
||||
for i in "${!PYTHON_PACKAGES[@]}"; do
|
||||
pythonPackage=${PYTHON_PACKAGES[i]}
|
||||
pythonVersion=${PYTHON_VERSIONS[$i]}
|
||||
@@ -45,7 +45,7 @@ BUILD_PREREQUIRES="$BUILD_PREREQUIRES
|
||||
cmd:python$pythonVersion"
|
||||
done
|
||||
|
||||
PROVIDES_python3="$PROVIDES_python3
|
||||
PROVIDES_python39="$PROVIDES_python39
|
||||
cmd:mid3cp
|
||||
cmd:mid3iconv
|
||||
cmd:mid3v2
|
||||
@@ -69,7 +69,7 @@ INSTALL()
|
||||
--root=/ --prefix=$prefix \
|
||||
--install-data=$dataDir
|
||||
|
||||
if [ $pythonPackage == python3 ]; then
|
||||
if [ $pythonPackage == python39 ]; then
|
||||
packageEntries $pythonPackage \
|
||||
$prefix/lib/python* \
|
||||
$binDir
|
||||
|
||||
Reference in New Issue
Block a user