diff --git a/dev-python/python-evdev/Manifest b/dev-python/python-evdev/Manifest new file mode 100644 index 0000000..1c0e651 --- /dev/null +++ b/dev-python/python-evdev/Manifest @@ -0,0 +1,3 @@ +DIST python-evdev-1.3.0.tar.gz 85018 BLAKE2B ba5c391631ecf8cc0a46f21830209c59b1217940ff25e051e027bc8896d71965a394f222f4e3d629ba2a2f8056ccbdc0dfaf43a37684d7157c7456d61f2d8314 SHA512 392fb4fabed344e6db4e257d4cfc7043393efda15d940be80b013e4c4e350334148a7b04aa0a7239f824ad2c7e0bb057c5cff1c0f320d30b25b0c9aab65a6891 +EBUILD python-evdev-1.3.0.ebuild 632 BLAKE2B 150d2cac7ccc3c594698507ad288ea248f19ec1430cd3972fcc90edd16cb626060fbe50dbc150ac2fbd7a841617a732efd55c6f1d2a74e7ac5a39114cae3bd5a SHA512 30c1e5d43ab38523d349b91807943e8e91fe3197beecb3809ad7162fe2ac2ee26f5775a1662d2c2bcc13f477bde226868ce2c78a5f00796a0cd30916296f787b +MISC metadata.xml 257 BLAKE2B 5c2ca1a3b14d55f8b7d0dd09b0811de8e397c4f748a58c4133f02e86e9084da2b2afabee2c7fb38f38d97d1a301c6de2dc6c4cf8ad4f91fe55c35b8580e6ff0f SHA512 2214f84571910c807983e21889732fb6b9619cd62bafc51a3743786f42b2c6248f1717ec5936685e767a70a052ec725a7a62c602b9c95fbb8e45838472146304 diff --git a/dev-python/python-evdev/metadata.xml b/dev-python/python-evdev/metadata.xml new file mode 100644 index 0000000..1bdf430 --- /dev/null +++ b/dev-python/python-evdev/metadata.xml @@ -0,0 +1,8 @@ + + + + + + gvalkov/python-evdev + + 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 0000000..c15afcc --- /dev/null +++ b/dev-python/python-evdev/python-evdev-1.3.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7} ) + +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" +IUSE="" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +python_compile() { + distutils-r1_python_compile build_ecodes \ + --evdev-headers \ + "${SYSROOT}"/usr/include/linux/input.h:"${SYSROOT}"/usr/include/linux/input-event-codes.h +}