diff options
Diffstat (limited to 'dev-python/python-evdev')
-rw-r--r-- | dev-python/python-evdev/Manifest | 6 | ||||
-rw-r--r-- | dev-python/python-evdev/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/python-evdev/python-evdev-1.3.0.ebuild (renamed from dev-python/python-evdev/python-evdev-1.1.2-r1.ebuild) | 12 |
3 files changed, 20 insertions, 10 deletions
diff --git a/dev-python/python-evdev/Manifest b/dev-python/python-evdev/Manifest index 809e2aea5828..20cb1bb4fdbe 100644 --- a/dev-python/python-evdev/Manifest +++ b/dev-python/python-evdev/Manifest @@ -1,3 +1,3 @@ -DIST python-evdev-1.1.2.tar.gz 83067 BLAKE2B 6434d5c62e4a072928d555bfc92e94e7f63ef98ebbf9cd95795a92d6ccdf7b5d4b0f3133a4b3f2524083b842f78ccc305a5da13af59052be3724d83ea4039328 SHA512 054b2e5af532079dc52919d90791d12d7caf75cade07d18b94ea519869659413ea059570b16ebb236a715c541b17016db380bea4e3c1cd21f96824c6303b45d6 -EBUILD python-evdev-1.1.2-r1.ebuild 632 BLAKE2B 150d2cac7ccc3c594698507ad288ea248f19ec1430cd3972fcc90edd16cb626060fbe50dbc150ac2fbd7a841617a732efd55c6f1d2a74e7ac5a39114cae3bd5a SHA512 30c1e5d43ab38523d349b91807943e8e91fe3197beecb3809ad7162fe2ac2ee26f5775a1662d2c2bcc13f477bde226868ce2c78a5f00796a0cd30916296f787b -MISC metadata.xml 257 BLAKE2B 5c2ca1a3b14d55f8b7d0dd09b0811de8e397c4f748a58c4133f02e86e9084da2b2afabee2c7fb38f38d97d1a301c6de2dc6c4cf8ad4f91fe55c35b8580e6ff0f SHA512 2214f84571910c807983e21889732fb6b9619cd62bafc51a3743786f42b2c6248f1717ec5936685e767a70a052ec725a7a62c602b9c95fbb8e45838472146304 +DIST python-evdev-1.3.0.tar.gz 85018 BLAKE2B ba5c391631ecf8cc0a46f21830209c59b1217940ff25e051e027bc8896d71965a394f222f4e3d629ba2a2f8056ccbdc0dfaf43a37684d7157c7456d61f2d8314 SHA512 392fb4fabed344e6db4e257d4cfc7043393efda15d940be80b013e4c4e350334148a7b04aa0a7239f824ad2c7e0bb057c5cff1c0f320d30b25b0c9aab65a6891 +EBUILD python-evdev-1.3.0.ebuild 855 BLAKE2B 36ea3dcb162016f603e5cf9c2a3ed708f130483ceab8f90b286de8c80c18db77920dace6e19b5de38aefa35b0664f60fa55f30c5ed861039389462cb34bc0ecc SHA512 8887a9c8d3e9e7623afb2b53ecaedca2485f4742d0cd1f6fc8b654e113357a44835cd9b5f66be9941b83969480dab1e371b03a5f91b30a9be47039128fa6f343 +MISC metadata.xml 371 BLAKE2B 88be161b93c99718fbcb9c4dce6c7677c274e61959fdac8eaf7a300d815e630e6d602b5ae691a1fc7153ae9e1361497b87fecf8dbb5e58b079e1136026e005ea SHA512 f9e39269149db9965c94d9ae7bed4c1d74ca210fb33c8cf20ce8b025997727ce2d3ea223ea17b5033ed103452b6b0aa5cbefbc29d2d321ab711348c2dc4e7c7e diff --git a/dev-python/python-evdev/metadata.xml b/dev-python/python-evdev/metadata.xml index 1bdf43071500..52c3f63cafa2 100644 --- a/dev-python/python-evdev/metadata.xml +++ b/dev-python/python-evdev/metadata.xml @@ -1,8 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> - <upstream> - <remote-id type="github">gvalkov/python-evdev</remote-id> - </upstream> + <maintainer type="person"> + <email>gentoo@aisha.cc</email> + <name>Aisha Tammy</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> </pkgmetadata> diff --git a/dev-python/python-evdev/python-evdev-1.1.2-r1.ebuild b/dev-python/python-evdev/python-evdev-1.3.0.ebuild index c15afccd9b58..322655625445 100644 --- a/dev-python/python-evdev/python-evdev-1.1.2-r1.ebuild +++ b/dev-python/python-evdev/python-evdev-1.3.0.ebuild @@ -2,7 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) + +PYTHON_COMPAT=( python3_{6,7,8} ) inherit distutils-r1 @@ -13,12 +14,17 @@ SRC_URI="https://github.com/gvalkov/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm ~x86" -IUSE="" -DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +distutils_enable_tests pytest python_compile() { distutils-r1_python_compile build_ecodes \ --evdev-headers \ "${SYSROOT}"/usr/include/linux/input.h:"${SYSROOT}"/usr/include/linux/input-event-codes.h } + +python_test() { + pytest -vv tests/test_ecodes.py || die "ecodes test failed for ${EPYTHON}" + pytest -vv tests/test_events.py || die "events test failed for ${EPYTHON}" + pytest -vv tests/test_uinput.py || die "uinput test failed foe ${EPYTHON}" +} |