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

This commit is contained in:
Andreas Billmeier 2022-10-16 08:09:41 +02:00 committed by Andreas Billmeier
parent 69468d6d85
commit 3752faaf74
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 9 additions and 40 deletions

View File

@ -538,7 +538,7 @@ 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 1641 Ebuilds in total, 1634 of them have in total 1646 (35 different) licenses assigned.
There are 1640 Ebuilds in total, 1633 of them have in total 1645 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
@ -560,11 +560,11 @@ There are 1641 Ebuilds in total, 1634 of them have in total 1646 (35 different)
|MPL-2.0|3|
|LGPL-2+|3|
|PSF-2|3|
|BSD-4|3|
|GPL-2+|3|
|AGPL-3+|2|
|ZPL|2|
|ISC|2|
|BSD-4|2|
|CC-BY-NC-SA-3.0|2|
|EPL-2.0|2|
|ECL-2.0|1|

View File

@ -1,5 +1,3 @@
DIST evdev-1.1.2.tar.gz 23308 BLAKE2B 3d1fb49f1801566ca32da512c5309d87b3ae0c8e9928874166d9c8ab8a2c1641a10729908b4a257a9a9c07d8e6808ec6776416084422cff119aa505afb0f25a9 SHA512 34d4b43d6b7eec230a9dddb9c5c5ef46b5964d65a1098c97e3d406c3d4418dcf8975131746dce9a819ff75f96c94d02ce2c141ecec4ed5e19f92e31900d8e8e5
DIST evdev-1.4.0.tar.gz 26341 BLAKE2B ff4fe4650fc97b28637855dc835313ea7f85e9ae08b86f22ae79d821afc94748c528af39d3757f715e235a3f3f73724040907764d7eae7cae22f5e0f1fdaa4b4 SHA512 3ddcdfb5705d65ed32eddce5f101f9e4162a88678f08f6dedb41c6dbed1fe81531a6645d17b79754f17bbb9ddf4a4f97729336a52aca263d2c0c9918e33ddcf1
EBUILD evdev-1.1.2.ebuild 709 BLAKE2B d76479db534c503d2e6aebeaa124ca97ae295e8106fd2a75143ff7c5689fe78a0f025e6a44d5b4c8a4baa5229ff7357aa136251ffa001efd091fd7945144df7a SHA512 73373f3e2ee75a101f2a516c3587dd95a330ee5e788b73ce8dcb0035aa3dfcb1edcaac6ab497e9e09f6edee4928866c5cbcb6255ae74abce72031d0ad93fb2ac
EBUILD evdev-1.4.0.ebuild 728 BLAKE2B b00738c6fb3140d898407a3e803f62753cd031218b90007a1f9d9c2133f487f7a9a3cdea902f9df493346ab32b3181a42b44ed60e574437b021af4ee0c975dee SHA512 935494562593fac6d8ba73bf874b6ff1f2043f13c4b7ad8c40a04cc6044f43f0d2b1a028cb72cbc389e4b38c3c436b245ace4e43a08232bfdd3c2a2b2de9e618
EBUILD evdev-1.4.0.ebuild 729 BLAKE2B 1a9c6445adf998b606de4cfb139d7613784afc1af7710fbc34bc58bf1af2ecab9508ba05ffc796b190d4514459e0e719772c359847ebe27dbb9e2672f12bc314 SHA512 decfca0d7f72940e59d17ef7b77f25ef88c847a7b3ca32541cfea6611e6f346629ef026add442b9b1ab927ef89211749f6f3b83b736a075ca250dce6205a73f4
MISC metadata.xml 456 BLAKE2B 13a5b5439173591246a855ae9bb242ec9385d8a18935567754da74c505a278f0759240a5e914a72408c24298d222a17355b423762aea54974e42fd9f129d37a0 SHA512 32299589433dec712120efad43dfa6668ea80552ee05559ff461a87336d5091a522088e8f8f543991979e89a2ef80afea0ab1727fe531816592c4ac0f4c6a274

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="Bindings to the Linux input handling subsystem"
HOMEPAGE="https://github.com/gvalkov/python-evdev https://pypi.org/project/evdev/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD-4"
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
}

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
DESCRIPTION="Bindings to the Linux input handling subsystem"
@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD-4"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 arm arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
@ -30,3 +30,5 @@ python_test() {
nosetests --verbose || die
py.test -v -v || die
}
distutils_enable_tests pytest