Skip to content

Commit

Permalink
user/python-hid: new package
Browse files Browse the repository at this point in the history
  • Loading branch information
juliekoubova committed Jan 18, 2025
1 parent 5c0ce5f commit 18230e0
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions user/python-hid/template.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
pkgname = "python-hid"
pkgver = "1.0.6"
pkgrel = 0
build_style = "python_pep517"
hostmakedepends = [
"python-build",
"python-installer",
"python-setuptools",
]
depends = ["python", "hidapi"]
pkgdesc = "Python bindings for hidapi"
maintainer = "Julie Koubova <[email protected]>"
license = "MIT"
url = "https://github.com/apmorton/pyhidapi"
source = f"$(PYPI_SITE)/h/hid/hid-{pkgver}.tar.gz"
sha256 = "48d764d7ae9746ba123b96dbf457893ca80268b7791c4b1d2e051310eeb83860"
# no tests
options = ["!check"]


def post_install(self):
self.install_license("LICENSE")

0 comments on commit 18230e0

Please sign in to comment.