dev-python/gTTS: remove olds, cleanup, enable pytest

This commit is contained in:
Andreas Billmeier 2022-10-16 09:21:03 +02:00 committed by Andreas Billmeier
parent effd056307
commit eecbe72086
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 7 additions and 42 deletions

View File

@ -538,11 +538,11 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 1629 Ebuilds in total, 1622 of them have in total 1634 (35 different) licenses assigned.
There are 1628 Ebuilds in total, 1621 of them have in total 1633 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|967|
|MIT|966|
|Apache-2.0|317|
|GPL-3|98|
|BSD|94|

View File

@ -1,5 +1,3 @@
DIST gTTS-2.2.3.tar.gz 28205 BLAKE2B 686ecb500f27335c26e392be0310c2dc384a0f7f611081d737e542101222b2d45f8efcedff93dc506092a9cef5efd51b54074943cb27f4060bad0585a4438128 SHA512 13f17c572bd9691cb15c8cb157f2f3b80e50dc11f596a268eccd59ba083dda3552b97238ed6206a08d1437316b7674ac16a0a8aa66e8a65c7dd62388ce716c77
DIST gTTS-2.2.4.tar.gz 37695 BLAKE2B 55ed8568b55b60fd00ee0470d3fce64b3172650d394d00ea97dcd8a4cff5ab56a5fcd1b08982a2751813480bbb9edf5fff7fc4c732469d86cbfd6b6d6f7589b8 SHA512 330005669f7f7aa13744bd45af9a6ccb297d0551336e8e3a2cdfa9dc5009fbcdd00468f79bcc9dd1d2e950b4a034424b635a0f5f1fe3195f3eca2b981124f406
EBUILD gTTS-2.2.3.ebuild 887 BLAKE2B 15ea85b1e789550ef23130f272c0fe923395bd5d41f10bafca00a4f16eaba7492c6252f9711cb1a7f523791ae5c2921cd9e491c8262da6ea1d9baa9e00208cc9 SHA512 799ef3a154276ac7b5e698a05e5512631af241a637a063f417dd154d4cbb759c95cae240106f7871cd2bf0c78e787444d70cab83b9a516e35c01b70dd4eb269d
EBUILD gTTS-2.2.4.ebuild 970 BLAKE2B 7aabef49a17f57edf7ebb2ecda1f869fbb7795ef693373622d6e4b74e37037a4ae6d29a90a5450b05ac7124686888b1d207abe161bc873d66902a969cc00deb4 SHA512 3056560bd45a8067fbcf3162f5f22428a9c71b80c07afc341f8dc9e4e6185e56d8d313f206ab80f81dc5b00b47c7097ea7a30200a4a73e82895b9309c52298c5
EBUILD gTTS-2.2.4.ebuild 977 BLAKE2B b2adb0fdc47f4315eb25d657d4b8a52afd9ba7ff7db19ce0bd078de60c428d35c866cb8751247785ff0d7ab83be164ff43d5371e9320a74488ab35f9db03c05f SHA512 0d1cde20d73329a2f5a40bdb847cab1b2b021aa388fe17f43c8653c4edeeeb7b820d59c8a261e780f246d61fda63620e88fde1ed76acd14baddad3c9b4a3e7fb
MISC metadata.xml 458 BLAKE2B 0b732463ef27ec8bd46dc42d31ade048be0c85e198af1c4a2a0329f3693459605a85b47bc50527c5cf46dfb382c1deee6d7bd051c6066ff9503ab388c63c153c SHA512 13b4eccfc6253789ab64ae8a64eda97da4aeb7c87e2167862dedc54b3c42849af84fbf906126c1bf7ebe54d9ab1146a7eb81a59aa1e7a6a366fae59ba2c45f2d

View File

@ -1,35 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="gTTS (Google Text-to-Speech), a Python library and CLI tool to interface with Google Translate text-to-speech API"
HOMEPAGE="https://github.com/pndurette/gTTS https://pypi.org/project/gTTS/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]
dev-python/click[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}

View File

@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
@ -13,7 +13,7 @@ SRC_URI="https://github.com/pndurette/${PN}/archive/refs/tags/v${PV}.tar.gz -> $
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
@ -34,3 +34,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest