From ebd342dbf14b772f62ac9d1145627611810c27d0 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.3.2 --- srcpkgs/python3-gtts/template | 25 +++++++++++++++++++++++++ srcpkgs/python3-sybil/template | 20 ++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 srcpkgs/python3-gtts/template create mode 100644 srcpkgs/python3-sybil/template diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template new file mode 100644 index 0000000000000..a959073cdeef4 --- /dev/null +++ b/srcpkgs/python3-gtts/template @@ -0,0 +1,25 @@ +# Template file for 'python3-gtts' +pkgname=python3-gtts +version=2.3.2 +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=5314f7dedb4230889ff4773edd37e101408497e166982027b8d9582a4585eb4f + +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 +} diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template new file mode 100644 index 0000000000000..832a5d303b4bc --- /dev/null +++ b/srcpkgs/python3-sybil/template @@ -0,0 +1,20 @@ +# Template file for 'python3-sybil' +pkgname=python3-sybil +version=5.0.3 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +checkdepends="tox python3-seedir python3-testfixtures python3-natsort" +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="https://github.com/simplistix/sybil/archive/refs/tags/${version}.tar.gz" +checksum=21afffff5606e47d363926293bd49493f7b87dd511c049b6e678cfb33ae63826 +make_check=no #cyclic dependency python3-testfixtures -> python3-sybil -> python3-testfixtures + +post_install() { + vlicense docs/license.rst +} From 88cbdf5b9055c30831d94c1e10337fb5ad3b3785 Mon Sep 17 00:00:00 2001 From: Eloi Torrents Date: Thu, 7 Sep 2023 18:07:55 +0200 Subject: [PATCH 2/4] python3-sybil: update to 5.0.3. --- srcpkgs/python3-sybil/template | 1 - 1 file changed, 1 deletion(-) diff --git a/srcpkgs/python3-sybil/template b/srcpkgs/python3-sybil/template index 832a5d303b4bc..04536e0c095c4 100644 --- a/srcpkgs/python3-sybil/template +++ b/srcpkgs/python3-sybil/template @@ -5,7 +5,6 @@ revision=1 build_style=python3-module hostmakedepends="python3-setuptools" depends="python3" -checkdepends="tox python3-seedir python3-testfixtures python3-natsort" short_desc="Automated testing for the examples in your documentation" maintainer="Eloi Torrents " license="MIT" From 4d3fc17d111aa32a4c60cf5c02103a6196eaf7e9 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.1.0 --- srcpkgs/python3-testfixtures/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 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..53fdfd015e607 --- /dev/null +++ b/srcpkgs/python3-testfixtures/template @@ -0,0 +1,24 @@ +# Template file for 'python3-testfixtures' +pkgname=python3-testfixtures +version=7.1.0 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +checkdepends="python3-pytest python3-sybil python3-zope.component python3-Twisted python3-Django" +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=456ce4f393160f27cd6840a5370ecf4a70f1721737f5e67a2af79e6c817804a4 +export PYTHONDONTWRITEBYTECODE=1 # NOPE + +do_check() { + cd testfixtures + pytest -v --ignore="tests/test_django" # Fails to import +} + +post_install() { + vlicense LICENSE.txt +} From f3c05bd8242693d6edddb794a58479532f914c54 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.10.1 --- srcpkgs/mnemosyne/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/mnemosyne/template diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template new file mode 100644 index 0000000000000..1421652019d32 --- /dev/null +++ b/srcpkgs/mnemosyne/template @@ -0,0 +1,21 @@ +# Template file for 'mnemosyne' +pkgname=mnemosyne +version=2.10.1 +revision=1 +build_style=gnu-makefile +make_build_args=build-all-deps +make_install_target=install-system +hostmakedepends="python3-setuptools python3-pyqt6-devel python3-pyqt6-devel-tools python3-Sphinx" +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 python3-pyqt6-network python3-pyqt6-gui python3-pyqt6-widgets + python3-pyqt6-printsupport python3-pyqt6-webchannel python3-pyqt6-multimedia python3-pyqt6-sql + qt6-plugin-sqlite python3-argon2" +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/" +changelog="https://mnemosyne-proj.org/whats-new" +distfiles="https://github.com/mnemosyne-proj/mnemosyne/archive/${version}.tar.gz" +checksum=3691124f07335314830c943178a0b6feaf719310ad1bee582fa78726f5329276