diff --git a/srcpkgs/python-PyQt4-dbus b/srcpkgs/python-PyQt4-dbus deleted file mode 120000 index fe02248deea..00000000000 --- a/srcpkgs/python-PyQt4-dbus +++ /dev/null @@ -1 +0,0 @@ -python-PyQt4 \ No newline at end of file diff --git a/srcpkgs/python-PyQt4-devel b/srcpkgs/python-PyQt4-devel deleted file mode 120000 index fe02248deea..00000000000 --- a/srcpkgs/python-PyQt4-devel +++ /dev/null @@ -1 +0,0 @@ -python-PyQt4 \ No newline at end of file diff --git a/srcpkgs/python-PyQt4-devel-tools b/srcpkgs/python-PyQt4-devel-tools deleted file mode 120000 index fe02248deea..00000000000 --- a/srcpkgs/python-PyQt4-devel-tools +++ /dev/null @@ -1 +0,0 @@ -python-PyQt4 \ No newline at end of file diff --git a/srcpkgs/python-PyQt4-doc b/srcpkgs/python-PyQt4-doc deleted file mode 120000 index fe02248deea..00000000000 --- a/srcpkgs/python-PyQt4-doc +++ /dev/null @@ -1 +0,0 @@ -python-PyQt4 \ No newline at end of file diff --git a/srcpkgs/python-PyQt4-phonon b/srcpkgs/python-PyQt4-phonon deleted file mode 120000 index fe02248deea..00000000000 --- a/srcpkgs/python-PyQt4-phonon +++ /dev/null @@ -1 +0,0 @@ -python-PyQt4 \ No newline at end of file diff --git a/srcpkgs/python-PyQt4-webkit b/srcpkgs/python-PyQt4-webkit deleted file mode 120000 index fe02248deea..00000000000 --- a/srcpkgs/python-PyQt4-webkit +++ /dev/null @@ -1 +0,0 @@ -python-PyQt4 \ No newline at end of file diff --git a/srcpkgs/python-PyQt4/INSTALL.msg b/srcpkgs/python-PyQt4/INSTALL.msg new file mode 100644 index 00000000000..764834d7157 --- /dev/null +++ b/srcpkgs/python-PyQt4/INSTALL.msg @@ -0,0 +1 @@ +python-PyQt4 is no longer provided by Void Linux, and will be fully removed from the repos on 2019-07-12 diff --git a/srcpkgs/python-PyQt4/patches/configure-ng.py.patch b/srcpkgs/python-PyQt4/patches/configure-ng.py.patch deleted file mode 100644 index caca096df2d..00000000000 --- a/srcpkgs/python-PyQt4/patches/configure-ng.py.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- configure-ng.py.orig 2017-06-30 10:44:36.000000000 +0200 -+++ configure-ng.py 2017-12-17 08:32:58.252070075 +0100 -@@ -1581,6 +1581,8 @@ - - pro_lines.extend(pro_sources(sp_src_dir)) - -+ pro_lines.append('include(../application.inc)') -+ - pro_name = os.path.join(src_dir, src_dir + '.pro') - - pro = open_for_writing(pro_name) -@@ -2069,12 +2071,16 @@ - name_pro = name + '.pro' - name_makefile = name + '.mk' - name_source = name + '.cpp' -+ name_inc = name + '.inc' - - # Create the .pro file. - pro_lines = [] - pro_add_qt_dependencies(target_config, metadata, pro_lines) - pro_lines.append('TARGET = %s' % name) - pro_lines.append('SOURCES = %s' % name_source) -+ -+ if (os.path.isfile(name_inc)): -+ pro_lines.append('include(%s)' % name_inc) - - f = open_for_writing(name_pro) - f.write('\n'.join(pro_lines)) diff --git a/srcpkgs/python-PyQt4/template b/srcpkgs/python-PyQt4/template index f97e4416fa2..9adfa51520d 100644 --- a/srcpkgs/python-PyQt4/template +++ b/srcpkgs/python-PyQt4/template @@ -1,180 +1,9 @@ # Template file for 'python-PyQt4' pkgname=python-PyQt4 version=4.12.1 -revision=3 -lib32disabled=yes -wrksrc="PyQt4_gpl_x11-${version}" -hostmakedepends="pkg-config python python3" -makedepends="python-devel python3-devel python-sip-devel python3-sip-devel - qt-webkit-devel dbus-devel python-dbus-devel MesaLib-devel phonon-devel" -depends="python-sip" -pycompile_module="PyQt4" -short_desc="Python2 bindings for the Qt4 toolkit" -maintainer="Alessio Sergi " +revision=4 +archs=noarch +build_style=meta +short_desc="Python2 bindings for the Qt4 toolkit (removed package)" +license="BSD-2-Clause" homepage="https://riverbankcomputing.com/software/pyqt/intro" -license="GPL-3" -distfiles="${SOURCEFORGE_SITE}/pyqt/PyQt4_gpl_x11-${version}.tar.gz" -checksum=45d724461ae58b019b9be95076ca07e212eb73084aec9125bb254825c3a05383 -alternatives="pyqt4:pyuic4:/usr/bin/python2-pyuic4" - -if [ -n "$CROSS_BUILD" ]; then - hostmakedepends+=" qt-devel sip phonon-devel python-dbus-devel qt-webkit-devel" -fi - -pre_build() { - mkdir -p pyqt4-${py2_ver} - mv * pyqt4-${py2_ver} || true - cp -a pyqt4-${py2_ver} pyqt4-${py3_ver} - rm -rf pyqt4-${py2_ver}/pyuic/uic/port_v3 - rm -rf pyqt4-${py3_ver}/pyuic/uic/port_v2 -} -do_build() { - local tools= - - for pyver in $py2_ver $py3_ver; do - cd $wrksrc/pyqt4-$pyver - - if [ -n "$CROSS_BUILD" ]; then -cat > qtdetail.inc << END -QMAKE_CC="$CC_host" -QMAKE_CFLAGS="$CFLAGS_host" -QMAKE_CXX="$CXX_host" -QMAKE_CXXFLAGS="$CXXFLAGS_host" -QMAKE_LINK="$CXX_host" -QMAKE_LINK_SHLIB= -QMAKE_LFLAGS= -END - -cat > application.inc << END -QMAKE_CC="${CC}" -QMAKE_CFLAGS="${CFLAGS}" -QMAKE_CXX="${CXX}" -QMAKE_CXXFLAGS="${CXXFLAGS}" -QMAKE_LINK="${CXX}" -QMAKE_LINK_SHLIB="${CXX}" -QMAKE_LFLAGS="${LDFLAGS}" -QMAKE_STRIP="" -END - - # configure-ng.py stops when $XBPS_CROSS_BASE is empty - # in a native build; so only set sysroot when cross compiling - _sysroot="--sysroot=$XBPS_CROSS_BASE" - else - _sysroot="" - fi - - python${pyver} configure-ng.py --confirm-license --assume-shared \ - --qmake=/usr/lib/qt/bin/qmake --verbose $_sysroot \ - QMAKE_CC="${CC}" QMAKE_CFLAGS="${CFLAGS}" QMAKE_CXX="${CXX}" QMAKE_CXXFLAGS="${CXXFLAGS}" \ - QMAKE_LINK="${CXX}" QMAKE_LINK_SHLIB="${CXX}" QMAKE_LFLAGS="${LDFLAGS}" QMAKE_STRIP="" - find -name Makefile -exec sed -i "{}" \ - -e "s;\(\$(INSTALL_ROOT)/usr/\)${XBPS_CROSS_TRIPLET}/;\1;g" \; - make ${makejobs} - done -} -do_install() { - # install python-pyqt4 - make -C pyqt4-${py2_ver} DESTDIR=${DESTDIR} INSTALL_ROOT=${DESTDIR} install - # create versioned pyuic4 wrapper - sed -i -e 's,/usr/bin/python2.7,/usr/bin/python2,' ${DESTDIR}/usr/bin/pyuic4 - if [ -n "$CROSS_BUILD" ]; then - sed -i -e "s,${XBPS_CROSS_TRIPLET}/,," ${DESTDIR}/usr/bin/pyuic4 - fi - mv ${DESTDIR}/usr/bin/{,python2-}pyuic4 - - # install python3-pyqt4 - make -C pyqt4-${py3_ver} DESTDIR=${DESTDIR} INSTALL_ROOT=${DESTDIR} install - # create versioned pyuic4 wrapper - sed -i -e 's,/usr/bin/python3[.0-9]*,/usr/bin/python3,' ${DESTDIR}/usr/bin/pyuic4 - if [ -n "$CROSS_BUILD" ]; then - sed -i -e "s,${XBPS_CROSS_TRIPLET}/,," ${DESTDIR}/usr/bin/pyuic4 - fi - mv ${DESTDIR}/usr/bin/{,python3-}pyuic4 - - cd pyqt4-${py2_ver} - # install doc - vmkdir usr/share/doc/${pkgname} - vcopy doc/html usr/share/doc/${pkgname} -} - -python-PyQt4-devel-tools_package() { - short_desc+=" - development tools" - pkg_install() { - vmove usr/bin/pylupdate4 - vmove usr/bin/pyrcc4 - } -} -python-PyQt4-devel_package() { - depends="python-sip-devel python3-sip-devel - python-PyQt4-${version}_${revision} python3-PyQt4-${version}_${revision}" - short_desc+=" - development files" - pkg_install() { - vmove usr/share/sip - } -} -python-PyQt4-dbus_package() { - lib32disabled=yes - depends="${sourcepkg}-${version}_${revision} python-dbus" - short_desc+=" - dbus support" - pkg_install() { - vmove ${py2_sitelib}/dbus/mainloop/qt.so - } -} -python-PyQt4-phonon_package() { - lib32disabled=yes - depends="${sourcepkg}-${version}_${revision}" - short_desc+=" - phonon bindings" - pkg_install() { - vmove ${py2_sitelib}/PyQt4/phonon.so - } -} -python-PyQt4-webkit_package() { - lib32disabled=yes - depends="${sourcepkg}-${version}_${revision}" - short_desc+=" - webkit module" - pkg_install() { - vmove ${py2_sitelib}/PyQt4/QtWebKit.so - } -} -python-PyQt4-doc_package() { - archs=noarch - short_desc+=" - documentation files" - pkg_install() { - vmove usr/share/doc - } -} -python3-PyQt4_package() { - lib32disabled=yes - depends="python3-sip" - pycompile_module="PyQt4" - short_desc="${short_desc/Python2/Python3}" - alternatives="pyqt4:pyuic4:/usr/bin/python3-pyuic4" - pkg_install() { - vmove usr/bin/python3-pyuic4 - vmove ${py3_sitelib} - } -} -python3-PyQt4-dbus_package() { - lib32disabled=yes - depends="python3-PyQt4-${version}_${revision} python3-dbus" - short_desc="${short_desc/Python2/Python3} - dbus support" - pkg_install() { - vmove ${py3_sitelib}/dbus/mainloop/qt.so - } -} -python3-PyQt4-phonon_package() { - lib32disabled=yes - depends="python3-PyQt4-${version}_${revision}" - short_desc="${short_desc/Python2/Python3} - phonon bindings" - pkg_install() { - vmove ${py3_sitelib}/PyQt4/phonon.so - } -} -python3-PyQt4-webkit_package() { - lib32disabled=yes - depends="python3-PyQt4-${version}_${revision}" - short_desc="${short_desc/Python2/Python3} - webkit module" - pkg_install() { - vmove ${py3_sitelib}/PyQt4/QtWebKit.so - } -} diff --git a/srcpkgs/python-PyQt4/update b/srcpkgs/python-PyQt4/update deleted file mode 100644 index 88ee9c9a1c9..00000000000 --- a/srcpkgs/python-PyQt4/update +++ /dev/null @@ -1 +0,0 @@ -pkgname="PyQt4_gpl_x11" diff --git a/srcpkgs/python3-PyQt4 b/srcpkgs/python3-PyQt4 deleted file mode 120000 index fe02248deea..00000000000 --- a/srcpkgs/python3-PyQt4 +++ /dev/null @@ -1 +0,0 @@ -python-PyQt4 \ No newline at end of file diff --git a/srcpkgs/python3-PyQt4-dbus b/srcpkgs/python3-PyQt4-dbus deleted file mode 120000 index fe02248deea..00000000000 --- a/srcpkgs/python3-PyQt4-dbus +++ /dev/null @@ -1 +0,0 @@ -python-PyQt4 \ No newline at end of file diff --git a/srcpkgs/python3-PyQt4-phonon b/srcpkgs/python3-PyQt4-phonon deleted file mode 120000 index fe02248deea..00000000000 --- a/srcpkgs/python3-PyQt4-phonon +++ /dev/null @@ -1 +0,0 @@ -python-PyQt4 \ No newline at end of file diff --git a/srcpkgs/python3-PyQt4-webkit b/srcpkgs/python3-PyQt4-webkit deleted file mode 120000 index fe02248deea..00000000000 --- a/srcpkgs/python3-PyQt4-webkit +++ /dev/null @@ -1 +0,0 @@ -python-PyQt4 \ No newline at end of file