summaryrefslogtreecommitdiff
path: root/dev-python/hidapi/hidapi-0.12.0.2.ebuild
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-09-06 12:44:49 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-09-06 12:44:49 +0000
commit87c86c88d888f47594a8fc0060e8cdc373df1591 (patch)
tree73ef1c552acbaa18f0ba574e07e1a8b309622af0 /dev-python/hidapi/hidapi-0.12.0.2.ebuild
parent367e7ee0c9014014e1fc49c5a2ec53587304a659 (diff)
downloadbaldeagleos-repo-87c86c88d888f47594a8fc0060e8cdc373df1591.tar.gz
baldeagleos-repo-87c86c88d888f47594a8fc0060e8cdc373df1591.tar.xz
baldeagleos-repo-87c86c88d888f47594a8fc0060e8cdc373df1591.zip
Adding metadata
Diffstat (limited to 'dev-python/hidapi/hidapi-0.12.0.2.ebuild')
-rw-r--r--dev-python/hidapi/hidapi-0.12.0.2.ebuild20
1 files changed, 9 insertions, 11 deletions
diff --git a/dev-python/hidapi/hidapi-0.12.0.2.ebuild b/dev-python/hidapi/hidapi-0.12.0.2.ebuild
index 1ee8967ad433..88a956ad1369 100644
--- a/dev-python/hidapi/hidapi-0.12.0.2.ebuild
+++ b/dev-python/hidapi/hidapi-0.12.0.2.ebuild
@@ -1,30 +1,28 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-
PYTHON_COMPAT=( python3_{7,8,9,10} )
-inherit distutils-r1
-MY_PV=$(ver_rs 3 .post)
+inherit distutils-r1
-DESCRIPTION="A Cython interface to the hidapi"
+DESCRIPTION="A Cython interface to HIDAPI library"
HOMEPAGE="https://github.com/trezor/cython-hidapi"
+MY_PV=$(ver_rs 3 .post)
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
-S="${WORKDIR}/${PN}-${MY_PV}"
LICENSE="|| ( BSD GPL-3 )"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-DEPEND="
- dev-python/cython[${PYTHON_USEDEP}]
- dev-libs/hidapi
-"
+DEPEND=">=dev-libs/hidapi-$(ver_cut 1-3)"
RDEPEND="${DEPEND}"
+BDEPEND="dev-python/cython[${PYTHON_USEDEP}]"
distutils_enable_tests pytest
+S="${WORKDIR}/${PN}-${MY_PV}"
+
python_configure_all() {
DISTUTILS_ARGS=( --with-system-hidapi )
}