From 84e1d8d140ddc776ac03281caee141032d3f1662 Mon Sep 17 00:00:00 2001 From: Eloi Torrents Date: Fri, 23 Sep 2022 10:11:19 +0200 Subject: [PATCH 1/7] New package: python3-gtts-2.2.2 --- srcpkgs/python3-gtts/template | 19 +++++++++++++++++++ 1 file changed, 19 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 000000000000..a363efda4691 --- /dev/null +++ b/srcpkgs/python3-gtts/template @@ -0,0 +1,19 @@ +# Template file for 'python3-gtts' +pkgname=python3-gtts +version=2.2.2 +revision=1 +wrksrc=gTTS-${version} +build_style=python3-module +hostmakedepends="python3-setuptools" +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=b53714d8377afb66df9f112158a6a832de26bc72cee3b8af321575d85f820a0f + +do_install() { + vlicense LICENSE +} From 4316562cf8e28002a2cb17921993d82d84099347 Mon Sep 17 00:00:00 2001 From: Eloi Torrents Date: Fri, 23 Sep 2022 10:54:55 +0200 Subject: [PATCH 2/7] New package: python3-sybil-5.0.2 --- 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 000000000000..6b468847d360 --- /dev/null +++ b/srcpkgs/python3-sybil/template @@ -0,0 +1,19 @@ +# Template file for 'python3-sybil' +pkgname=python3-sybil +version=5.0.2 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +checkdepends="python3-pytest python3-seedir python3-testfixtures" +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=2a2d6c3671a9c214b2d766f93338235ac7c7937d8639132db70c9d9b6ee4a412 + +do_install() { + vlicense docs/license.rst +} From f20c8b994ce070f7ae48378c7977a04d3136395e Mon Sep 17 00:00:00 2001 From: Eloi Torrents Date: Fri, 23 Sep 2022 11:00:14 +0200 Subject: [PATCH 3/7] New package: python3-testfixtures-7.1.0 --- srcpkgs/python3-testfixtures/template | 19 +++++++++++++++++++ 1 file changed, 19 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 000000000000..1468b1910ec2 --- /dev/null +++ b/srcpkgs/python3-testfixtures/template @@ -0,0 +1,19 @@ +# 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" +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 +make_check=no # Cyclic dependency sybil + +do_install() { + vlicense LICENSE.txt +} From 91c7e123fe9bfe0e09ecf04630d9102495559b17 Mon Sep 17 00:00:00 2001 From: Eloi Torrents Date: Fri, 26 May 2023 12:40:46 +0200 Subject: [PATCH 4/7] New package: python3-google-trans-new-1.1.9 --- .../python3-google-trans-new/files/LICENSE | 22 +++++++++++++++++++ srcpkgs/python3-google-trans-new/template | 18 +++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 srcpkgs/python3-google-trans-new/files/LICENSE create mode 100644 srcpkgs/python3-google-trans-new/template diff --git a/srcpkgs/python3-google-trans-new/files/LICENSE b/srcpkgs/python3-google-trans-new/files/LICENSE new file mode 100644 index 000000000000..2f9d336342b5 --- /dev/null +++ b/srcpkgs/python3-google-trans-new/files/LICENSE @@ -0,0 +1,22 @@ + +MIT License + +Copyright (c) 2020 lushan88a + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/srcpkgs/python3-google-trans-new/template b/srcpkgs/python3-google-trans-new/template new file mode 100644 index 000000000000..2f00eea91f7e --- /dev/null +++ b/srcpkgs/python3-google-trans-new/template @@ -0,0 +1,18 @@ +# Template file for 'python3-google-trans-new' +pkgname=python3-google-trans-new +version=1.1.9 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 python3-requests python3-urllib3" +checkdepends="python3-requests" +short_desc="Free and unlimited python API for google translate" +maintainer="Eloi Torrents " +license="MIT" +homepage="https://github.com/lushan88a/google_trans_new" +distfiles="${PYPI_SITE}/g/google_trans_new/google_trans_new-${version}.tar.gz" +checksum=9f6643420334cc1b94ebd84e03774736e76c0564208efb1bc9c5019b9820e19b + +post_install() { + vlicense ${FILESDIR}/LICENSE +} From 8b8ad6f0ee5bb2953fd4504a194733af7bbaf3ce Mon Sep 17 00:00:00 2001 From: Eloi Torrents Date: Thu, 22 Sep 2022 23:01:03 +0200 Subject: [PATCH 5/7] New package: mnemosyne-2.10.1 --- srcpkgs/mnemosyne/template | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 srcpkgs/mnemosyne/template diff --git a/srcpkgs/mnemosyne/template b/srcpkgs/mnemosyne/template new file mode 100644 index 000000000000..a058fdae53d7 --- /dev/null +++ b/srcpkgs/mnemosyne/template @@ -0,0 +1,16 @@ +# Template file for 'mnemosyne' +pkgname=mnemosyne +version=2.10.1 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools" +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" +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=3691124f07335314830c943178a0b6feaf719310ad1bee582fa78726f5329276 From fc84488beaf7eebf0c7f36f7df48b8590f9286fe Mon Sep 17 00:00:00 2001 From: Eloi Torrents Date: Fri, 26 May 2023 13:40:39 +0200 Subject: [PATCH 6/7] New package: python3-seedir-0.4.2 --- srcpkgs/python3-seedir/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python3-seedir/template diff --git a/srcpkgs/python3-seedir/template b/srcpkgs/python3-seedir/template new file mode 100644 index 000000000000..2f5037660b3a --- /dev/null +++ b/srcpkgs/python3-seedir/template @@ -0,0 +1,23 @@ +# Template file for 'python3-seedir' +pkgname=python3-seedir +version=0.4.2 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 python3-natsort" +checkdepends="python3-natsort" +short_desc="Package for creating, editing, and reading folder tree diagrams" +maintainer="Eloi Torrents " +license="MIT" +homepage="https://github.com/earnestt1234/seedir" +changelog="https://raw.githubusercontent.com/earnestt1234/seedir/master/CHANGELOG.md" +distfiles="https://github.com/earnestt1234/seedir/archive/refs/tags/v${version}.tar.gz" +checksum=e53419785b55cfb1207669275405a42c6e88e8438a87f8ce5b70b166f2aef4af + +do_check() { + python3 -m unittest tests/tests.py +} + +post_install() { + vlicense LICENSE +} From f1f45cdd997926b5887d435ec0213291f64519b2 Mon Sep 17 00:00:00 2001 From: Eloi Torrents Date: Fri, 26 May 2023 14:42:05 +0200 Subject: [PATCH 7/7] python3-gtts: update to 2.3.2. --- srcpkgs/python3-gtts/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/python3-gtts/template b/srcpkgs/python3-gtts/template index a363efda4691..17b4fd45d380 100644 --- a/srcpkgs/python3-gtts/template +++ b/srcpkgs/python3-gtts/template @@ -1,8 +1,7 @@ # Template file for 'python3-gtts' pkgname=python3-gtts -version=2.2.2 +version=2.3.2 revision=1 -wrksrc=gTTS-${version} build_style=python3-module hostmakedepends="python3-setuptools" depends="python3 python3-click" @@ -11,9 +10,10 @@ short_desc="Module and CLI text-to-speech tool using Google Translate API" maintainer="Eloi Torrents " license="MIT" homepage="https://github.com/pndurette/gTTS" +changelog="https://raw.githubusercontent.com/pndurette/gTTS/main/CHANGELOG.md" distfiles="${PYPI_SITE}/g/gTTS/gTTS-${version}.tar.gz" -checksum=b53714d8377afb66df9f112158a6a832de26bc72cee3b8af321575d85f820a0f +checksum=5314f7dedb4230889ff4773edd37e101408497e166982027b8d9582a4585eb4f -do_install() { +post_install() { vlicense LICENSE }