From eecad976ac16d59c9034e54a7c4f10f224d94c0c Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Thu, 14 Sep 2023 09:20:29 -0400 Subject: [PATCH 1/7] python3-SQLAlchemy: update to 1.4.49. --- srcpkgs/python3-SQLAlchemy/template | 12 ++++++------ srcpkgs/python3-SQLAlchemy/update | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 srcpkgs/python3-SQLAlchemy/update diff --git a/srcpkgs/python3-SQLAlchemy/template b/srcpkgs/python3-SQLAlchemy/template index 11d3b30242c06..3ae353590fd65 100644 --- a/srcpkgs/python3-SQLAlchemy/template +++ b/srcpkgs/python3-SQLAlchemy/template @@ -1,19 +1,19 @@ # Template file for 'python3-SQLAlchemy' pkgname=python3-SQLAlchemy -version=1.3.18 -revision=5 +version=1.4.49 +revision=1 build_style=python3-module hostmakedepends="python3-setuptools" makedepends="python3-devel" -depends="python3" -checkdepends="python3-pytest-xdist" +depends="python3-greenlet" +checkdepends="python3-pytest-xdist python3-mock" short_desc="SQL Toolkit and Object Relational Mapper for Python3" maintainer="Orphaned " license="MIT" homepage="https://www.sqlalchemy.org" +changelog="https://docs.sqlalchemy.org/en/14/changelog/" distfiles="${PYPI_SITE}/S/SQLAlchemy/SQLAlchemy-${version}.tar.gz" -checksum=da2fb75f64792c1fc64c82313a00c728a7c301efe6a60b7a9fe35b16b4368ce7 -make_check=no # FIXME +checksum=06ff25cbae30c396c4b7737464f2a7fc37a67b7da409993b182b024cec80aed9 post_install() { vlicense LICENSE diff --git a/srcpkgs/python3-SQLAlchemy/update b/srcpkgs/python3-SQLAlchemy/update new file mode 100644 index 0000000000000..0f73cbc6432e9 --- /dev/null +++ b/srcpkgs/python3-SQLAlchemy/update @@ -0,0 +1 @@ +ignore="2.* *b*" From b50934e8f3bc9bf0103500a8a7056c2751e198e1 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Thu, 14 Sep 2023 09:25:40 -0400 Subject: [PATCH 2/7] python3-vlc: update to 3.0.18122. --- srcpkgs/python3-vlc/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-vlc/template b/srcpkgs/python3-vlc/template index 58dcdf2afb087..d77f678555d04 100644 --- a/srcpkgs/python3-vlc/template +++ b/srcpkgs/python3-vlc/template @@ -1,6 +1,6 @@ # Template file for 'python3-vlc' pkgname=python3-vlc -version=3.0.18121 +version=3.0.18122 revision=1 build_style=python3-module hostmakedepends="python3-setuptools" @@ -10,4 +10,4 @@ maintainer="Joel Beckmeyer " license="LGPL-2.1-or-later" homepage="https://wiki.videolan.org/Python_bindings" distfiles="${PYPI_SITE}/p/python-vlc/python-vlc-${version}.tar.gz" -checksum=24550314a3e6ed55fd347b009491c98b865f9dfa05a92e889d7b0a2210e7485b +checksum=1039bde287853b4b7b61ba22d83761832434f78506da762dfb060291bf32897d From 790a37eb495d9270e444a9181b7a81a48915f8fe Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Thu, 14 Sep 2023 09:25:45 -0400 Subject: [PATCH 3/7] python3-Flask-Cors: update to 4.0.0. --- srcpkgs/python3-Flask-Cors/template | 12 ++++++------ srcpkgs/python3-Flask-Cors/update | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 srcpkgs/python3-Flask-Cors/update diff --git a/srcpkgs/python3-Flask-Cors/template b/srcpkgs/python3-Flask-Cors/template index ffe646b7ce20b..816bd42bc453f 100644 --- a/srcpkgs/python3-Flask-Cors/template +++ b/srcpkgs/python3-Flask-Cors/template @@ -1,18 +1,18 @@ # Template file for 'python3-Flask-Cors' pkgname=python3-Flask-Cors -version=3.0.10 -revision=2 +version=4.0.0 +revision=1 build_style=python3-module hostmakedepends="python3-setuptools" -depends="python3-Flask python3-six" -checkdepends="python3-pytest ${depends}" +depends="python3-Flask" +checkdepends="python3-pytest python3-packaging ${depends}" short_desc="Flask extension adding a decorator for CORS support" maintainer="Joel Beckmeyer " license="MIT" homepage="https://github.com/corydolphin/flask-cors" -changelog="https://raw.githubusercontent.com/corydolphin/flask-cors/master/CHANGELOG.md" +changelog="https://raw.githubusercontent.com/corydolphin/flask-cors/main/CHANGELOG.md" distfiles="${PYPI_SITE}/F/Flask-Cors/Flask-Cors-${version}.tar.gz" -checksum=b60839393f3b84a0f3746f6cdca56c1ad7426aa738b70d6c61375857823181de +checksum=f268522fcb2f73e2ecdde1ef45e2fd5c71cc48fe03cffb4b441c6d1b40684eb0 post_install() { vlicense LICENSE diff --git a/srcpkgs/python3-Flask-Cors/update b/srcpkgs/python3-Flask-Cors/update new file mode 100644 index 0000000000000..2c857beffb293 --- /dev/null +++ b/srcpkgs/python3-Flask-Cors/update @@ -0,0 +1 @@ +ignore="*a*" From 072d51a3caea5cb27f284432aef628d554098fff Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Thu, 14 Sep 2023 09:28:17 -0400 Subject: [PATCH 4/7] python3-QtAwesome: update to 1.2.3. --- srcpkgs/python3-QtAwesome/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python3-QtAwesome/template b/srcpkgs/python3-QtAwesome/template index 234dda2d83c5f..288046a9d5065 100644 --- a/srcpkgs/python3-QtAwesome/template +++ b/srcpkgs/python3-QtAwesome/template @@ -1,7 +1,7 @@ # Template file for 'python3-QtAwesome' pkgname=python3-QtAwesome -version=1.2.0 -revision=2 +version=1.2.3 +revision=1 build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-QtPy" @@ -12,7 +12,7 @@ license="MIT" homepage="https://github.com/spyder-ide/qtawesome" changelog="https://raw.githubusercontent.com/spyder-ide/qtawesome/master/CHANGELOG.md" distfiles="${PYPI_SITE}/Q/QtAwesome/QtAwesome-${version}.tar.gz" -checksum=b431dfee46ccbe43aa5d40d5b187749e2bf052ca16b8fbdf98b7778a8beb1063 +checksum=0db96484f3ac7a53c88279736b39b6f881a3f6bbd2163d4f0d043b74b1ef9131 post_install() { vlicense LICENSE.txt From 8501deb93f112f411cd6d8eef82709290f77b4a6 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Thu, 14 Sep 2023 11:00:56 -0400 Subject: [PATCH 5/7] New package: python3-pypng-0.20220715.0 --- srcpkgs/python3-pypng/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/python3-pypng/template diff --git a/srcpkgs/python3-pypng/template b/srcpkgs/python3-pypng/template new file mode 100644 index 0000000000000..6ef365893c198 --- /dev/null +++ b/srcpkgs/python3-pypng/template @@ -0,0 +1,19 @@ +# Template file for 'python3-pypng' +pkgname=python3-pypng +version=0.20220715.0 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools python3-wheel" +depends="python3" +checkdepends="python3-pytest" +short_desc="Pure Python library for saving and loading PNG images" +maintainer="Joel Beckmeyer " +license="MIT" +homepage="https://gitlab.com/drj11/pypng" +distfiles="${PYPI_SITE}/p/pypng/pypng-${version}.tar.gz" +checksum=739c433ba96f078315de54c0db975aee537cbc3e1d0ae4ed9aab0ca1e427e2c1 +make_check_pre="env PYTHONPATH=code" + +post_install() { + vlicense LICENCE +} From e9981cb082174353cfb33a3a3f31ca654b5dafd5 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Thu, 14 Sep 2023 11:03:10 -0400 Subject: [PATCH 6/7] python3-qrcode: update to 7.4.2. --- srcpkgs/python3-qrcode/files/README.voidlinux | 2 +- srcpkgs/python3-qrcode/template | 17 +++++++---------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/srcpkgs/python3-qrcode/files/README.voidlinux b/srcpkgs/python3-qrcode/files/README.voidlinux index 09539ea5d6280..0ffee4d08f76d 100644 --- a/srcpkgs/python3-qrcode/files/README.voidlinux +++ b/srcpkgs/python3-qrcode/files/README.voidlinux @@ -1,4 +1,4 @@ Some optional packages must be installed for additional functionality: - - python-Pillow: Image generation support + - python-Pillow: More image generation support diff --git a/srcpkgs/python3-qrcode/template b/srcpkgs/python3-qrcode/template index d8c1713c4992f..ebe91ed2e6119 100644 --- a/srcpkgs/python3-qrcode/template +++ b/srcpkgs/python3-qrcode/template @@ -1,21 +1,18 @@ # Template file for 'python3-qrcode' pkgname=python3-qrcode -version=6.1 -revision=6 +version=7.4.2 +revision=1 build_style=python3-module hostmakedepends="python3-setuptools" -depends="python3-six" -checkdepends="python3-six" -short_desc="QR Code image generator (Python3)" +depends="python3-pypng python3-typing_extensions" +checkdepends="python3-pytest ${depends}" +short_desc="QR Code image generator" maintainer="Charles E. Lehner " license="BSD-3-Clause" homepage="https://github.com/lincolnloop/python-qrcode" +changelog="https://raw.githubusercontent.com/lincolnloop/python-qrcode/main/CHANGES.rst" distfiles="${PYPI_SITE}/q/qrcode/qrcode-${version}.tar.gz" -checksum=505253854f607f2abf4d16092c61d4e9d511a3b4392e60bff957a68592b04369 - -do_check() { - python3 setup.py test -} +checksum=9dd969454827e127dbd93696b20747239e6d540e082937c90f14ac95b30f5845 post_install() { vlicense LICENSE From 4e81a638ab8de44364fdea8a1c8d3b186254c457 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Thu, 14 Sep 2023 11:30:52 -0400 Subject: [PATCH 7/7] OpenLP: update to 3.1.0rc1. --- srcpkgs/OpenLP/patches/no_pytest_runner.patch | 4 +-- srcpkgs/OpenLP/template | 26 +++++++++++++------ 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/srcpkgs/OpenLP/patches/no_pytest_runner.patch b/srcpkgs/OpenLP/patches/no_pytest_runner.patch index e829c59dad61d..49eac46285d99 100644 --- a/srcpkgs/OpenLP/patches/no_pytest_runner.patch +++ b/srcpkgs/OpenLP/patches/no_pytest_runner.patch @@ -1,8 +1,8 @@ diff --git a/setup.py b/setup.py -index 1476585..4fc3ab0 100644 +index 5491eab..dfd1e5b 100644 --- a/setup.py +++ b/setup.py -@@ -141,6 +141,5 @@ using a computer and a data projector.""", +@@ -139,6 +139,5 @@ using a computer and a display/projector.""", 'flake8', ] }, diff --git a/srcpkgs/OpenLP/template b/srcpkgs/OpenLP/template index ff1f5b2cb5670..45dd561d713c9 100644 --- a/srcpkgs/OpenLP/template +++ b/srcpkgs/OpenLP/template @@ -1,30 +1,40 @@ # Template file for 'OpenLP' pkgname=OpenLP -version=3.0.2 +version=3.1.0rc2 revision=1 -create_wrksrc=yes build_style=python3-module hostmakedepends="python3-setuptools qt5-host-tools" depends="python3-alembic python3-appdirs python3-BeautifulSoup4 python3-chardet python3-dbus python3-distro python3-Flask python3-Flask-Cors python3-lxml - python3-Mako python3-Pillow python3-pymediainfo python3-PyQt5 - python3-PyQt5-multimedia python3-PyQt5-webengine python3-vlc python3-qrcode - python3-QtAwesome python3-requests python3-SQLAlchemy python3-waitress - python3-WebOb python3-websockets python3-zeroconf python3-PyICU" + python3-Mako python3-pymediainfo python3-PyQt5 python3-PyQt5-multimedia + python3-PyQt5-webengine python3-vlc python3-qrcode python3-QtAwesome + python3-requests python3-SQLAlchemy python3-waitress python3-WebOb + python3-websockets python3-zeroconf python3-PyICU" checkdepends="python3-pytest-qt xvfb-run ${depends}" short_desc="Free Worship Presentation Software for your Church" maintainer="Piotr Wójcik " license="GPL-3.0-or-later" homepage="https://openlp.org/" distfiles="https://get.openlp.org/${version}/OpenLP-${version}.tar.gz" -checksum=edf03061e9e1c494835657bd4924c07d862aea1997832d2c9e56e3286fce1d2b +checksum=401bf133ae0038bbf4778be8ed43b6e2ef512a614ff044c2c147a778e95ce86e make_check_pre="env -u QT_QPA_PLATFORM xvfb-run" post_install() { - vinstall resources/openlp.desktop 644 usr/share/applications vmkdir usr/share/openlp/i18n cd resources/i18n for i in *.ts; do lconvert -i "${i}" -o "${DESTDIR}/usr/share/openlp/i18n/${i%ts}qm" done + + cd ../images + for size in 16 32 48 64 128 256; do + vinstall openlp-logo-${size}x${size}.png 644 \ + usr/share/icons/hicolor/${size}x${size}/apps openlp.png + done + vinstall openlp.svg 644 usr/share/icons/hicolor/scalable/apps + + cd .. + + vinstall openlp.desktop 644 usr/share/applications + vinstall openlp.xml 644 usr/share/mime/packages }