summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-10-20 16:27:34 +0200
committerMichał Górny <mgorny@gentoo.org>2023-10-20 16:28:54 +0200
commitacb32bf80ce20334e9c1c46085715eabfe5e296d (patch)
treef00f50c749c5f8f2fd5f6c383f77357b40210e52 /dev-python/libevdev
parentdev-python/python-libevdev: Prepare for rename (diff)
downloadgentoo-acb32bf80ce20334e9c1c46085715eabfe5e296d.tar.gz
gentoo-acb32bf80ce20334e9c1c46085715eabfe5e296d.tar.bz2
gentoo-acb32bf80ce20334e9c1c46085715eabfe5e296d.zip
Rename dev-python/{python-libevdev → libevdev}
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/libevdev')
-rw-r--r--dev-python/libevdev/Manifest1
-rw-r--r--dev-python/libevdev/libevdev-0.11.ebuild37
-rw-r--r--dev-python/libevdev/metadata.xml17
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/libevdev/Manifest b/dev-python/libevdev/Manifest
new file mode 100644
index 000000000000..3bb0da2c4734
--- /dev/null
+++ b/dev-python/libevdev/Manifest
@@ -0,0 +1 @@
+DIST python-libevdev-0.11.tar.bz2 32406 BLAKE2B 0291a9008590a2900961d9e790c2946b67bc045a5b0df43f9f40d9c8838b332e1a839c21411ee88eddc92e9c59a038bc7ce8dd365bab71075fdd0a8c629c3a34 SHA512 6fb6181fc97cb1a7a087d298a933891cf05d0160d033c6d6300bcb6a904064b727a15e8e75665ee2933d0e8a0aeab2638f01bbd8d9f803f508157fd0e5ca41fc
diff --git a/dev-python/libevdev/libevdev-0.11.ebuild b/dev-python/libevdev/libevdev-0.11.ebuild
new file mode 100644
index 000000000000..7417614b81cc
--- /dev/null
+++ b/dev-python/libevdev/libevdev-0.11.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit distutils-r1
+
+MY_P=python-libevdev-${PV}
+DESCRIPTION="Python wrappers for the libevdev library"
+HOMEPAGE="
+ https://gitlab.freedesktop.org/libevdev/python-libevdev/
+ https://pypi.org/project/libevdev/
+"
+SRC_URI="
+ https://gitlab.freedesktop.org/libevdev/python-libevdev/-/archive/${PV}/${MY_P}.tar.bz2
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
+
+BDEPEND="
+ test? (
+ dev-libs/libevdev
+ )
+"
+RDEPEND="
+ dev-libs/libevdev
+"
+
+distutils_enable_tests unittest
+distutils_enable_sphinx doc/source \
+ dev-python/sphinx-rtd-theme
diff --git a/dev-python/libevdev/metadata.xml b/dev-python/libevdev/metadata.xml
new file mode 100644
index 000000000000..d243c4c9307f
--- /dev/null
+++ b/dev-python/libevdev/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>x11@gentoo.org</email>
+ <name>X11</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="freedesktop-gitlab">libevdev/python-libevdev</remote-id>
+ <remote-id type="pypi">libevdev</remote-id>
+ </upstream>
+</pkgmetadata>