dev-python/georss-generic-client: remove olds, cleanup, enable pytest

This commit is contained in:
Andreas Billmeier 2022-10-16 08:40:49 +02:00 committed by Andreas Billmeier
parent 4671cd56f5
commit 9857dbb193
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 9 additions and 45 deletions

View File

@ -538,12 +538,12 @@ 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 1634 Ebuilds in total, 1627 of them have in total 1639 (35 different) licenses assigned.
There are 1633 Ebuilds in total, 1626 of them have in total 1638 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|969|
|Apache-2.0|320|
|Apache-2.0|319|
|GPL-3|98|
|BSD|94|
|LGPL-3|26|

View File

@ -1,5 +1,3 @@
DIST georss-generic-client-0.4.tar.gz 3283 BLAKE2B 5477b4c3bff1caa8041bfc4f3141b5793cfc6ae0a714a1a79f6fb1a6df2a2993031a208108e567c316c97def045323e85ed6eefe93561d47a4a699d055241836 SHA512 691f211c42f921b9bb0b1c03e933de12d1bdd81d15f2ac3f2766847bc713dfe53f64b45607bb7db3a9c74bf316210af66b5a44e2ff620eca4aa00d1018da9281
DIST georss-generic-client-0.6.tar.gz 3783 BLAKE2B f1f417ce3c74cab8959c53e549295b623c77ece0733f32f62ee56fd366b81c00e04a60c0add9834e114a3d384da963fafcb50822579b9ca4db3f632a2b84eb0b SHA512 b32d919940fd6a2df98abdb7f4efb84935443b06b476bb53c5ec3a47a3971f80f5eae7573f3e8c1db1625caeaee25360766d5ced6e4cd60d59cca07118609281
EBUILD georss-generic-client-0.4.ebuild 874 BLAKE2B 711fc723909d5f6b61739c5646d7c902eb94c08588b4ec9cfe0f70981e4ca4a82a8dca3a0bdc6fd4c1a5fcafeb96d46578c9f478284db023975216619438177b SHA512 bea7dacceba8a26a3b69a30ffa262200f5001f5c8186fe3436b94d017c3615836583b553546dc75088993aae914b3045055a7108bc9a1086f0b83d685f70cff5
EBUILD georss-generic-client-0.6.ebuild 871 BLAKE2B efbb2ceaa68b49ffd62dfccd5d2e0b50e672239ca667417ed2019a8a01d9683425f5649ad7d9df337b48900571b3030161f5297d79c44cfa669e7bcd0851b7ad SHA512 3063060fc36db7a8bdb278d4da21dd93218b4e19ccae722ebd1d1355dd874c8476822730942d7c2bf4240076de88e67efd7e8ce0d65bbc523ca92880161a1323
EBUILD georss-generic-client-0.6.ebuild 875 BLAKE2B f8712464db8468d82f4700787ac15a9c91501b209d91213b436d5b1d8abc20b8b090b5c7c5d4bd73ecd8b1dd30e16a1897d7600cd41637ecb8c228c648446071 SHA512 666b9e4ae5f52e8ae391620720e42c224759fabfd6b9c0b6d1eca292c68cb4f7853edf1634884f5348255927fc63b3a5dcd2d073f6adc67b7cf88a2d23f36df2
MISC metadata.xml 465 BLAKE2B 410ec05fd10b1bf9091b7e858d65750e2fa73cdb82419233805ca0706eedb8aeca3b3800860f1840ddff71fd087a69978891f9e575a1e094d2c2f7c3c42c3172 SHA512 81ee64b2141fc997d20bc1ba176aabbf44a5d1f5a3244dd2fb3bd14d8c5fe2f1c8ffce83ee5b7afd6be9a93753e48b6b7b10505a11573d5d2ffd4f4641fade74

View File

@ -1,36 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
MY_PN=${PN//-/_}
DESCRIPTION="A GeoRSS generic client library."
HOMEPAGE="https://github.com/exxamalte/python-georss-generic-client https://pypi.org/project/georss-generic-client/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS="README.md"
RDEPEND=">=dev-python/georss-client-0.10[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
S="${WORKDIR}/${MY_PN}-${PV}"
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
@ -15,7 +15,7 @@ S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86 amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
@ -33,3 +33,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest