From 02ed5981d1fdb6528f20a9944b0acf05ea6a6005 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Mon, 28 Feb 2022 18:49:33 -0500 Subject: [PATCH 1/5] New package: python3-Flask-Cors-3.0.10 --- srcpkgs/python3-Flask-Cors/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/python3-Flask-Cors/template diff --git a/srcpkgs/python3-Flask-Cors/template b/srcpkgs/python3-Flask-Cors/template new file mode 100644 index 000000000000..7af4ebc13473 --- /dev/null +++ b/srcpkgs/python3-Flask-Cors/template @@ -0,0 +1,20 @@ +# Template file for 'python3-Flask-Cors' +pkgname=python3-Flask-Cors +version=3.0.10 +revision=1 +wrksrc="${pkgname#*-}-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-Flask python3-six" +checkdepends="python3-pytest ${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" +distfiles="${PYPI_SITE}/F/Flask-Cors/Flask-Cors-${version}.tar.gz" +checksum=b60839393f3b84a0f3746f6cdca56c1ad7426aa738b70d6c61375857823181de + +post_install() { + vlicense LICENSE +} From b4a593bace8215021bdc5a1535a5ae4576cf66cc Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Mon, 28 Feb 2022 18:57:24 -0500 Subject: [PATCH 2/5] New package: python3-pymediainfo-5.1.0 --- srcpkgs/python3-pymediainfo/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/python3-pymediainfo/template diff --git a/srcpkgs/python3-pymediainfo/template b/srcpkgs/python3-pymediainfo/template new file mode 100644 index 000000000000..745c82cb37ce --- /dev/null +++ b/srcpkgs/python3-pymediainfo/template @@ -0,0 +1,19 @@ +# Template file for 'python3-pymediainfo' +pkgname=python3-pymediainfo +version=5.1.0 +revision=1 +wrksrc="pymediainfo-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools_scm" +depends="python3-importlib_metadata libmediainfo" +checkdepends="python3-pytest libmediainfo" +short_desc="Python wrapper around the MediaInfo library" +maintainer="Joel Beckmeyer " +license="MIT" +homepage="https://github.com/sbraz/pymediainfo" +distfiles="${PYPI_SITE}/p/pymediainfo/pymediainfo-${version}.tar.gz" +checksum=d996c69d50081a24d6dca9679abf43ffd2be368b065f953c2c9082e5d649c734 + +post_install() { + vlicense LICENSE +} From 1d581dc9d83f0a9e15accb4f7981f7287e327424 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Mon, 28 Feb 2022 19:06:04 -0500 Subject: [PATCH 3/5] New package: python3-vlc-3.0.16120 --- srcpkgs/python3-vlc/template | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/python3-vlc/template diff --git a/srcpkgs/python3-vlc/template b/srcpkgs/python3-vlc/template new file mode 100644 index 000000000000..2c1357c26954 --- /dev/null +++ b/srcpkgs/python3-vlc/template @@ -0,0 +1,14 @@ +# Template file for 'python3-vlc' +pkgname=python3-vlc +version=3.0.16120 +revision=1 +wrksrc="python-vlc-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="VLC bindings for python" +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=92f98fee088f72bd6d063b3b3312d0bd29b37e7ad65ddeb3a7303320300c2807 From 6281ada8cc230551edf9025411df296489a3ef15 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Mon, 28 Feb 2022 19:14:54 -0500 Subject: [PATCH 4/5] New package: python3-QtAwesome-1.1.1 --- srcpkgs/python3-QtAwesome/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/python3-QtAwesome/template diff --git a/srcpkgs/python3-QtAwesome/template b/srcpkgs/python3-QtAwesome/template new file mode 100644 index 000000000000..cd84ff6f74da --- /dev/null +++ b/srcpkgs/python3-QtAwesome/template @@ -0,0 +1,20 @@ +# Template file for 'python3-QtAwesome' +pkgname=python3-QtAwesome +version=1.1.1 +revision=1 +wrksrc="QtAwesome-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-QtPy" +checkdepends="python3-pytest-qt python3-PyQt5 ${depends}" +short_desc="Iconic fonts in PyQt and PySide applications" +maintainer="Joel Beckmeyer " +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=ec02e200231fa68a146a93845890aa0432a7edcba14bf811ff6975cf9acdab5d + +post_install() { + vlicense LICENSE.txt +} From 15e5fec18d790f07561bd2c19a34e76e549d0712 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Mon, 28 Feb 2022 18:41:59 -0500 Subject: [PATCH 5/5] OpenLP: update to 2.9.4. --- srcpkgs/OpenLP/patches/no_pytest_runner.patch | 11 ++++++++ srcpkgs/OpenLP/template | 26 +++++++++---------- 2 files changed, 24 insertions(+), 13 deletions(-) create mode 100644 srcpkgs/OpenLP/patches/no_pytest_runner.patch diff --git a/srcpkgs/OpenLP/patches/no_pytest_runner.patch b/srcpkgs/OpenLP/patches/no_pytest_runner.patch new file mode 100644 index 000000000000..e829c59dad61 --- /dev/null +++ b/srcpkgs/OpenLP/patches/no_pytest_runner.patch @@ -0,0 +1,11 @@ +diff --git a/setup.py b/setup.py +index 1476585..4fc3ab0 100644 +--- a/setup.py ++++ b/setup.py +@@ -141,6 +141,5 @@ using a computer and a data projector.""", + 'flake8', + ] + }, +- setup_requires=['pytest-runner'], + entry_points={'gui_scripts': ['openlp = openlp.__main__:start']} + ) diff --git a/srcpkgs/OpenLP/template b/srcpkgs/OpenLP/template index 64f86854a286..8fd194ccf27e 100644 --- a/srcpkgs/OpenLP/template +++ b/srcpkgs/OpenLP/template @@ -1,26 +1,26 @@ # Template file for 'OpenLP' pkgname=OpenLP -version=2.4.6 -revision=5 +version=2.9.4 +revision=1 +wrksrc="OpenLP-${version}" +create_wrksrc=yes build_style=python3-module hostmakedepends="python3-setuptools qt5-host-tools" -depends="python3-BeautifulSoup4 python3-PyQt5-multimedia python3-PyQt5-opengl - python3-PyQt5-webkit python3-SQLAlchemy python3-alembic python3-chardet - python3-lxml" +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" +checkdepends="python3-pytest-qt ${depends}" short_desc="Free Worship Presentation Software for your Church" maintainer="Piotr Wójcik " -license="GPL-2.0-only" +license="GPL-3.0-or-later" homepage="https://openlp.org/" distfiles="https://get.openlp.org/${version}/OpenLP-${version}.tar.gz" -checksum=f63dcf5f1f8a8199bf55e806b44066ad920d26c9cf67ae432eb8cdd1e761fc30 - -do_check() { - : # nosetests -v tests segfaults -} +checksum=24dcd14841b5a6a03e0ac12202628429f467264ac8605268c63b6634121dd73a post_install() { - rm -r ${DESTDIR}/usr/lib/python*/site-packages/tests - mv ${DESTDIR}/usr/bin/openlp.py ${DESTDIR}/usr/bin/openlp vinstall resources/openlp.desktop 644 usr/share/applications vmkdir usr/share/openlp/i18n cd resources/i18n