diff options
author | Serene-Arc | 2021-09-04 12:40:16 +1000 |
---|---|---|
committer | Serene-Arc | 2021-09-04 12:40:16 +1000 |
commit | c4c487e1a0ca7d47fa5b1305dfa4041468943fbe (patch) | |
tree | b712ae3b2602a8484ee2e75751d3d5b6c58522fb | |
parent | d848606ad6d5ceec638de00da68a3a8bb949f557 (diff) | |
download | aur-c4c487e1a0ca7d47fa5b1305dfa4041468943fbe.tar.gz |
Update to v1.0.0
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 8 insertions, 13 deletions
@@ -1,11 +1,10 @@ pkgbase = qmk-git pkgdesc = CLI tool for customizing supported mechanical keyboards. - pkgver = 0.0.31.r0.g120ce55 + pkgver = 1.0.0.r0.g710dc3e pkgrel = 1 url = https://github.com/qmk/qmk_cli arch = any license = MIT - makedepends = python-setuptools makedepends = python makedepends = python-pip depends = arm-none-eabi-binutils @@ -33,4 +32,3 @@ pkgbase = qmk-git sha256sums = SKIP pkgname = qmk-git - @@ -1,6 +1,6 @@ -# Maintainer: Akaash Suresh <https://github.com/Curry> +# Maintainer: Serene-Arc pkgname=qmk-git -pkgver=0.0.31.r0.g120ce55 +pkgver=1.0.0.r0.g710dc3e pkgrel=1 pkgdesc="CLI tool for customizing supported mechanical keyboards." arch=('any') @@ -30,7 +30,7 @@ depends=( 'wget' 'zip' ) -makedepends=('python-setuptools' 'python' 'python-pip') +makedepends=('python' 'python-pip') source=('git+https://github.com/qmk/qmk_cli.git') sha256sums=('SKIP') @@ -40,15 +40,12 @@ pkgver() { } build() { - pip install --no-deps --target="deps" yapf hjson cd "$_branch" - python setup.py build + python -m build --wheel } package() { - sitepackages=$(python -c "import site; print(site.getsitepackages()[0])") - cd "$_branch" - python setup.py install --root="$pkgdir/" --optimize=1 --skip-build - cp -r $srcdir/deps/* $pkgdir/"$sitepackages" - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + cd "$_branch/dist" + PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps *.whl + python -O -m compileall "${pkgdir}/qmk-git" } |