Commit 4643961c authored by Jeff Huang's avatar Jeff Huang 🤔

[testing] qscintilla: remove python2 support, it can not build anymore

parent 0270d241
Pipeline #2795 passed with stages
in 4 minutes and 9 seconds
pkgbase=qscintilla
pkgname=('qscintilla-qt5' 'python3-qscintilla-qt5' 'python-qscintilla-qt5-common' 'python2-qscintilla-qt5')
pkgname=('qscintilla-qt5' 'python3-qscintilla-qt5' 'python-qscintilla-qt5-common')
pkgver=2.11.1
pkgrel=1
license=('GPL')
arch=('x86_64')
url="https://www.riverbankcomputing.com/software/qscintilla/intro"
makedepends=('python3-pyqt5' 'python2-pyqt5' 'qt5-tools' 'sip')
makedepends=('python3-pyqt5' 'qt5-tools' 'sip')
options=('!buildflags') # Fix Qt Designer plugin
source=("https://www.riverbankcomputing.com/static/Downloads/QScintilla/QScintilla_gpl-$pkgver.tar.gz")
md5sums=('a7cb1293fd0aaa727ac6b160700e0f38')
......@@ -25,16 +25,9 @@ build() {
make
msg 'build python3'
cd ../
cp -rf Python Python2
cd Python
cd ../Python
python3 configure.py --pyqt=PyQt5 -n ../Qt4Qt5/ -o ../Qt4Qt5/ -c --qmake /usr/bin/qmake-qt5
make
msg 'build python2'
cd ../Python2
python2 configure.py --pyqt=PyQt5 -n ../Qt4Qt5/ -o ../Qt4Qt5/ -c --qmake /usr/bin/qmake-qt5
make
}
package_qscintilla-qt5() {
......@@ -69,14 +62,3 @@ package_python3-qscintilla-qt5() {
# Provided by python-qscintilla-common
rm -r "${pkgdir}"/usr/share
}
package_python2-qscintilla-qt5() {
pkgdesc="Python 2.x bindings for QScintilla2"
depends=('python-qscintilla-qt5-common' 'python2-pyqt5')
cd QScintilla_gpl-${pkgver}/Python2
make DESTDIR="${pkgdir}" INSTALL_ROOT="${pkgdir}" install -j1
# Provided by python-qscintilla-common
rm -r "${pkgdir}"/usr/share
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment