python3-sip-PyQt5: update to 12.8.0
This commit is contained in:
parent
fe4c7d92d4
commit
2c632f843d
3 changed files with 20 additions and 17 deletions
|
@ -1 +0,0 @@
|
||||||
sip
|
|
19
srcpkgs/python3-sip-PyQt5/template
Normal file
19
srcpkgs/python3-sip-PyQt5/template
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
# Template file for 'python3-sip-PyQt5'
|
||||||
|
pkgname=python3-sip-PyQt5
|
||||||
|
version=12.8.0
|
||||||
|
revision=1
|
||||||
|
wrksrc="PyQt5_sip-$version"
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-devel python3-setuptools sip5"
|
||||||
|
makedepends="python3-devel"
|
||||||
|
short_desc="Python 3 PyQt5 SIP bindings with C and C++"
|
||||||
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
license="GPL-2.0-only, GPL-3.0-only, custom:SIP"
|
||||||
|
homepage="https://riverbankcomputing.com/software/sip/intro"
|
||||||
|
distfiles="${PYPI_SITE}/P/PyQt5_sip/PyQt5_sip-${version}.tar.gz"
|
||||||
|
checksum=0a34b6596bdd28d52da3a51fa8d9bb0b287bcb605c2512aa3251b9028cc71f4d
|
||||||
|
lib32disabled=yes
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense /usr/share/licenses/sip5/LICENSE
|
||||||
|
}
|
|
@ -15,12 +15,11 @@ checksum=22ca9bcec5388114e40d4aafd7ccd0c4fe072297b628d0c5cdfa2f010c0bc7e7
|
||||||
post_extract() {
|
post_extract() {
|
||||||
mv sip-$version sip-${py2_ver}
|
mv sip-$version sip-${py2_ver}
|
||||||
cp -a sip-${py2_ver} sip-${py3_ver}
|
cp -a sip-${py2_ver} sip-${py3_ver}
|
||||||
cp -a sip-${py2_ver} sip-${py3_ver}-PyQt5
|
|
||||||
cp -a sip-${py2_ver} sip-${py2_ver}-PyQt5
|
cp -a sip-${py2_ver} sip-${py2_ver}-PyQt5
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
for pyver in $py2_ver $py3_ver ${py3_ver}-PyQt5 ${py2_ver}-PyQt5; do
|
for pyver in $py2_ver $py3_ver ${py2_ver}-PyQt5; do
|
||||||
if [ "${pyver%-PyQt5}" != "$py2_ver" ]; then
|
if [ "${pyver%-PyQt5}" != "$py2_ver" ]; then
|
||||||
pyinc="$py3_inc"
|
pyinc="$py3_inc"
|
||||||
else
|
else
|
||||||
|
@ -54,10 +53,6 @@ do_install() {
|
||||||
vinstall sipconfig.py 644 $py3_sitelib
|
vinstall sipconfig.py 644 $py3_sitelib
|
||||||
vinstall sipdistutils.py 644 $py3_sitelib
|
vinstall sipdistutils.py 644 $py3_sitelib
|
||||||
|
|
||||||
# install python3 PyQt5 sip
|
|
||||||
cd ${wrksrc}/sip-${py3_ver}-PyQt5
|
|
||||||
make DESTDIR=${DESTDIR} install -C siplib
|
|
||||||
|
|
||||||
# install python2 PyQt5 sip
|
# install python2 PyQt5 sip
|
||||||
cd ${wrksrc}/sip-${py2_ver}-PyQt5
|
cd ${wrksrc}/sip-${py2_ver}-PyQt5
|
||||||
make DESTDIR=${DESTDIR} install -C siplib
|
make DESTDIR=${DESTDIR} install -C siplib
|
||||||
|
@ -108,16 +103,6 @@ python3-sip-devel_package() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
python3-sip-PyQt5_package() {
|
|
||||||
lib32disabled=yes
|
|
||||||
depends="${sourcepkg}-${version}_${revision} python3"
|
|
||||||
short_desc="Python3 SIP bindings (PyQt5 version)"
|
|
||||||
pkg_install() {
|
|
||||||
vmove ${py3_sitelib}/PyQt5/sip.so
|
|
||||||
vmove ${py3_sitelib}/PyQt5/sip.pyi
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
python-sip-PyQt5_package() {
|
python-sip-PyQt5_package() {
|
||||||
lib32disabled=yes
|
lib32disabled=yes
|
||||||
depends="python"
|
depends="python"
|
||||||
|
|
Loading…
Reference in a new issue