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

This commit is contained in:
Andreas Billmeier 2022-10-18 01:30:36 +02:00 committed by Andreas Billmeier
parent 08925c90c7
commit 0f7f126a4a
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 7 additions and 43 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 1454 Ebuilds in total, 1447 of them have in total 1457 (34 different) licenses assigned.
There are 1453 Ebuilds in total, 1446 of them have in total 1456 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|843|
|MIT|842|
|Apache-2.0|297|
|GPL-3|91|
|BSD|87|

View File

@ -1,5 +1,3 @@
DIST volkszaehler-0.2.1.tar.gz 5278 BLAKE2B 05f0859f3871a69cbfc0fa6b63c24e38d006d0bd4b01f4b01e9c87697104feaf37b538f2d7d933ae14077dc09e6a2f9c788f29c6851903e00785e4216a5303c6 SHA512 8bde3b5cf332cd1203c06f7d138a7711991622117668189f3dd72575278e2143e9ad2a7355fb438476cf1dd95856ea9d4388f003ee70bc84fee426ceebd2735b
DIST volkszaehler-0.3.2.tar.gz 5211 BLAKE2B ff26fd0f9270dd2aad612ce50531abea9056576e6aca0855610a605395abc3f3352bc6eb0b26a418badb3e1ee26f1ad30a878a20274b26a4ce56c2886d0a05d1 SHA512 a07c89494ceea17e254a02df911a49ab70ca8c9f5561310ac1a429e7211816dc347d6e61eda2b96df0a55648f8a64ed005fb13c262709c91ae45e40b3526e7c8
EBUILD volkszaehler-0.2.1.ebuild 832 BLAKE2B 9189041e188847507298137b0b3b5ccc1716479e18454ab3f6234920ca309641e5059769c53f1866bd3ecacb800c5f94930435ddce814a924f11c3116bd587f3 SHA512 6f62a6a5cd4a425415f542d7b7e017d49b7004cd596358dc560f87d1e16ce64f3be7fb5b6ce4e5299242bf984b6b5de3e2b8fc40b23ba0717317c9203b9c92d0
EBUILD volkszaehler-0.3.2.ebuild 836 BLAKE2B 86db5cffee96744e7b08d7432e03e42316b9ae0ad62bb09ce11946ff7143d95814b635c5842829486136d4b56f11b98925e2af393edc6e055557d20566314db6 SHA512 b96361e47d8f6da83806adb8567e2a31d48f51b879988dbed39956f8f0bc7b883b4fbd552900e38d1b35c861ad995aa79122b0b2b5210ef1effccc178f95597a
EBUILD volkszaehler-0.3.2.ebuild 779 BLAKE2B 3301ae80544a74f390025005a7749c3497260f69913f125f7e18cda7d5940f290252fbd1d2b02a33cff305e52ef08d405615a5f5fdb48e54b445e7efb847ab27 SHA512 ea2ad4e5c1bd21c6efffb2da98d6e86fbd9547ff3287f4b547ec0a407b512ded15bc59d5b38d64dd0458e6c2fdef6bdb26aa52707b5b0eea8701cb4a72e38c3f
MISC metadata.xml 470 BLAKE2B 4dd3e7ba1a352d9cbbec4056bf34c05c5eecc9d4f8673f3b6fde8ce1c212e081686cfcc33a9d9affbf5ff91df6e93272ba140daa38c375bc552c36461e605eae SHA512 fb32d7092d80a313be04ac544795a9287a625e4645b617c8f561fad51e1e6105b31411639745e0e86df9692ab11122a5e0b7d4ab5b2c7e3bebd872882835d7f2

View File

@ -1,34 +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="Python Wrapper for interacting with the Volkszahler API."
HOMEPAGE="https://github.com/fabaff/python-volkszaehler https://pypi.org/project/volkszaehler/"
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.rst"
RDEPEND=">=dev-python/aiohttp-3.7.4[${PYTHON_USEDEP}]
dev-python/async-timeout[${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 )"
@ -24,11 +24,11 @@ RDEPEND=">=dev-python/aiohttp-3.7.4[${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