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

This commit is contained in:
2022-10-18 01:13:27 +02:00
committed by Andreas Billmeier
parent 8022df2041
commit bfc5dda8a6
4 changed files with 11 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 1459 Ebuilds in total, 1452 of them have in total 1462 (34 different) licenses assigned.
There are 1458 Ebuilds in total, 1451 of them have in total 1461 (34 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|848|
|MIT|847|
|Apache-2.0|297|
|GPL-3|91|
|BSD|87|

View File

@@ -1,5 +1,3 @@
DIST unifiled-0.11.tar.gz 2217 BLAKE2B bacece436e2fca39b26ff680986e75af4b532903bbf0732047817156752a29e360d0f5d4689e0f53d91bafc23352a37d6fb6b5006f77a8f7002ee576b221906f SHA512 edc3989060a0d5b0d7f7f1be343b5295e35eb48b0f5a83700bd0832edcd9098ed29ff2d9d36b305c61d4ba4e52ed63e9b0da8f720b0ded039edacdc06125083e
DIST unifiled-0.12.tar.gz 2282 BLAKE2B 5d6b961a0f716c14bb8db36158450f33d3b8b1d55e34a5d4547910423a5ec51ef8895ba7cbc1a80bcb4131877cde1547c2541c5da5d5e91ad04ae36c7b1f12fa SHA512 4a2c2d2bef022d7174682353e03fdf22f66ab9d16b5d455d94237f0c1e09c0a6979d0bf57a94f210c3aa7252f5552448abe06e76d214b42d103c0ebff2ea6fb9
EBUILD unifiled-0.11.ebuild 706 BLAKE2B 99ef3c3b50762a446b67c8dc25bde3d3231e83103c8c6239c1bae0d625029fd7fe5f86c99d1540564b0216a8fdcf18a74593d905be6108c92723459f05dc39d7 SHA512 6b39c7e6ad38c604a0a529bc0855d2ed6ea4717cfe5fa7d059fd27f4609a92611e660481d65063cbe62f61eff42dae2da9a86e30244dc0c0edb17a1b81990a82
EBUILD unifiled-0.12.ebuild 706 BLAKE2B 99ef3c3b50762a446b67c8dc25bde3d3231e83103c8c6239c1bae0d625029fd7fe5f86c99d1540564b0216a8fdcf18a74593d905be6108c92723459f05dc39d7 SHA512 6b39c7e6ad38c604a0a529bc0855d2ed6ea4717cfe5fa7d059fd27f4609a92611e660481d65063cbe62f61eff42dae2da9a86e30244dc0c0edb17a1b81990a82
EBUILD unifiled-0.11.ebuild 707 BLAKE2B 08ebf5181f4f0544d169cda838b61189abbf12c2ee74f2b8ad6fff0ff642a68cfd90e44d0b41052fb45854bc1072867fb84519d3b13a96d003f6557e3f33512e SHA512 0a40dcc6daa75d82358ef492789e37f5a899860c2cb6d9fab0a8b02af34adc5e67afc792e10a1aff9d5282eebbf1116cd08ec0cb8eaab4f6434dd5901d895796
MISC metadata.xml 460 BLAKE2B bf4f45139e35fd2557adc55439ff65c72e9951204fea4846df95c8a6e3a61f409f07aa22009d9f47c32bd4753abc4e60ac2c385de380c6600ceaac4e3a031e9f SHA512 2687d2cdc90540e7b98c4e7bcb83212deb7667f049872833deb124e81947cf8724ed7e58a4fc987038440e0dbb0b0c9dc5e7a1f28342e0eb0c658ed0e3ed2400

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..9} )
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
@@ -13,19 +13,20 @@ 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 )"
RDEPEND=""
#DOCS="README.md"
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]
dev-python/urllib3[${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

@@ -1,31 +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
DESCRIPTION="Easily connect to Ubiquiti Unifi led devices"
HOMEPAGE="https://github.com/florisvdk/unifiled https://pypi.org/project/unifiled/"
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 )"
RDEPEND=""
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
}