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

This commit is contained in:
2022-10-16 16:21:07 +02:00
committed by onkelbeh
parent 6c4369e981
commit 782e03e089
4 changed files with 7 additions and 41 deletions
+2 -2
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 1566 Ebuilds in total, 1559 of them have in total 1571 (34 different) licenses assigned.
There are 1565 Ebuilds in total, 1558 of them have in total 1570 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|926|
|MIT|925|
|Apache-2.0|310|
|GPL-3|95|
|BSD|89|
+1 -3
View File
@@ -1,5 +1,3 @@
DIST pyaftership-0.1.2.tar.gz 2279 BLAKE2B 06e3e21600197ee251529afb6ee7e48ae5fd91d702c48dc1daaa3cfc30d5998f92110501b4feb0a9b67782a35e01596ca4d43a0855a4cfbb4ade0de90fc3f897 SHA512 a15da8dba84e91202de74b7d2662c25602f55b580770ac7f07fd225d5129b8e8898c1207f42f6287dbd7d078ab2636f5ee825b22463805b840cb139f4fff7ad4
DIST pyaftership-21.11.0.tar.gz 4435 BLAKE2B c81ba4ffbe686e61c08ebf6f9f068de12a00d8a2d7c109c17550d96433802533261a0dbb7353245b05fe833414147bc9dde8a58db6614727e8379f0ced2cc45e SHA512 e09e96dcadf639edb5d572bc39e4f61e87a0f4606271331b7db124dbf44858cbf17ec69f1a904a8f5a1b6e8b316adbf3bb3efa0486afd9e102dbe0a7be3efeb6
EBUILD pyaftership-0.1.2.ebuild 809 BLAKE2B 5b347f7d04a38485953929567b6300b6bbc362ffb2ed4417c3a9a1c6214d9b6f7b97d7188a505d8b313eed7a09339bffd531d0400eeaccb93e89cc63cc526b33 SHA512 56d4155edaaf532bac9c17d8ca2280eed1cc5b595de5be4fd88561d47fc2fdfe4d2d8ebc21d281d02ae9e7f375abd7c71b48c84ed63e664aca3a7d466c7d5dc6
EBUILD pyaftership-21.11.0.ebuild 891 BLAKE2B 5c32b870729cd9c3a6272847bc89949f1d88061e2b89f6da348686aec708921f60945b8f30a65f54055b05c691e32ca25311e7abb6f3f954cc6c76cf4b67eb5e SHA512 50603551dd36aab72acb2072f93bbdf3c694c1c7f8d9611367d1ba2304b38d438b5f0b09d2ad4dac400a5acf52d41cf32b1b2c197dc8dd06e330fbde42617b70
EBUILD pyaftership-21.11.0.ebuild 898 BLAKE2B 7551199ac42550adeef451397239cbfd149a8d577d116705e14abc62e6b68d0e38d16724a7037e359948179dc4d939f58bf574a5f5b4f78d5360adb6f86377e7 SHA512 25e2eb39fe5ad46e12627cc73bea56f05b98602ad221b94e93de2329574e050551dde7353f7ec8dc1b75d0cc72799b7e473b3f38f4babc6141d440bb1eaec7e4
MISC metadata.xml 445 BLAKE2B ac4d0a73046d4f8bac706525f119c9f0175e4fafbd93da28fdd851ee1c1ec6623159820e7b810384e059eed7d3fd8dd245b6f6a2c87450dd382fcc1fcdcd466f SHA512 7c7533ada80dd277273cda1a5b3b838f8fdb5d0718798cf19b56bcc715d86c71b081a7f9fee5bf500bb0e720480684b9504b0b3560f9469f8768c75ca3f72e9a
@@ -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_{8..10} )
inherit distutils-r1
DESCRIPTION="A module to get information pending parcels."
HOMEPAGE="https://github.com/ludeeus/pyaftership https://pypi.org/project/pyaftership/"
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[${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
}
@@ -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 )"
@@ -34,3 +34,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest