python-PyQt5: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkgs into dummy pkgs.
This commit is contained in:
parent
8eec57a179
commit
ffc40df2eb
19 changed files with 281 additions and 167 deletions
|
@ -1,12 +1,12 @@
|
|||
# Template file for 'python-PyQt5'
|
||||
pkgname=python-PyQt5
|
||||
version=5.6
|
||||
revision=2
|
||||
revision=3
|
||||
lib32disabled=yes
|
||||
wrksrc="PyQt5_gpl-${version}"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="
|
||||
python-devel python3.4-devel python-sip-devel python3.4-sip-devel
|
||||
python-devel python3-devel python-sip-devel python3-sip-devel
|
||||
qt5-tools-devel qt5-connectivity-devel qt5-declarative-devel qt5-enginio-devel
|
||||
qt5-location-devel qt5-multimedia-devel qt5-sensors-devel qt5-serialport-devel
|
||||
qt5-svg-devel qt5-webchannel-devel qt5-webengine-devel qt5-webkit-devel
|
||||
|
@ -19,53 +19,41 @@ homepage="http://www.riverbankcomputing.co.uk/software/pyqt/intro"
|
|||
license="GPL-3"
|
||||
distfiles="${SOURCEFORGE_SITE}/pyqt/PyQt5_gpl-${version}.tar.gz"
|
||||
checksum=2e481a6c4c41b96ed3b33449e5f9599987c63a5c8db93313bd57a6acbf20f0e1
|
||||
alternatives="pyqt5:pyuic5:/usr/bin/pyuic5-2.7"
|
||||
# qt5-webkit currently can't be cross compiled
|
||||
nocross=yes
|
||||
alternatives="pyqt5:pyuic5:/usr/bin/python2-pyuic5"
|
||||
|
||||
_short_desc="${short_desc/Python2/Python3.4}"
|
||||
_pysitedir="usr/lib/python2.7/site-packages"
|
||||
_py34sitedir="usr/lib/python3.4/site-packages"
|
||||
|
||||
_do_pyqt5_build() {
|
||||
local pyver=${1:-2.7} tools=
|
||||
|
||||
if [ "$pyver" != "2.7" ]; then
|
||||
tools="--no-tools"
|
||||
fi
|
||||
|
||||
python${pyver} configure.py --confirm-license --assume-shared ${tools} \
|
||||
CC="${CC}" CFLAGS="${CFLAGS}" CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
|
||||
LINK="${CXX}" LINK_SHLIB="${CXX}" LFLAGS="${LDFLAGS}" STRIP="" \
|
||||
QMAKE_CXXFLAGS="${CXXFLAGS}" QMAKE_LFLAGS="${LDFLAGS}"
|
||||
make ${makejobs}
|
||||
}
|
||||
pre_build() {
|
||||
mkdir -p pyqt5
|
||||
mv * pyqt5 || true
|
||||
cp -a pyqt5 pyqt5-3.4
|
||||
rm -rf pyqt5/pyuic/uic/port_v3
|
||||
rm -rf pyqt5-3.4/pyuic/uic/port_v2
|
||||
mkdir -p pyqt5-${py2_ver}
|
||||
mv * pyqt5-${py2_ver} || true
|
||||
cp -a pyqt5-${py2_ver} pyqt5-${py3_ver}
|
||||
rm -rf pyqt5-${py2_ver}/pyuic/uic/port_v3
|
||||
rm -rf pyqt5-${py3_ver}/pyuic/uic/port_v2
|
||||
}
|
||||
do_build() {
|
||||
# build python-pyqt5
|
||||
cd ${wrksrc}/pyqt5
|
||||
_do_pyqt5_build
|
||||
local tools=
|
||||
|
||||
# build python3.4-pyqt5
|
||||
cd ${wrksrc}/pyqt5-3.4
|
||||
_do_pyqt5_build 3.4
|
||||
for pyver in $py2_ver $py3_ver; do
|
||||
if [ "$pyver" != "$py2_ver" ]; then
|
||||
tools="--no-tools"
|
||||
fi
|
||||
cd $wrksrc/pyqt5-$pyver
|
||||
python${pyver} configure.py --confirm-license --assume-shared ${tools} \
|
||||
CC="${CC}" CFLAGS="${CFLAGS}" CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
|
||||
LINK="${CXX}" LINK_SHLIB="${CXX}" LFLAGS="${LDFLAGS}" STRIP="" \
|
||||
QMAKE_CXXFLAGS="${CXXFLAGS}" QMAKE_LFLAGS="${LDFLAGS}"
|
||||
make ${makejobs}
|
||||
done
|
||||
}
|
||||
do_install() {
|
||||
# install python{,3.4}-pyqt5
|
||||
make -C pyqt5 DESTDIR=${DESTDIR} INSTALL_ROOT=${DESTDIR} install
|
||||
make -C pyqt5-3.4 DESTDIR=${DESTDIR} INSTALL_ROOT=${DESTDIR} install
|
||||
# install python{,3}-pyqt5
|
||||
make -C pyqt5-${py2_ver} DESTDIR=${DESTDIR} INSTALL_ROOT=${DESTDIR} install
|
||||
make -C pyqt5-${py3_ver} DESTDIR=${DESTDIR} INSTALL_ROOT=${DESTDIR} install
|
||||
|
||||
cd pyqt5
|
||||
cd pyqt5-${py2_ver}
|
||||
# create versioned pyuic5 wrapper
|
||||
mv ${DESTDIR}/usr/bin/pyuic5{,-2.7}
|
||||
sed -i 's,python2.7,python3.4,g' pyuic5
|
||||
vbin pyuic5 pyuic5-3.4
|
||||
mv ${DESTDIR}/usr/bin/{,python2-}pyuic5
|
||||
sed -i "s,python2.7,python${py3_ver},g" pyuic5
|
||||
vbin pyuic5 python3-pyuic5
|
||||
|
||||
# install doc
|
||||
vmkdir usr/share/doc/${pkgname}
|
||||
vcopy doc/html usr/share/doc/${pkgname}
|
||||
|
@ -79,8 +67,8 @@ python-PyQt5-devel-tools_package() {
|
|||
}
|
||||
}
|
||||
python-PyQt5-devel_package() {
|
||||
depends="python-sip-devel python3.4-sip-devel
|
||||
python-PyQt5-${version}_${revision} python3.4-PyQt5-${version}_${revision}"
|
||||
depends="python-sip-devel python3-sip-devel
|
||||
python-PyQt5-${version}_${revision} python3-PyQt5-${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/share/sip
|
||||
|
@ -98,7 +86,7 @@ python-PyQt5-dbus_package() {
|
|||
depends="${sourcepkg}-${version}_${revision} python-dbus"
|
||||
short_desc+=" - dbus support"
|
||||
pkg_install() {
|
||||
vmove ${_pysitedir}/dbus/mainloop/pyqt5.so
|
||||
vmove ${py2_sitelib}/dbus/mainloop/pyqt5.so
|
||||
}
|
||||
}
|
||||
python-PyQt5-connectivity_package() {
|
||||
|
@ -106,8 +94,8 @@ python-PyQt5-connectivity_package() {
|
|||
depends="${sourcepkg}-${version}_${revision}"
|
||||
short_desc+=" - connectivity module"
|
||||
pkg_install() {
|
||||
vmove ${_pysitedir}/PyQt5/QtBluetooth.so
|
||||
vmove ${_pysitedir}/PyQt5/QtNfc.so
|
||||
vmove ${py2_sitelib}/PyQt5/QtBluetooth.so
|
||||
vmove ${py2_sitelib}/PyQt5/QtNfc.so
|
||||
}
|
||||
}
|
||||
python-PyQt5-enginio_package() {
|
||||
|
@ -115,7 +103,7 @@ python-PyQt5-enginio_package() {
|
|||
depends="${sourcepkg}-${version}_${revision}"
|
||||
short_desc+=" - enginio module"
|
||||
pkg_install() {
|
||||
vmove ${_pysitedir}/PyQt5/Enginio.so
|
||||
vmove ${py2_sitelib}/PyQt5/Enginio.so
|
||||
}
|
||||
}
|
||||
python-PyQt5-multimedia_package() {
|
||||
|
@ -123,8 +111,8 @@ python-PyQt5-multimedia_package() {
|
|||
depends="${sourcepkg}-${version}_${revision}"
|
||||
short_desc+=" - multimedia module"
|
||||
pkg_install() {
|
||||
vmove ${_pysitedir}/PyQt5/QtMultimedia.so
|
||||
vmove ${_pysitedir}/PyQt5/QtMultimediaWidgets.so
|
||||
vmove ${py2_sitelib}/PyQt5/QtMultimedia.so
|
||||
vmove ${py2_sitelib}/PyQt5/QtMultimediaWidgets.so
|
||||
}
|
||||
}
|
||||
python-PyQt5-opengl_package() {
|
||||
|
@ -132,8 +120,8 @@ python-PyQt5-opengl_package() {
|
|||
depends="${sourcepkg}-${version}_${revision}"
|
||||
short_desc+=" - opengl module"
|
||||
pkg_install() {
|
||||
vmove ${_pysitedir}/PyQt5/QtOpenGL.so
|
||||
vmove ${_pysitedir}/PyQt5/_QOpenGLFunctions_2_0.so
|
||||
vmove ${py2_sitelib}/PyQt5/QtOpenGL.so
|
||||
vmove ${py2_sitelib}/PyQt5/_QOpenGLFunctions_2_0.so
|
||||
}
|
||||
}
|
||||
python-PyQt5-location_package() {
|
||||
|
@ -141,8 +129,8 @@ python-PyQt5-location_package() {
|
|||
depends="${sourcepkg}-${version}_${revision}"
|
||||
short_desc+=" - location module"
|
||||
pkg_install() {
|
||||
vmove ${_pysitedir}/PyQt5/QtLocation.so
|
||||
vmove ${_pysitedir}/PyQt5/QtPositioning.so
|
||||
vmove ${py2_sitelib}/PyQt5/QtLocation.so
|
||||
vmove ${py2_sitelib}/PyQt5/QtPositioning.so
|
||||
}
|
||||
}
|
||||
python-PyQt5-quick_package() {
|
||||
|
@ -150,9 +138,9 @@ python-PyQt5-quick_package() {
|
|||
depends="${sourcepkg}-${version}_${revision}"
|
||||
short_desc+=" - quick module"
|
||||
pkg_install() {
|
||||
vmove ${_pysitedir}/PyQt5/QtQml.so
|
||||
vmove ${_pysitedir}/PyQt5/QtQuick.so
|
||||
vmove ${_pysitedir}/PyQt5/QtQuickWidgets.so
|
||||
vmove ${py2_sitelib}/PyQt5/QtQml.so
|
||||
vmove ${py2_sitelib}/PyQt5/QtQuick.so
|
||||
vmove ${py2_sitelib}/PyQt5/QtQuickWidgets.so
|
||||
}
|
||||
}
|
||||
python-PyQt5-sensors_package() {
|
||||
|
@ -160,7 +148,7 @@ python-PyQt5-sensors_package() {
|
|||
depends="${sourcepkg}-${version}_${revision}"
|
||||
short_desc+=" - sensors module"
|
||||
pkg_install() {
|
||||
vmove ${_pysitedir}/PyQt5/QtSensors.so
|
||||
vmove ${py2_sitelib}/PyQt5/QtSensors.so
|
||||
}
|
||||
}
|
||||
python-PyQt5-serialport_package() {
|
||||
|
@ -168,7 +156,7 @@ python-PyQt5-serialport_package() {
|
|||
depends="${sourcepkg}-${version}_${revision}"
|
||||
short_desc+=" - serialport module"
|
||||
pkg_install() {
|
||||
vmove ${_pysitedir}/PyQt5/QtSerialPort.so
|
||||
vmove ${py2_sitelib}/PyQt5/QtSerialPort.so
|
||||
}
|
||||
}
|
||||
python-PyQt5-sql_package() {
|
||||
|
@ -176,7 +164,7 @@ python-PyQt5-sql_package() {
|
|||
depends="${sourcepkg}-${version}_${revision}"
|
||||
short_desc+=" - sql module"
|
||||
pkg_install() {
|
||||
vmove ${_pysitedir}/PyQt5/QtSql.so
|
||||
vmove ${py2_sitelib}/PyQt5/QtSql.so
|
||||
}
|
||||
}
|
||||
python-PyQt5-svg_package() {
|
||||
|
@ -184,7 +172,7 @@ python-PyQt5-svg_package() {
|
|||
depends="${sourcepkg}-${version}_${revision}"
|
||||
short_desc+=" - svg module"
|
||||
pkg_install() {
|
||||
vmove ${_pysitedir}/PyQt5/QtSvg.so
|
||||
vmove ${py2_sitelib}/PyQt5/QtSvg.so
|
||||
}
|
||||
}
|
||||
python-PyQt5-tools_package() {
|
||||
|
@ -192,8 +180,8 @@ python-PyQt5-tools_package() {
|
|||
depends="${sourcepkg}-${version}_${revision}"
|
||||
short_desc+=" - designer, help modules"
|
||||
pkg_install() {
|
||||
vmove ${_pysitedir}/PyQt5/QtDesigner.so
|
||||
vmove ${_pysitedir}/PyQt5/QtHelp.so
|
||||
vmove ${py2_sitelib}/PyQt5/QtDesigner.so
|
||||
vmove ${py2_sitelib}/PyQt5/QtHelp.so
|
||||
}
|
||||
}
|
||||
python-PyQt5-webchannel_package() {
|
||||
|
@ -201,7 +189,7 @@ python-PyQt5-webchannel_package() {
|
|||
depends="${sourcepkg}-${version}_${revision}"
|
||||
short_desc+=" - webchannel module"
|
||||
pkg_install() {
|
||||
vmove ${_pysitedir}/PyQt5/QtWebChannel.so
|
||||
vmove ${py2_sitelib}/PyQt5/QtWebChannel.so
|
||||
}
|
||||
}
|
||||
python-PyQt5-webengine_package() {
|
||||
|
@ -209,8 +197,8 @@ python-PyQt5-webengine_package() {
|
|||
depends="${sourcepkg}-${version}_${revision}"
|
||||
short_desc+=" - webengine module"
|
||||
pkg_install() {
|
||||
vmove ${_pysitedir}/PyQt5/QtWebEngineCore.so
|
||||
vmove ${_pysitedir}/PyQt5/QtWebEngineWidgets.so
|
||||
vmove ${py2_sitelib}/PyQt5/QtWebEngineCore.so
|
||||
vmove ${py2_sitelib}/PyQt5/QtWebEngineWidgets.so
|
||||
}
|
||||
}
|
||||
python-PyQt5-webkit_package() {
|
||||
|
@ -218,8 +206,8 @@ python-PyQt5-webkit_package() {
|
|||
depends="${sourcepkg}-${version}_${revision}"
|
||||
short_desc+=" - webkit module"
|
||||
pkg_install() {
|
||||
vmove ${_pysitedir}/PyQt5/QtWebKit.so
|
||||
vmove ${_pysitedir}/PyQt5/QtWebKitWidgets.so
|
||||
vmove ${py2_sitelib}/PyQt5/QtWebKit.so
|
||||
vmove ${py2_sitelib}/PyQt5/QtWebKitWidgets.so
|
||||
}
|
||||
}
|
||||
python-PyQt5-websockets_package() {
|
||||
|
@ -227,7 +215,7 @@ python-PyQt5-websockets_package() {
|
|||
depends="${sourcepkg}-${version}_${revision}"
|
||||
short_desc+=" - websockets module"
|
||||
pkg_install() {
|
||||
vmove ${_pysitedir}/PyQt5/QtWebSockets.so
|
||||
vmove ${py2_sitelib}/PyQt5/QtWebSockets.so
|
||||
}
|
||||
}
|
||||
python-PyQt5-x11extras_package() {
|
||||
|
@ -235,7 +223,7 @@ python-PyQt5-x11extras_package() {
|
|||
depends="${sourcepkg}-${version}_${revision}"
|
||||
short_desc+=" - x11extras module"
|
||||
pkg_install() {
|
||||
vmove ${_pysitedir}/PyQt5/QtX11Extras.so
|
||||
vmove ${py2_sitelib}/PyQt5/QtX11Extras.so
|
||||
}
|
||||
}
|
||||
python-PyQt5-xmlpatterns_package() {
|
||||
|
@ -243,173 +231,281 @@ python-PyQt5-xmlpatterns_package() {
|
|||
depends="${sourcepkg}-${version}_${revision}"
|
||||
short_desc+=" - xmlpatterns module"
|
||||
pkg_install() {
|
||||
vmove ${_pysitedir}/PyQt5/QtXmlPatterns.so
|
||||
vmove ${py2_sitelib}/PyQt5/QtXmlPatterns.so
|
||||
}
|
||||
}
|
||||
python3.4-PyQt5_package() {
|
||||
python3-PyQt5_package() {
|
||||
lib32disabled=yes
|
||||
depends="python3.4-sip"
|
||||
pycompile_version="3.4"
|
||||
depends="python3-sip"
|
||||
pycompile_module="PyQt5"
|
||||
short_desc="${_short_desc}"
|
||||
alternatives="pyqt5:pyuic5:/usr/bin/pyuic5-3.4"
|
||||
replaces="python3.4-PyQt5>=0"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
alternatives="pyqt5:pyuic5:/usr/bin/python3-pyuic5"
|
||||
pkg_install() {
|
||||
vmove usr/bin/pyuic5-3.4
|
||||
vmove usr/lib/python3.4
|
||||
vmove usr/bin/python3-pyuic5
|
||||
vmove ${py3_sitelib}
|
||||
}
|
||||
}
|
||||
python3.4-PyQt5-dbus_package() {
|
||||
python3-PyQt5-dbus_package() {
|
||||
lib32disabled=yes
|
||||
depends="python3.4-PyQt5-${version}_${revision} python3.4-dbus"
|
||||
short_desc="${_short_desc} - dbus support"
|
||||
replaces="python3.4-PyQt5-dbus>=0"
|
||||
depends="python3-PyQt5-${version}_${revision} python3-dbus"
|
||||
short_desc="${short_desc/Python2/Python3} - dbus support"
|
||||
pkg_install() {
|
||||
vmove ${_py34sitedir}/dbus/mainloop/pyqt5.so
|
||||
vmove ${py3_sitelib}/dbus/mainloop/pyqt5.so
|
||||
}
|
||||
}
|
||||
python3.4-PyQt5-connectivity_package() {
|
||||
python3-PyQt5-connectivity_package() {
|
||||
lib32disabled=yes
|
||||
depends="python3.4-PyQt5-${version}_${revision}"
|
||||
short_desc="${_short_desc} - connectivity module"
|
||||
replaces="python3.4-PyQt5-connectivity>=0"
|
||||
depends="python3-PyQt5-${version}_${revision}"
|
||||
short_desc="${short_desc/Python2/Python3} - connectivity module"
|
||||
pkg_install() {
|
||||
vmove ${_py34sitedir}/PyQt5/QtBluetooth.so
|
||||
vmove ${_py34sitedir}/PyQt5/QtNfc.so
|
||||
vmove ${py3_sitelib}/PyQt5/QtBluetooth.so
|
||||
vmove ${py3_sitelib}/PyQt5/QtNfc.so
|
||||
}
|
||||
}
|
||||
python3.4-PyQt5-enginio_package() {
|
||||
python3-PyQt5-enginio_package() {
|
||||
lib32disabled=yes
|
||||
depends="python3.4-PyQt5-${version}_${revision}"
|
||||
short_desc="${_short_desc} - enginio module"
|
||||
replaces="python3.4-PyQt5-enginio>=0"
|
||||
depends="python3-PyQt5-${version}_${revision}"
|
||||
short_desc="${short_desc/Python2/Python3} - enginio module"
|
||||
pkg_install() {
|
||||
vmove ${_py34sitedir}/PyQt5/Enginio.so
|
||||
vmove ${py3_sitelib}/PyQt5/Enginio.so
|
||||
}
|
||||
}
|
||||
python3.4-PyQt5-multimedia_package() {
|
||||
python3-PyQt5-multimedia_package() {
|
||||
lib32disabled=yes
|
||||
depends="python3.4-PyQt5-${version}_${revision}"
|
||||
short_desc="${_short_desc} - multimedia module"
|
||||
replaces="python3.4-PyQt5-multimedia>=0"
|
||||
depends="python3-PyQt5-${version}_${revision}"
|
||||
short_desc="${short_desc/Python2/Python3} - multimedia module"
|
||||
pkg_install() {
|
||||
vmove ${_py34sitedir}/PyQt5/QtMultimedia.so
|
||||
vmove ${_py34sitedir}/PyQt5/QtMultimediaWidgets.so
|
||||
vmove ${py3_sitelib}/PyQt5/QtMultimedia.so
|
||||
vmove ${py3_sitelib}/PyQt5/QtMultimediaWidgets.so
|
||||
}
|
||||
}
|
||||
python3.4-PyQt5-opengl_package() {
|
||||
python3-PyQt5-opengl_package() {
|
||||
lib32disabled=yes
|
||||
depends="python3.4-PyQt5-${version}_${revision}"
|
||||
short_desc="${_short_desc} - opengl module"
|
||||
replaces="python3.4-PyQt5-opengl>=0"
|
||||
depends="python3-PyQt5-${version}_${revision}"
|
||||
short_desc="${short_desc/Python2/Python3} - opengl module"
|
||||
pkg_install() {
|
||||
vmove ${_py34sitedir}/PyQt5/QtOpenGL.so
|
||||
vmove ${_py34sitedir}/PyQt5/_QOpenGLFunctions_2_0.so
|
||||
vmove ${py3_sitelib}/PyQt5/QtOpenGL.so
|
||||
vmove ${py3_sitelib}/PyQt5/_QOpenGLFunctions_2_0.so
|
||||
}
|
||||
}
|
||||
python3.4-PyQt5-location_package() {
|
||||
python3-PyQt5-location_package() {
|
||||
lib32disabled=yes
|
||||
depends="python3.4-PyQt5-${version}_${revision}"
|
||||
short_desc="${_short_desc} - location module"
|
||||
replaces="python3.4-PyQt5-location>=0"
|
||||
depends="python3-PyQt5-${version}_${revision}"
|
||||
short_desc="${short_desc/Python2/Python3} - location module"
|
||||
pkg_install() {
|
||||
vmove ${_py34sitedir}/PyQt5/QtLocation.so
|
||||
vmove ${_py34sitedir}/PyQt5/QtPositioning.so
|
||||
vmove ${py3_sitelib}/PyQt5/QtLocation.so
|
||||
vmove ${py3_sitelib}/PyQt5/QtPositioning.so
|
||||
}
|
||||
}
|
||||
python3.4-PyQt5-quick_package() {
|
||||
python3-PyQt5-quick_package() {
|
||||
lib32disabled=yes
|
||||
depends="python3.4-PyQt5-${version}_${revision}"
|
||||
short_desc="${_short_desc} - quick module"
|
||||
replaces="python3.4-PyQt5-quick>=0"
|
||||
depends="python3-PyQt5-${version}_${revision}"
|
||||
short_desc="${short_desc/Python2/Python3} - quick module"
|
||||
pkg_install() {
|
||||
vmove ${_py34sitedir}/PyQt5/QtQml.so
|
||||
vmove ${_py34sitedir}/PyQt5/QtQuick.so
|
||||
vmove ${_py34sitedir}/PyQt5/QtQuickWidgets.so
|
||||
vmove ${py3_sitelib}/PyQt5/QtQml.so
|
||||
vmove ${py3_sitelib}/PyQt5/QtQuick.so
|
||||
vmove ${py3_sitelib}/PyQt5/QtQuickWidgets.so
|
||||
vmove usr/lib/qt5/plugins/PyQt5/libpyqt5qmlplugin.so
|
||||
}
|
||||
}
|
||||
python3.4-PyQt5-sensors_package() {
|
||||
python3-PyQt5-sensors_package() {
|
||||
lib32disabled=yes
|
||||
depends="python3.4-PyQt5-${version}_${revision}"
|
||||
short_desc="${_short_desc} - sensors module"
|
||||
replaces="python3.4-PyQt5-sensors>=0"
|
||||
depends="python3-PyQt5-${version}_${revision}"
|
||||
short_desc="${short_desc/Python2/Python3} - sensors module"
|
||||
pkg_install() {
|
||||
vmove ${_py34sitedir}/PyQt5/QtSensors.so
|
||||
vmove ${py3_sitelib}/PyQt5/QtSensors.so
|
||||
}
|
||||
}
|
||||
python3.4-PyQt5-serialport_package() {
|
||||
python3-PyQt5-serialport_package() {
|
||||
lib32disabled=yes
|
||||
depends="python3.4-PyQt5-${version}_${revision}"
|
||||
short_desc="${_short_desc} - serialport module"
|
||||
replaces="python3.4-PyQt5-serialport>=0"
|
||||
depends="python3-PyQt5-${version}_${revision}"
|
||||
short_desc="${short_desc/Python2/Python3} - serialport module"
|
||||
pkg_install() {
|
||||
vmove ${_py34sitedir}/PyQt5/QtSerialPort.so
|
||||
vmove ${py3_sitelib}/PyQt5/QtSerialPort.so
|
||||
}
|
||||
}
|
||||
python3.4-PyQt5-sql_package() {
|
||||
python3-PyQt5-sql_package() {
|
||||
lib32disabled=yes
|
||||
depends="python3.4-PyQt5-${version}_${revision}"
|
||||
short_desc="${_short_desc} - sql module"
|
||||
replaces="python3.4-PyQt5-sql>=0"
|
||||
depends="python3-PyQt5-${version}_${revision}"
|
||||
short_desc="${short_desc/Python2/Python3} - sql module"
|
||||
pkg_install() {
|
||||
vmove ${_py34sitedir}/PyQt5/QtSql.so
|
||||
vmove ${py3_sitelib}/PyQt5/QtSql.so
|
||||
}
|
||||
}
|
||||
python3.4-PyQt5-svg_package() {
|
||||
python3-PyQt5-svg_package() {
|
||||
lib32disabled=yes
|
||||
depends="python3.4-PyQt5-${version}_${revision}"
|
||||
short_desc="${_short_desc} - svg module"
|
||||
replaces="python3.4-PyQt5-svg>=0"
|
||||
depends="python3-PyQt5-${version}_${revision}"
|
||||
short_desc="${short_desc/Python2/Python3} - svg module"
|
||||
pkg_install() {
|
||||
vmove ${_py34sitedir}/PyQt5/QtSvg.so
|
||||
vmove ${py3_sitelib}/PyQt5/QtSvg.so
|
||||
}
|
||||
}
|
||||
python3.4-PyQt5-tools_package() {
|
||||
python3-PyQt5-tools_package() {
|
||||
lib32disabled=yes
|
||||
depends="python3.4-PyQt5-${version}_${revision}"
|
||||
short_desc="${_short_desc} - designer, help modules"
|
||||
replaces="python3.4-PyQt5-tools>=0"
|
||||
depends="python3-PyQt5-${version}_${revision}"
|
||||
short_desc="${short_desc/Python2/Python3} - designer, help modules"
|
||||
pkg_install() {
|
||||
vmove ${_py34sitedir}/PyQt5/QtDesigner.so
|
||||
vmove ${_py34sitedir}/PyQt5/QtHelp.so
|
||||
vmove ${py3_sitelib}/PyQt5/QtDesigner.so
|
||||
vmove ${py3_sitelib}/PyQt5/QtHelp.so
|
||||
vmove usr/lib/qt5/plugins/designer/libpyqt5.so
|
||||
}
|
||||
}
|
||||
python3.4-PyQt5-webchannel_package() {
|
||||
python3-PyQt5-webchannel_package() {
|
||||
lib32disabled=yes
|
||||
depends="python3.4-PyQt5-${version}_${revision}"
|
||||
short_desc="${_short_desc} - webchannel module"
|
||||
replaces="python3.4-PyQt5-webchannel>=0"
|
||||
depends="python3-PyQt5-${version}_${revision}"
|
||||
short_desc="${short_desc/Python2/Python3} - webchannel module"
|
||||
pkg_install() {
|
||||
vmove ${_py34sitedir}/PyQt5/QtWebChannel.so
|
||||
vmove ${py3_sitelib}/PyQt5/QtWebChannel.so
|
||||
}
|
||||
}
|
||||
python3-PyQt5-webengine_package() {
|
||||
lib32disabled=yes
|
||||
replaces="python3.4-PyQt5-webengine>=0"
|
||||
depends="python3-PyQt5-${version}_${revision}"
|
||||
short_desc="${short_desc/Python2/Python3} - webengine module"
|
||||
pkg_install() {
|
||||
vmove ${py3_sitelib}/PyQt5/QtWebEngineCore.so
|
||||
vmove ${py3_sitelib}/PyQt5/QtWebEngineWidgets.so
|
||||
}
|
||||
}
|
||||
python3-PyQt5-webkit_package() {
|
||||
lib32disabled=yes
|
||||
replaces="python3.4-PyQt5-webkit>=0"
|
||||
depends="python3-PyQt5-${version}_${revision}"
|
||||
short_desc="${short_desc/Python2/Python3} - webkit module"
|
||||
pkg_install() {
|
||||
vmove ${py3_sitelib}/PyQt5/QtWebKit.so
|
||||
vmove ${py3_sitelib}/PyQt5/QtWebKitWidgets.so
|
||||
}
|
||||
}
|
||||
python3-PyQt5-websockets_package() {
|
||||
lib32disabled=yes
|
||||
replaces="python3.4-PyQt5-websockets>=0"
|
||||
depends="python3-PyQt5-${version}_${revision}"
|
||||
short_desc="${short_desc/Python2/Python3} - websockets module"
|
||||
pkg_install() {
|
||||
vmove ${py3_sitelib}/PyQt5/QtWebSockets.so
|
||||
}
|
||||
}
|
||||
python3-PyQt5-x11extras_package() {
|
||||
lib32disabled=yes
|
||||
replaces="python3.4-PyQt5-x11extras>=0"
|
||||
depends="python3-PyQt5-${version}_${revision}"
|
||||
short_desc="${short_desc/Python2/Python3} - x11extras module"
|
||||
pkg_install() {
|
||||
vmove ${py3_sitelib}/PyQt5/QtX11Extras.so
|
||||
}
|
||||
}
|
||||
python3-PyQt5-xmlpatterns_package() {
|
||||
lib32disabled=yes
|
||||
replaces="python3.4-PyQt5-xmlpatterns>=0"
|
||||
depends="python3-PyQt5-${version}_${revision}"
|
||||
short_desc="${short_desc/Python2/Python3} - xmlpatterns module"
|
||||
pkg_install() {
|
||||
vmove ${py3_sitelib}/PyQt5/QtXmlPatterns.so
|
||||
}
|
||||
}
|
||||
python3.4-PyQt5-connectivity_package() {
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} - connectivity module (transitional dummy package)"
|
||||
depends="python3-PyQt5-connectivity>=${version}_${revision}"
|
||||
}
|
||||
python3.4-PyQt5-dbus_package() {
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} - dbus module (transitional dummy package)"
|
||||
depends="python3-PyQt5-dbus>=${version}_${revision}"
|
||||
}
|
||||
python3.4-PyQt5-enginio_package() {
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} - enginio module (transitional dummy package)"
|
||||
depends="python3-PyQt5-enginio>=${version}_${revision}"
|
||||
}
|
||||
python3.4-PyQt5-location_package() {
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} - location module (transitional dummy package)"
|
||||
depends="python3-PyQt5-location>=${version}_${revision}"
|
||||
}
|
||||
python3.4-PyQt5-multimedia_package() {
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} - multimedia module (transitional dummy package)"
|
||||
depends="python3-PyQt5-multimedia>=${version}_${revision}"
|
||||
}
|
||||
python3.4-PyQt5-opengl_package() {
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} - opengl module (transitional dummy package)"
|
||||
depends="python3-PyQt5-opengl>=${version}_${revision}"
|
||||
}
|
||||
python3.4-PyQt5-quick_package() {
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} - quick module (transitional dummy package)"
|
||||
depends="python3-PyQt5-quick>=${version}_${revision}"
|
||||
}
|
||||
python3.4-PyQt5-sensors_package() {
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} - sensors module (transitional dummy package)"
|
||||
depends="python3-PyQt5-sensors>=${version}_${revision}"
|
||||
}
|
||||
python3.4-PyQt5-serialport_package() {
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} - serialport module (transitional dummy package)"
|
||||
depends="python3-PyQt5-serialport>=${version}_${revision}"
|
||||
}
|
||||
python3.4-PyQt5-sql_package() {
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} - sql module (transitional dummy package)"
|
||||
depends="python3-PyQt5-sql>=${version}_${revision}"
|
||||
}
|
||||
python3.4-PyQt5-svg_package() {
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} - svg module (transitional dummy package)"
|
||||
depends="python3-PyQt5-svg>=${version}_${revision}"
|
||||
}
|
||||
python3.4-PyQt5-tools_package() {
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} - designer, help module (transitional dummy package)"
|
||||
depends="python3-PyQt5-tools>=${version}_${revision}"
|
||||
}
|
||||
python3.4-PyQt5-webchannel_package() {
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} - webchannel module (transitional dummy package)"
|
||||
depends="python3-PyQt5-webchannel>=${version}_${revision}"
|
||||
}
|
||||
python3.4-PyQt5-webengine_package() {
|
||||
lib32disabled=yes
|
||||
depends="python3.4-PyQt5-${version}_${revision}"
|
||||
short_desc="${_short_desc} - webengine module"
|
||||
pkg_install() {
|
||||
vmove ${_py34sitedir}/PyQt5/QtWebEngineCore.so
|
||||
vmove ${_py34sitedir}/PyQt5/QtWebEngineWidgets.so
|
||||
}
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} - webengine module (transitional dummy package)"
|
||||
depends="python3-PyQt5-webengine>=${version}_${revision}"
|
||||
}
|
||||
python3.4-PyQt5-webkit_package() {
|
||||
lib32disabled=yes
|
||||
depends="python3.4-PyQt5-${version}_${revision}"
|
||||
short_desc="${_short_desc} - webkit module"
|
||||
pkg_install() {
|
||||
vmove ${_py34sitedir}/PyQt5/QtWebKit.so
|
||||
vmove ${_py34sitedir}/PyQt5/QtWebKitWidgets.so
|
||||
}
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} - webkit module (transitional dummy package)"
|
||||
depends="python3-PyQt5-webkit>=${version}_${revision}"
|
||||
}
|
||||
python3.4-PyQt5-websockets_package() {
|
||||
lib32disabled=yes
|
||||
depends="python3.4-PyQt5-${version}_${revision}"
|
||||
short_desc="${_short_desc} - websockets module"
|
||||
pkg_install() {
|
||||
vmove ${_py34sitedir}/PyQt5/QtWebSockets.so
|
||||
}
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} - websockets module (transitional dummy package)"
|
||||
depends="python3-PyQt5-websockets>=${version}_${revision}"
|
||||
}
|
||||
python3.4-PyQt5-x11extras_package() {
|
||||
lib32disabled=yes
|
||||
depends="python3.4-PyQt5-${version}_${revision}"
|
||||
short_desc="${_short_desc} - x11extras module"
|
||||
pkg_install() {
|
||||
vmove ${_py34sitedir}/PyQt5/QtX11Extras.so
|
||||
}
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} - x11extras module (transitional dummy package)"
|
||||
depends="python3-PyQt5-x11extras>=${version}_${revision}"
|
||||
}
|
||||
python3.4-PyQt5-xmlpatterns_package() {
|
||||
lib32disabled=yes
|
||||
depends="python3.4-PyQt5-${version}_${revision}"
|
||||
short_desc="${_short_desc} - xmlpatterns module"
|
||||
pkg_install() {
|
||||
vmove ${_py34sitedir}/PyQt5/QtXmlPatterns.so
|
||||
}
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} - xmlpatterns module (transitional dummy package)"
|
||||
depends="python3-PyQt5-xmlpatterns>=${version}_${revision}"
|
||||
}
|
||||
|
|
1
srcpkgs/python3-PyQt5-connectivity
Symbolic link
1
srcpkgs/python3-PyQt5-connectivity
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-PyQt5
|
1
srcpkgs/python3-PyQt5-dbus
Symbolic link
1
srcpkgs/python3-PyQt5-dbus
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-PyQt5
|
1
srcpkgs/python3-PyQt5-enginio
Symbolic link
1
srcpkgs/python3-PyQt5-enginio
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-PyQt5
|
1
srcpkgs/python3-PyQt5-location
Symbolic link
1
srcpkgs/python3-PyQt5-location
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-PyQt5
|
1
srcpkgs/python3-PyQt5-multimedia
Symbolic link
1
srcpkgs/python3-PyQt5-multimedia
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-PyQt5
|
1
srcpkgs/python3-PyQt5-opengl
Symbolic link
1
srcpkgs/python3-PyQt5-opengl
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-PyQt5
|
1
srcpkgs/python3-PyQt5-quick
Symbolic link
1
srcpkgs/python3-PyQt5-quick
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-PyQt5
|
1
srcpkgs/python3-PyQt5-sensors
Symbolic link
1
srcpkgs/python3-PyQt5-sensors
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-PyQt5
|
1
srcpkgs/python3-PyQt5-serialport
Symbolic link
1
srcpkgs/python3-PyQt5-serialport
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-PyQt5
|
1
srcpkgs/python3-PyQt5-sql
Symbolic link
1
srcpkgs/python3-PyQt5-sql
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-PyQt5
|
1
srcpkgs/python3-PyQt5-svg
Symbolic link
1
srcpkgs/python3-PyQt5-svg
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-PyQt5
|
1
srcpkgs/python3-PyQt5-tools
Symbolic link
1
srcpkgs/python3-PyQt5-tools
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-PyQt5
|
1
srcpkgs/python3-PyQt5-webchannel
Symbolic link
1
srcpkgs/python3-PyQt5-webchannel
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-PyQt5
|
1
srcpkgs/python3-PyQt5-webengine
Symbolic link
1
srcpkgs/python3-PyQt5-webengine
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-PyQt5
|
1
srcpkgs/python3-PyQt5-webkit
Symbolic link
1
srcpkgs/python3-PyQt5-webkit
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-PyQt5
|
1
srcpkgs/python3-PyQt5-websockets
Symbolic link
1
srcpkgs/python3-PyQt5-websockets
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-PyQt5
|
1
srcpkgs/python3-PyQt5-x11extras
Symbolic link
1
srcpkgs/python3-PyQt5-x11extras
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-PyQt5
|
1
srcpkgs/python3-PyQt5-xmlpatterns
Symbolic link
1
srcpkgs/python3-PyQt5-xmlpatterns
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-PyQt5
|
Loading…
Reference in a new issue