summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2020-03-08 18:20:58 -0700
committerMatt Turner <mattst88@gentoo.org>2020-03-08 19:05:41 -0700
commitd6992d7e6258209cd17b3c1dc4cc77d5e89b8eae (patch)
tree67bfb1d0e03999f454dfeccf8cb2f654aa9796ff /dev-python/python-libevdev
parentsci-visualization/paraview: update dependencies (diff)
downloadgentoo-d6992d7e6258209cd17b3c1dc4cc77d5e89b8eae.tar.gz
gentoo-d6992d7e6258209cd17b3c1dc4cc77d5e89b8eae.tar.bz2
gentoo-d6992d7e6258209cd17b3c1dc4cc77d5e89b8eae.zip
dev-python/python-libevdev: Add package
Closes: https://bugs.gentoo.org/703804 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-python/python-libevdev')
-rw-r--r--dev-python/python-libevdev/Manifest1
-rw-r--r--dev-python/python-libevdev/metadata.xml8
-rw-r--r--dev-python/python-libevdev/python-libevdev-0.8.ebuild20
3 files changed, 29 insertions, 0 deletions
diff --git a/dev-python/python-libevdev/Manifest b/dev-python/python-libevdev/Manifest
new file mode 100644
index 000000000000..774520416af4
--- /dev/null
+++ b/dev-python/python-libevdev/Manifest
@@ -0,0 +1 @@
+DIST python-libevdev-0.8.tar.bz2 30375 BLAKE2B b59a705d49a54d5f98bca3bdf97038128df35294d4e62ffe058021c4da846e75a372660a4beef7e83dbf5b16a4d7d9195547f713bd290b14ca28ecd9291ac641 SHA512 c3c35e82b78f8968c930883a99def348a012a05ea122ac24e757441e81079f7c12bd50d96e8cec7b799a2d775d834859f924e8d1dc5841c718c050287fd1beb0
diff --git a/dev-python/python-libevdev/metadata.xml b/dev-python/python-libevdev/metadata.xml
new file mode 100644
index 000000000000..3e36bc06aa43
--- /dev/null
+++ b/dev-python/python-libevdev/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>x11@gentoo.org</email>
+ <name>X11</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-python/python-libevdev/python-libevdev-0.8.ebuild b/dev-python/python-libevdev/python-libevdev-0.8.ebuild
new file mode 100644
index 000000000000..1dc82be0de92
--- /dev/null
+++ b/dev-python/python-libevdev/python-libevdev-0.8.ebuild
@@ -0,0 +1,20 @@
+# Copyright 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 wrappers for the libevdev library"
+HOMEPAGE="https://gitlab.freedesktop.org/libevdev/python-libevdev"
+SRC_URI="https://gitlab.freedesktop.org/libevdev/${PN}/-/archive/${PV}/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE=""
+
+python_test() {
+ esetup.py test
+}