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

This commit is contained in:
2022-10-16 15:04:02 +02:00
committed by Andreas Billmeier
parent 44ee4a28e7
commit 5b8e51f09d
6 changed files with 14 additions and 47 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 1579 Ebuilds in total, 1572 of them have in total 1584 (34 different) licenses assigned.
There are 1578 Ebuilds in total, 1571 of them have in total 1583 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|936|
|MIT|935|
|Apache-2.0|311|
|GPL-3|95|
|BSD|90|

View File

@@ -1,3 +1,3 @@
DIST pdunehd-1.3.2.tar.gz 2121 BLAKE2B c2411096e70da242b8393e7bf0abbd8bba0f13fe9b4cea2bb9838f5f9a6d7902261bf432596067b30e0a94721b33b41a2d0d3b2d644786fe2f0cdb5e0a8ad766 SHA512 1a1a08565742f80d01dbb0b506c5d39add5a3106e6af6f5f851d9bedef2a5390ea0d5fb657a3ae112071689c4940d6f566480b668e4daec2b73ddb5253c14c7c
EBUILD pdunehd-1.3.2.ebuild 770 BLAKE2B 3376014d4c3dec18864c7af3c416c1836d5c884fec91a46e8f81bfcd38c4ca83bf5f718e195da894717e528cbeab5945f5e9d35f1bb07f4643d3b56e671e2ed9 SHA512 6a882be77cef88261ec5eb0b151379f92cf1c363e47e7851e01eccd9e732778d22caf3d26ca905ee9a7c438811ad0f430e79c007b45302d218b0699d31caf03d
EBUILD pdunehd-1.3.2.ebuild 775 BLAKE2B 056341257676b8a487f7636fbdf1869c0ccb9b3585bb7da6b1801945179f0b07614cedf909539f8dc725bec5b1e1d7ca048a9be2e83c6ed82b4596f97c00e774 SHA512 e7a1bf5002644040df5387cd98f8ce7718cb99f969492bf25972c4fe96fe91cc0cd66ffcbbd336555a8163f3164ea51a49a0cb1e7632bfe68cb16a6af149b43a
MISC metadata.xml 463 BLAKE2B 40cad51727b554d89801d79e6cf86a6d4c09709f8a1a7b371b3b27569bab76c8d35961bbb5a646cd9283ebc9fec3d3b9b47555ffef479ba5c5b0dcaa3e4f18a5 SHA512 f4a307cbe9d83c7cb1e0913607c8c6f005237126ab74f151ea770682dbc1fdddf27fa53a529c28938cc0bfe2c0d66dd7ae3e295f70b97f692e2eecce60bc395c

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="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
@@ -31,3 +31,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest

View File

@@ -1,5 +1,3 @@
DIST peco-0.0.25.tar.gz 4398 BLAKE2B 86e4b4f8b6f9802e27351bc64d07bd07ec8104e07e827259b780995da2d12b6a949560d909d61b11d1c4295ce54cb14823487940952ad78f7a797133a2ee763a SHA512 a979c24d36d454aae87e5231ce7fe4cdf1321b080c0c2675b81d1a43d5a8f6f33bb7d7d110ab33716de6d8be0400d56628feac074846a8f3610c5df92d0c6851
DIST peco-0.0.29.tar.gz 4862 BLAKE2B 454ca947d534d4e3aa292b04113d90e0116aa1ed14b302e235890b208b532808307e336f0445a55b50eed58d17156dc2adaf2927ceab20c1cbbb72752d59b29d SHA512 963590f334d36063d7319723cdab10e8cf0945c9e5917ee6fb344097afbb0957ace6ff0904df77f81c03d03fe7b4e1bc350ecf45d4407384ec373daf614c67ff
EBUILD peco-0.0.25-r1.ebuild 825 BLAKE2B ac1b7ca07a496b19ac0603f1b376c2fde7b9b9c4b13c9fb59905a8cc3ccccb83bf9f442b810c4afb050cc5a4fb0f0b80cb81c100af77a2815268ee842fe5805c SHA512 3cd6dcec6410c5928095c75d919bf486dc5239da739ab69b5019af128d2f1cd77ec1fc20adc6dd974f9b8f408ca4b1865731f4d5f3e7ec8ce8303a2919f084cb
EBUILD peco-0.0.29-r1.ebuild 827 BLAKE2B f7592e4124fbf7d891b239c4f43b69a6dad7c36b0df1351af832ef9d1a951208a4753265a452f009e6254002b9001dc5eeee670228e75f7a2fb01a7bd356caf5 SHA512 7c0a836747cfbdcc1aae67e32ff136806d7e74a2c0490fca3edfa4d566834092ac4a4fa27f085a924df732e65c7b4d96e4cd225027a589a0037a2cacef9ff0bc
EBUILD peco-0.0.29-r1.ebuild 834 BLAKE2B d6c5b9654358ee95afabb595f82f6687390b5f17f89a81898e48c5c28536cd0042a5329a4c350b33e84c50a729e586e661a05383d5a2d04d53f82d93d141d2e5 SHA512 c16774afba3614a2d20c615ef4716701c50df9b97e755af2063d4910a1af12f074ee9ea9e4a01d15437050e35bfda106dfa443b0e024c66090ee3c95062447fa
MISC metadata.xml 445 BLAKE2B 4a9245f82272d7b30ebb4de0a639dff63f288ac466b3db8b52b9fb387bb96c903dc5acf06775967fc8a571ed2a983013461ccacbff72b1232f34b7d49cd8eb15 SHA512 ea9b995cf8c6d66b0c0cc83fcc17eed576557e524ee131ec74d5ddab13fb6add41e6c157ff99db0259996733708de38ec40bc162eb49a9f0564a522a550878a5

View File

@@ -1,35 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="Wrapper for PECO Outage API"
HOMEPAGE="https://github.com/IceBotYT/peco-outage-api https://pypi.org/project/peco/"
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/aiohttp-3.8.1[${PYTHON_USEDEP}]
~dev-python/pydantic-1.9.0[${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} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
@@ -14,7 +14,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 )"
@@ -33,3 +33,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest