From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C874F1382C5 for ; Tue, 12 May 2020 13:58:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 159DAE09B0; Tue, 12 May 2020 13:58:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DE84CE09B0 for ; Tue, 12 May 2020 13:58:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AD52C35017A for ; Tue, 12 May 2020 13:58:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A8724256 for ; Tue, 12 May 2020 13:58:00 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1589291833.9291018632baa450f7bef0d31157c40f200e2ae1.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-evdev/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-evdev/Manifest dev-python/python-evdev/metadata.xml dev-python/python-evdev/python-evdev-1.3.0.ebuild X-VCS-Directories: dev-python/python-evdev/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 9291018632baa450f7bef0d31157c40f200e2ae1 X-VCS-Branch: master Date: Tue, 12 May 2020 13:58:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9fb6bb49-57e9-4aec-8b5d-01e293d0ad97 X-Archives-Hash: 8f948e8a773597463cd58da23af6ea43 commit: 9291018632baa450f7bef0d31157c40f200e2ae1 Author: Aisha Tammy aisha cc> AuthorDate: Sun May 3 11:37:45 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Tue May 12 13:57:13 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92910186 dev-python/python-evdev: bump version to 1.3.0 + new proxy-maint Also added support for python 3.8 with minimal testing on amd64 Closes: https://bugs.gentoo.org/720780 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Aisha Tammy aisha.cc> Signed-off-by: Joonas Niilola gentoo.org> dev-python/python-evdev/Manifest | 1 + dev-python/python-evdev/metadata.xml | 12 ++++++--- dev-python/python-evdev/python-evdev-1.3.0.ebuild | 30 +++++++++++++++++++++++ 3 files changed, 39 insertions(+), 4 deletions(-) diff --git a/dev-python/python-evdev/Manifest b/dev-python/python-evdev/Manifest index 0fc035a8789..d3c4e07a420 100644 --- a/dev-python/python-evdev/Manifest +++ b/dev-python/python-evdev/Manifest @@ -1 +1,2 @@ DIST python-evdev-1.1.2.tar.gz 83067 BLAKE2B 6434d5c62e4a072928d555bfc92e94e7f63ef98ebbf9cd95795a92d6ccdf7b5d4b0f3133a4b3f2524083b842f78ccc305a5da13af59052be3724d83ea4039328 SHA512 054b2e5af532079dc52919d90791d12d7caf75cade07d18b94ea519869659413ea059570b16ebb236a715c541b17016db380bea4e3c1cd21f96824c6303b45d6 +DIST python-evdev-1.3.0.tar.gz 85018 BLAKE2B ba5c391631ecf8cc0a46f21830209c59b1217940ff25e051e027bc8896d71965a394f222f4e3d629ba2a2f8056ccbdc0dfaf43a37684d7157c7456d61f2d8314 SHA512 392fb4fabed344e6db4e257d4cfc7043393efda15d940be80b013e4c4e350334148a7b04aa0a7239f824ad2c7e0bb057c5cff1c0f320d30b25b0c9aab65a6891 diff --git a/dev-python/python-evdev/metadata.xml b/dev-python/python-evdev/metadata.xml index 1bdf4307150..52c3f63cafa 100644 --- a/dev-python/python-evdev/metadata.xml +++ b/dev-python/python-evdev/metadata.xml @@ -1,8 +1,12 @@ - - - gvalkov/python-evdev - + + gentoo@aisha.cc + Aisha Tammy + + + proxy-maint@gentoo.org + Proxy Maintainers + diff --git a/dev-python/python-evdev/python-evdev-1.3.0.ebuild b/dev-python/python-evdev/python-evdev-1.3.0.ebuild new file mode 100644 index 00000000000..32265562544 --- /dev/null +++ b/dev-python/python-evdev/python-evdev-1.3.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Python library for evdev bindings" +HOMEPAGE="https://python-evdev.readthedocs.org/" +SRC_URI="https://github.com/gvalkov/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" + +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}" +}