mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
extra/hid-tools to 0.7-1
This commit is contained in:
parent
923dda0b8e
commit
45384bfae2
2 changed files with 28 additions and 5 deletions
23
extra/hid-tools/.SRCINFO
Normal file
23
extra/hid-tools/.SRCINFO
Normal file
|
@ -0,0 +1,23 @@
|
|||
pkgbase = hid-tools
|
||||
pkgdesc = Python scripts to manipulate HID data
|
||||
pkgver = 0.7
|
||||
pkgrel = 1
|
||||
url = https://gitlab.freedesktop.org/libevdev/hid-tools
|
||||
arch = any
|
||||
license = GPL2
|
||||
makedepends = python-build
|
||||
makedepends = python-installer
|
||||
makedepends = python-hatchling
|
||||
makedepends = python-pypandoc
|
||||
makedepends = python-sphinx
|
||||
makedepends = python-sphinx_rtd_theme
|
||||
makedepends = python-sphinxcontrib-apidoc
|
||||
depends = python-parse
|
||||
depends = python-pyudev
|
||||
depends = python-libevdev
|
||||
depends = python-click
|
||||
depends = python-yaml
|
||||
source = https://gitlab.freedesktop.org/libevdev/hid-tools/-/archive/0.7/hid-tools-0.7.tar.gz
|
||||
sha512sums = 9a9bd42ac0a78455e7c5c472b954ac6761c656d51dc9667def50fd61311280d435b227c5b9519d05287063bbdfad3930598a9f0a8e4ffe4cc7cc1cda37c4462c
|
||||
|
||||
pkgname = hid-tools
|
|
@ -4,21 +4,21 @@
|
|||
# - remove makedepend on python-pypandoc
|
||||
|
||||
pkgname=hid-tools
|
||||
pkgver=0.4
|
||||
pkgver=0.7
|
||||
pkgrel=1
|
||||
arch=('any')
|
||||
url='https://gitlab.freedesktop.org/libevdev/hid-tools'
|
||||
license=('GPL2')
|
||||
pkgdesc='Python scripts to manipulate HID data'
|
||||
depends=('python-parse' 'python-pyudev' 'python-libevdev' 'python-click' 'python-yaml')
|
||||
makedepends=('python-setuptools' 'python-sphinx' 'python-sphinx_rtd_theme' 'python-sphinxcontrib-apidoc')
|
||||
makedepends=('python-build' 'python-installer' 'python-hatchling' 'python-sphinx' 'python-sphinx_rtd_theme' 'python-sphinxcontrib-apidoc')
|
||||
source=("$url/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
|
||||
sha512sums=('1c98b6d3fe25e8c42f78524040f46b8770fac2e3b3a65425287d50eb9f6e63db1c25c297e73c8afed650dce35e69c47cee3416c6b00cb53e13ff04319e0ddcbc')
|
||||
sha512sums=('9a9bd42ac0a78455e7c5c472b954ac6761c656d51dc9667def50fd61311280d435b227c5b9519d05287063bbdfad3930598a9f0a8e4ffe4cc7cc1cda37c4462c')
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
python setup.py build
|
||||
python -m build -wnx
|
||||
|
||||
cd doc/source
|
||||
|
||||
|
@ -28,7 +28,7 @@ build() {
|
|||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
python setup.py install --root "$pkgdir" --skip-build -O1
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
|
||||
# Install documentation
|
||||
install -dm 755 "$pkgdir"/usr/share/doc/$pkgname/html
|
||||
|
|
Loading…
Reference in a new issue