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

This commit is contained in:
Andreas Billmeier 2022-10-17 23:05:55 +02:00 committed by Andreas Billmeier
parent 0bbd3c4f7e
commit 4a968f9ea2
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 7 additions and 42 deletions

View File

@ -547,11 +547,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 1496 Ebuilds in total, 1489 of them have in total 1500 (34 different) licenses assigned.
There are 1495 Ebuilds in total, 1488 of them have in total 1499 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|876|
|MIT|875|
|Apache-2.0|304|
|GPL-3|91|
|BSD|89|

View File

@ -1,5 +1,3 @@
DIST rova-0.2.1.tar.gz 3166 BLAKE2B 9ae93bc1d00c02b1b86e49ce9082eabd20eb97bc40b5fb02f3f179827fe63615d1bc4bc7818ca916a447f803efa2169aeced7ad8bfa15ecce476ee0ce4972c68 SHA512 52a3063ff1928a8de5a7e9edce8b168e7e1aa40ef73e47f0fb62c7e13bd38e312c78beb0384f86aba1fa029d2dbcc0d37479eb2addfd86758260f07739c47347
DIST rova-0.3.0.tar.gz 2509 BLAKE2B e15623f684857bce21828f0a881dc5b5f2ab723318ad5a96995f8a44a98c6ce8806a57b3d2fc8bb3ded61ee56a145f0404b49d0e8635876c2a572f6b3565c925 SHA512 42b050a40193fcf8f968c059981b04863a1599b076598ea3fa577d346f2d63796c7a1f129a6743f3815abfe77ec9b40877304880f0499c4a4111d3348a29ad29
EBUILD rova-0.2.1.ebuild 736 BLAKE2B 2ec3d107a6b3148df780299702be8cea044a2c02c76b98729262098c165e184f570c62a8fa4f0d111e6b5a0ea38aeef78c708c703b565c2df7224143c28d8fea SHA512 7380c13f3ba7bebcc4cc6050f2a732b5679bf5451eb5f1dd762bab655c6e399ff57861cbd3b80f393cd52d722d191869fa2045800ba8e9fdac008b68bdeb52d5
EBUILD rova-0.3.0.ebuild 736 BLAKE2B bf1886cc3d8633089d4fa6cf6efdf4fd99522e6f9af3698ccbc2b6c889052268d994e021fb09580c3de81f0a65bff83668b6cbb8b7f96bf9d6faa783a5cc09ee SHA512 2521c41ff9b8ab4103abe0d80d7265500bc7550bf1b8bbc563f79df21532797e96501c0a9902de6ccbbd4f2a5734c40c2597b7fb6672fba16151466c51475a00
EBUILD rova-0.3.0.ebuild 679 BLAKE2B 22954819bfc53d36a36ef8668bbe03d3288c741cad2bca1833d7aecec867fb5a287645cbdca8a767225664fcc2993342f03e6aa94d12e5281f63b09557b2957b SHA512 28271c83971b3c1ee9282fb6c5a7ced0d4d70b47d0c844f618bed2a82ae2f75ea558f4cf1d73ce16d73c8b3a9f774d92e1864989be948862c7426cf8f9a6e6f4
MISC metadata.xml 446 BLAKE2B 3683b1e8a5f2304ad0e587095ef870499c87f8637298657f91e67e0e1760c15095726ee12a524823974bc29279910392d48c962e90efb97969e0df7b8841bcdd SHA512 a59335d13d609722c029e167f6078e2793cd5d8e1ebc1ba84663df96fc1ad796541bbcd52187ca6888e66ee3039df640a0d4b19ca1700e3aa12995a0cd3b21ed

View File

@ -1,33 +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="API wrapper for ROVA calendar"
HOMEPAGE="https://github.com/GidoHakvoort/rova https://pypi.org/project/rova/"
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/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="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 )"
@ -23,11 +23,11 @@ RDEPEND="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
}
distutils_enable_tests pytest