Skip to content

Commit

Permalink
update python-genio-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
taotieren committed Nov 13, 2024
1 parent f9f980e commit 2aa78cb
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
41 changes: 41 additions & 0 deletions aur-repo/python-genio-tools/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Maintainer: taotieren <admin@taotieren.com>

pkgname=python-genio-tools
_name=${pkgname#python-}
pkgver=1.4.2
pkgrel=1
epoch=
pkgdesc="Tools for flashing boards using MediaTek Genio SoCs"
arch=('any')
url="https://pypi.org/project/genio-tools"
license=(MIT)
groups=()
_pydeps=(
oyaml
packaging
pyudev
pyusb
#AUR
genio-bootrom
gpiod
pyftdi)
depends=(
python
"${_pymakedeps[@]/#/python-}")
_pymakedeps=(
build
installer
wheel
setuptools)
makedepends=(
"${_pymakedeps[@]/#/python-}")
optdepends=()
options=('!strip' '!debug')
source=("https://files.pythonhosted.org/packages/py3/${_name::1}/$_name/${_name//-/_}-$pkgver-py3-none-any.whl")
noextract=()
sha256sums=('3c8b6dc48892a6f9a88a9ff081caac31dd1f29e31466a8bfa06ed686f05068c0')

package() {
cd "${srcdir}/"
python -m installer --destdir="${pkgdir}" ${_name//-/_}-$pkgver-py3-none-any.whl
}
16 changes: 16 additions & 0 deletions aur-repo/python-genio-tools/lilac.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
maintainers:
- github: taotieren
build_prefix: extra-x86_64
pre_build_script: |
update_pkgver_and_pkgrel(_G.newver)
post_build_script: |
git_pkgbuild_commit()
update_aur_repo()
repo_depends:
- python-genio-bootrom
- python-gpiod
- python-pyftdi
update_on:
- source: pypi
pypi: genio-tools
- alias: python

0 comments on commit 2aa78cb

Please sign in to comment.