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

This commit is contained in:
Andreas Billmeier 2022-10-15 18:18:27 +02:00 committed by Andreas Billmeier
parent 4a37fe93b4
commit f2adc316e5
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 9 additions and 43 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 1691 Ebuilds in total, 1684 of them have in total 1696 (35 different) licenses assigned.
There are 1690 Ebuilds in total, 1683 of them have in total 1695 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1014|
|MIT|1013|
|Apache-2.0|326|
|GPL-3|100|
|BSD|96|

View File

@ -1,5 +1,3 @@
DIST adext-0.4.1.tar.gz 8071 BLAKE2B a82b2d5e8cd7647ec560279172f0fc5a8c330867f2e753c9d612ae5bb167bcee2b81b1ccb208198e6108b26ddf390b03e584bfa8c9014598e9445e0e358d04c4 SHA512 4599e552ff03a9e241590eaba0cdb043e7baf956e705d643b6b22fc51b2a3ba0907f769141125a4207742caa6a664863ab838492e7b67b9612d2c1eb0f01e6ef
DIST adext-0.4.2.tar.gz 7910 BLAKE2B e3919858d13d3ffc271c3aaba21f5b9f7a6aff6f4e44688dd58b89c8ca5b80302a1f15911bd47210db53b4a965d31fe7e98580c7d4bd548c60d0b1873295e54d SHA512 ff05c0801fbc5364646ff4028eadf30fb995cd400c4991a3a04d8cd0b82d7fd9faaad6f32b20f6aff980e3ab972ace4a73f9adfd73fc012725378dd41914cdba
EBUILD adext-0.4.1.ebuild 782 BLAKE2B 1e271157711d96c1306ad66755d2defe7dfae54f24972b75c1093e1120e7c05fc680f6470c5a3b51bac8918b6a63326ce6b5cd36ebc20afdf0d7d9e629ff5a0c SHA512 058c4fe885f723704fa551646d7436b1437dba36076e45a6dd0e99962bfabdfda9c50390fd961df5ab60fef9d95ebdcbd4d4e1a0a2b6ac0d3ff9ab4ecac6570d
EBUILD adext-0.4.2.ebuild 779 BLAKE2B 119171deb88fbaf9ab2b94011df1dfdee5407402057e815a1791a3dbd0a58d5cabd045e5a533a4599c59fabfa5c0b5c3dafa7b0683fac721c286cea78cc42073 SHA512 0f013d42d6b43391fc9979c7642bedee1520c1449b5dd9492e6039651f3cfd312a60313d4995f562bda49a71441260519b8677b64e16655542f5bcdc29a328e4
EBUILD adext-0.4.2.ebuild 784 BLAKE2B 76accd31f986ec4ad7db1f2a691a565a2c4f2d17e39f2f2ba5bf760b73eb85201784d97903fe300d8537e2bcc66550ed3b2986484634c64bae0ab3f4eb469e08 SHA512 859ffae0e0060ceda77604d27b078b58472d63bb7137b6aa0180e3320a6cb3ed030984dbec3576e31e147de269090a1f62953ac717917e315decd1023ba598fc
MISC metadata.xml 324 BLAKE2B 03e493bf81117884b4109f295ca59938d77c93aa696101aefae5052ca2ae16aa3e47a562e501d4e694307432e13a16dc6f28ff356d351d9f528183f3e48a7cf6 SHA512 243322c726ff50ad6c68f7a8d572151f60cea47962a61694a4cc7ce3149fc426a5a33f5242b7325f7beb76a70b9cc52f05c0cc9a576cf515c0020c3043b0150d

View File

@ -1,34 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
DESCRIPTION="AlarmDecoder extended"
HOMEPAGE="https://github.com/ajschmidt8/adext https://pypi.org/project/adext/"
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=""
RDEPEND="~dev-python/alarmdecoder-1.13.10[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/setuptools_scm[${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

@ -1,9 +1,9 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.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 )"
@ -32,3 +32,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest