From 75ab59d1e922236989bceb8ea27c75ef5c024e42 Mon Sep 17 00:00:00 2001 From: Eloi Torrents Date: Fri, 23 Sep 2022 10:11:19 +0200 Subject: [PATCH 1/4] New package: python3-gtts-2.5.1 --- srcpkgs/python3-gtts/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/python3-gtts/template diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template new file mode 100644 index 0000000000000..70e4c233cbd37 --- /dev/null +++ b/srcpkgs/python3-gtts/template @@ -0,0 +1,25 @@ +# Template file for 'python3-gtts' +pkgname=python3-gtts +version=2.5.1 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools python3-wheel" +depends="python3 python3-click" +checkdepends="python3-click python3-mock python3-urllib3 python3-requests python3-testfixtures python3-wheel tox" +short_desc="Module and CLI text-to-speech tool using Google Translate API" +maintainer="Eloi Torrents " +license="MIT" +homepage="https://github.com/pndurette/gTTS" +distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz" +checksum=02d0a9874f945dee9cd5092991c60bc88d4b7767b8cd81144b6fb49dc3de6897 + +pre_install() { + #dist/gTTS-2.3.2-py3-none-any.whl + for i in dist/gTTS-*.whl ; do + test -e "$i" || continue + mv -f "$i" "${i,,}" # lowercase + done +} +post_install() { + vlicense LICENSE +} From 8fe6c37e950c9ba9b215f3077f63e3ab5f9936b8 Mon Sep 17 00:00:00 2001 From: Eloi Torrents Date: Fri, 23 Sep 2022 10:54:55 +0200 Subject: [PATCH 2/4] New package: python3-sybil-6.0.3 --- srcpkgs/python3-sybil/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/python3-sybil/template diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template new file mode 100644 index 0000000000000..bc21982678bc0 --- /dev/null +++ b/srcpkgs/python3-sybil/template @@ -0,0 +1,19 @@ +# Template file for 'python3-sybil' +pkgname=python3-sybil +version=6.0.3 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +checkdepends="python3-pytest" +short_desc="Automated testing for the examples in your documentation" +maintainer="Eloi Torrents " +license="MIT" +homepage="https://github.com/simplistix/sybil" +changelog="https://sybil.readthedocs.io/en/latest/changes.html" +distfiles="${PYPI_SITE}/s/sybil/sybil-${version}.tar.gz" +checksum=c5f932900c03a06cb5b0bd4c2b1e5e9c15a3b717bbfc64ca29b1cb41d2267b25 + +post_install() { + vlicense docs/license.rst +} From 5408fb0556bebaf849b2546947706c34370e3dcd Mon Sep 17 00:00:00 2001 From: Eloi Torrents Date: Fri, 23 Sep 2022 11:00:14 +0200 Subject: [PATCH 3/4] New package: python3-testfixtures-7.2.2 --- srcpkgs/python3-testfixtures/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python3-testfixtures/template diff --git a/srcpkgs/python3-testfixtures/template b/srcpkgs/python3-testfixtures/template new file mode 100644 index 0000000000000..0b5d55489e1e7 --- /dev/null +++ b/srcpkgs/python3-testfixtures/template @@ -0,0 +1,23 @@ +# Template file for 'python3-testfixtures' +pkgname=python3-testfixtures +version=7.2.2 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted tox" +short_desc="Collection of helpers and mock objects for unit tests and doc tests" +maintainer="Eloi Torrents " +license="MIT" +homepage="https://github.com/Simplistix/testfixtures" +distfiles="${PYPI_SITE}/t/testfixtures/testfixtures-${version}.tar.gz" +checksum=80774aecb0249458275ab783f53093fbe75795ff2b3218d22ce3fff0a12c4da6 + +do_check() { + cd build/lib + pytest -v --ignore="testfixtures/tests/test_django" # Fails to import +} + +post_install() { + vlicense LICENSE.txt +} From 51e600329219b42370066a3b073a4e2fbc2ec0e0 Mon Sep 17 00:00:00 2001 From: Eloi Torrents Date: Thu, 22 Sep 2022 23:01:03 +0200 Subject: [PATCH 4/4] New package: mnemosyne-2.11 --- srcpkgs/mnemosyne/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/mnemosyne/template diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template new file mode 100644 index 0000000000000..71079b6f1eff3 --- /dev/null +++ b/srcpkgs/mnemosyne/template @@ -0,0 +1,24 @@ +# Template file for 'mnemosyne' +pkgname=mnemosyne +version=2.11 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools python3-pyqt6-core-devel python3-pyqt6-devel-tools" +depends="python3 python3-pyqt6 python3-pyqt6-webengine python3-Pillow python3-CherryPy + python3-gtts python3-matplotlib python3-WebOb python3-Cheroot python3-PyOpenGL + python3-setuptools qt6-webengine" +depends="python3 python3-PyQt5 python3-PyQt5-webengine python3-pyqt6-multimedia + python3-pyqt6-sql python3-Pillow python3-CherryPy python3-gtts python3-matplotlib + python3-WebOb python3-Cheroot python3-PyOpenGL python3-setuptools qt5-webengine" +checkdepends="python3-nose tox" +short_desc="Efficient learning with powerful digital flash-cards" +maintainer="Eloi Torrents " +license="GPL-3.0-or-later" +homepage="https://mnemosyne-proj.org/" +distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz" +checksum=a042252c2fb8c69c44d048e3f3cfca142189fe7d1bb55e0ad98f8edeeb3ae1cd +post_build() { + make build # some python files are generated + ( cd mnemosyne/pyqt_ui && make default ) # FIXME why not already built? + # anyway, this is responsible for python3-pyqt6-devel-tools etc. +}