mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
jdtextedit: switch to python 3.10
This commit is contained in:
@@ -11,7 +11,7 @@ DESCRIPTION="An advanced text editor, written in Python, with useful features:
|
||||
HOMEPAGE="https://gitlab.com/JakobDev/jdTextEdit"
|
||||
COPYRIGHT="2019-2021 JakobDev"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="3"
|
||||
REVISION="4"
|
||||
SOURCE_URI="https://gitlab.com/JakobDev/jdTextEdit/-/archive/$portVersion/jdTextEdit-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="3f99bd69b3f2f9296409a08877d25ac6bb0aaa9ce9abc4dbf7bc050d76301b3e"
|
||||
SOURCE_DIR="jdTextEdit-$portVersion"
|
||||
@@ -28,30 +28,30 @@ PROVIDES="
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
cmd:python3.9
|
||||
chardet_python39
|
||||
editorconfig_core_py_python39
|
||||
jdtranslationhelper_python39
|
||||
pyenchant_python39
|
||||
pyqt5_python39
|
||||
qscintilla_python39
|
||||
requests_python39
|
||||
setuptools_python39
|
||||
cmd:python3.10
|
||||
chardet_python310
|
||||
editorconfig_core_py_python310
|
||||
jdtranslationhelper_python310
|
||||
pyenchant_python310
|
||||
pyqt5_python310
|
||||
qscintilla_python310
|
||||
requests_python310
|
||||
setuptools_python310
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
setuptools_python39
|
||||
setuptools_python310
|
||||
"
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
python3.9 setup.py install \
|
||||
python3.10 setup.py install \
|
||||
--root=/ --prefix=$prefix \
|
||||
--install-data=$dataDir
|
||||
|
||||
cp $portDir/additional-files/distribution.json \
|
||||
$prefix/lib/python3.9/vendor-packages/jdTextEdit/distribution.json
|
||||
$prefix/lib/python3.10/vendor-packages/jdTextEdit/distribution.json
|
||||
|
||||
mkdir -p $appsDir
|
||||
mv $prefix/bin/jdTextEdit $appsDir/jdTextEdit
|
||||
|
||||
Reference in New Issue
Block a user