From 6592e4c319a60cbd782504cec5fc9e2c74fe387c Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Mon, 23 Dec 2019 23:34:03 +0100 Subject: [PATCH] shiboken: remove, obsolete Qt4 stuff. --- srcpkgs/libshiboken-common-devel | 1 - srcpkgs/libshiboken-python | 1 - srcpkgs/libshiboken-python-devel | 1 - srcpkgs/libshiboken-python3 | 1 - srcpkgs/libshiboken-python3-devel | 1 - srcpkgs/python-shiboken | 1 - srcpkgs/python3-shiboken | 1 - srcpkgs/shiboken/patches/python3.6.patch | 11 --- srcpkgs/shiboken/template | 110 ----------------------- 9 files changed, 128 deletions(-) delete mode 120000 srcpkgs/libshiboken-common-devel delete mode 120000 srcpkgs/libshiboken-python delete mode 120000 srcpkgs/libshiboken-python-devel delete mode 120000 srcpkgs/libshiboken-python3 delete mode 120000 srcpkgs/libshiboken-python3-devel delete mode 120000 srcpkgs/python-shiboken delete mode 120000 srcpkgs/python3-shiboken delete mode 100644 srcpkgs/shiboken/patches/python3.6.patch delete mode 100644 srcpkgs/shiboken/template diff --git a/srcpkgs/libshiboken-common-devel b/srcpkgs/libshiboken-common-devel deleted file mode 120000 index ab43ecb27f..0000000000 --- a/srcpkgs/libshiboken-common-devel +++ /dev/null @@ -1 +0,0 @@ -shiboken \ No newline at end of file diff --git a/srcpkgs/libshiboken-python b/srcpkgs/libshiboken-python deleted file mode 120000 index ab43ecb27f..0000000000 --- a/srcpkgs/libshiboken-python +++ /dev/null @@ -1 +0,0 @@ -shiboken \ No newline at end of file diff --git a/srcpkgs/libshiboken-python-devel b/srcpkgs/libshiboken-python-devel deleted file mode 120000 index ab43ecb27f..0000000000 --- a/srcpkgs/libshiboken-python-devel +++ /dev/null @@ -1 +0,0 @@ -shiboken \ No newline at end of file diff --git a/srcpkgs/libshiboken-python3 b/srcpkgs/libshiboken-python3 deleted file mode 120000 index ab43ecb27f..0000000000 --- a/srcpkgs/libshiboken-python3 +++ /dev/null @@ -1 +0,0 @@ -shiboken \ No newline at end of file diff --git a/srcpkgs/libshiboken-python3-devel b/srcpkgs/libshiboken-python3-devel deleted file mode 120000 index ab43ecb27f..0000000000 --- a/srcpkgs/libshiboken-python3-devel +++ /dev/null @@ -1 +0,0 @@ -shiboken \ No newline at end of file diff --git a/srcpkgs/python-shiboken b/srcpkgs/python-shiboken deleted file mode 120000 index ab43ecb27f..0000000000 --- a/srcpkgs/python-shiboken +++ /dev/null @@ -1 +0,0 @@ -shiboken \ No newline at end of file diff --git a/srcpkgs/python3-shiboken b/srcpkgs/python3-shiboken deleted file mode 120000 index ab43ecb27f..0000000000 --- a/srcpkgs/python3-shiboken +++ /dev/null @@ -1 +0,0 @@ -shiboken \ No newline at end of file diff --git a/srcpkgs/shiboken/patches/python3.6.patch b/srcpkgs/shiboken/patches/python3.6.patch deleted file mode 100644 index 7145fb4308..0000000000 --- a/srcpkgs/shiboken/patches/python3.6.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- cmake/Modules/FindPython3Libs.cmake.orig -+++ cmake/Modules/FindPython3Libs.cmake -@@ -27,7 +27,7 @@ - # Search for the python framework on Apple. - # CMAKE_FIND_FRAMEWORKS(Python) - --FOREACH(_CURRENT_VERSION 3.4 3.3 3.2 3.1 3.0) -+FOREACH(_CURRENT_VERSION 3.6 3.5 3.4 3.3 3.2 3.1 3.0) - IF(_CURRENT_VERSION GREATER 3.1) - SET(_32FLAGS "m" "u" "mu" "dm" "du" "dmu" "") - ELSE() diff --git a/srcpkgs/shiboken/template b/srcpkgs/shiboken/template deleted file mode 100644 index 1f9c8043b4..0000000000 --- a/srcpkgs/shiboken/template +++ /dev/null @@ -1,110 +0,0 @@ -# Template file for 'shiboken' -pkgname=shiboken -version=1.2.2 -revision=5 -wrksrc="shiboken-${version}" -hostmakedepends="cmake" -makedepends="python-devel python3-devel qt-devel libxml2-devel libxslt-devel" -short_desc="CPython bindings generator for C++ libraries" -maintainer="Enno Boland " -homepage="http://www.pyside.org" -license="LGPL-2.1" -distfiles="https://download.qt.io/official_releases/pyside/shiboken-${version}.tar.bz2" -checksum=7625bbcf1fe313fd910c6b8c9cf49ac5495499f9d00867115a2f1f2a69fce5c4 - -nocross="https://travis-ci.org/voidlinux/void-packages/jobs/269193001#L906" - -pre_build() { - # Fix inconsistent naming of libshiboken.so and ShibokenConfig.cmake - sed -i "/get_config_var('SOABI')/d" cmake/Modules/FindPython3InterpWithDebug.cmake -} -do_build() { - local args= configure_args=" - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ - -DBUILD_TESTS=OFF" - - for pyver in $py2_ver $py3_ver; do - args= - if [ "$pyver" = "$py2_ver" ]; then - args="-DPYTHON_SUFFIX=-python$py2_ver" - else - args="-DUSE_PYTHON3=yes" - fi - - [ ! -d build-${pyver} ] && mkdir build-${pyver} - pushd build-${pyver} - cmake .. ${configure_args} ${args} - make ${makejobs} - popd - done -} -do_install() { - for pyver in $py2_ver $py3_ver; do - make -C build-${pyver} DESTDIR=${DESTDIR} install - done -} -post_install() { - # Fix conflict between .pc files - rm -f ${DESTDIR}/usr/lib/pkgconfig/* - for pyver in $py2_ver $py3_ver; do - vinstall build-${pyver}/data/shiboken.pc 644 \ - usr/lib/pkgconfig shiboken-python${pyver}.pc - done -} - -libshiboken-common-devel_package() { - depends="${sourcepkg}-${version}_${revision}" - short_desc+=" - common development files" - pkg_install() { - vmove usr/include - vmove usr/lib/cmake/Shiboken-${version}/ShibokenConfig.cmake - vmove usr/lib/cmake/Shiboken-${version}/ShibokenConfigVersion.cmake - } -} -libshiboken-python-devel_package() { - depends="libshiboken-common-devel-${version}_${revision} - libshiboken-python-${version}_${revision}" - short_desc="Python2 shiboken bindings - shared library (development files)" - pkg_install() { - vmove usr/lib/cmake/Shiboken-${version}/ShibokenConfig-python${py2_ver}.cmake - vmove usr/lib/pkgconfig/shiboken-python${py2_ver}.pc - vmove usr/lib/libshiboken-python${py2_ver}.so - } -} -libshiboken-python_package() { - short_desc="Python2 shiboken bindings - shared library" - pkg_install() { - vmove usr/lib/libshiboken-python${py2_ver}.so.${version%.*} - vmove usr/lib/libshiboken-python${py2_ver}.so.${version} - } -} -python-shiboken_package() { - short_desc="Python2 shiboken bindings" - pkg_install() { - vmove ${py2_sitelib}/shiboken.so - } -} -libshiboken-python3-devel_package() { - depends="libshiboken-common-devel-${version}_${revision} - libshiboken-python3-${version}_${revision}" - short_desc="Python3 shiboken bindings - shared library (development files)" - pkg_install() { - vmove usr/lib/cmake/Shiboken-${version}/ShibokenConfig-python${py3_ver}.cmake - vmove usr/lib/pkgconfig/shiboken-python${py3_ver}.pc - vmove usr/lib/libshiboken-python${py3_ver}.so - } -} -libshiboken-python3_package() { - short_desc="Python3 shiboken bindings - shared library" - pkg_install() { - vmove usr/lib/libshiboken-python${py3_ver}.so.${version%.*} - vmove usr/lib/libshiboken-python${py3_ver}.so.${version} - } -} -python3-shiboken_package() { - short_desc="Python3 shiboken bindings" - pkg_install() { - vmove ${py3_sitelib}/shiboken.so - } -}