mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
picard: build with python 3.9
This commit is contained in:
@@ -12,7 +12,7 @@ HOMEPAGE="https://picard.musicbrainz.org/"
|
||||
COPYRIGHT="2004-2022 Robert Kaye, Lukas Lalinsky, Laurent Monin, \
|
||||
Sambhav Kothari, Philipp Wolfer and others"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="ftp://ftp.eu.metabrainz.org/pub/musicbrainz/picard/picard-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="b1c1f76d5fe92cb481f4362142c6a84f1cf45948e42cfd7c3d3beffd703c54ce"
|
||||
SOURCE_DIR="picard-release-$portVersion"
|
||||
@@ -32,27 +32,27 @@ PROVIDES="
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
cmd:fpcalc
|
||||
cmd:python3.8
|
||||
dateutil_python38
|
||||
discid_python38
|
||||
fasteners_python38
|
||||
cmd:python3.9
|
||||
dateutil_python39
|
||||
discid_python39
|
||||
fasteners_python39
|
||||
lib:libdiscid$secondaryArchSuffix
|
||||
markdown_python38
|
||||
mutagen_python38
|
||||
pyjwt_python38
|
||||
pyqt5_python38
|
||||
pyyaml_python38
|
||||
markdown_python39
|
||||
mutagen_python39
|
||||
pyjwt_python39
|
||||
pyqt5_python39
|
||||
pyyaml_python39
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
pyqt5_python38
|
||||
setuptools_python38
|
||||
pyqt5_python39
|
||||
setuptools_python39
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:msgfmt$secondaryArchSuffix
|
||||
cmd:python3.8
|
||||
cmd:python3.9
|
||||
"
|
||||
|
||||
PATCH()
|
||||
@@ -67,16 +67,16 @@ BUILD()
|
||||
#Rebuild resources
|
||||
rm -f resources/picard.qrc
|
||||
rm -f picard/resources.py
|
||||
python3.8 resources/makeqrc.py
|
||||
python3.8 resources/compile.py
|
||||
python3.9 resources/makeqrc.py
|
||||
python3.9 resources/compile.py
|
||||
|
||||
python3.8 setup.py config
|
||||
python3.9 setup.py config
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
LC_ALL=en_US.UTF-8
|
||||
python3.8 setup.py install \
|
||||
python3.9 setup.py install \
|
||||
--root=/ --prefix=$prefix \
|
||||
--install-data=$dataDir \
|
||||
--install-locales=$dataDir/locale \
|
||||
|
||||
Reference in New Issue
Block a user