Skip to content

Commit

Permalink
update python-gpiod
Browse files Browse the repository at this point in the history
  • Loading branch information
taotieren committed Nov 13, 2024
1 parent 2aa78cb commit f3a4fa7
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
26 changes: 26 additions & 0 deletions aur-repo/python-gpiod/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Maintainer: Ben Song <bensongsyz@gmail.com>
pkgname=python-gpiod
_name=${pkgname#python-}
pkgver=1.5.4
pkgrel=1
pkgdesc="gpiod pure Python library with almost the same usage as libgpiodcxx"
arch=("any")
url="https://github.com/hhk7734/python3-gpiod"
license=("MIT")


makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha512sums=('08f4f6ab602b7d54d1d4e2d6667b32169eb489aa618967a2bf95ac3832c56d577fd235daa9740dd199373179107d0c75d3d12825dec7720a237e79095b460e1b')

build() {
cd "$srcdir/${_name}-$pkgver"

python setup.py build
}

package() {
cd "$srcdir/${_name}-$pkgver"

python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
7 changes: 7 additions & 0 deletions aur-repo/python-gpiod/lilac.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
maintainers:
- github: taotieren
pre_build_script: aur_pre_build(maintainers=['BenSYZ'])
post_build_script: aur_post_build
update_on:
- source: aur
aur: python-gpiod

0 comments on commit f3a4fa7

Please sign in to comment.