diff options
author | Chocobo1 | 2022-12-27 01:25:48 +0800 |
---|---|---|
committer | Chocobo1 | 2022-12-27 01:25:48 +0800 |
commit | 2fb4c4692240b3afbf6706ca80cee78c6a1d124a (patch) | |
tree | 26c4556bbdde5aa42bd54d35872a3ad2d30fd5bb /PKGBUILD | |
parent | f4f3a5b5582706525222fef29463eac13fdfede5 (diff) | |
download | aur-codespell-git.tar.gz |
upgpkg: codespell-git 2.2.2.r160.g36c8c276-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 21 |
1 files changed, 12 insertions, 9 deletions
@@ -1,16 +1,16 @@ # Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net> pkgname=codespell-git -pkgver=1.14.0.r258.g3743efc1 +pkgver=2.2.2.r160.g36c8c276 pkgrel=1 pkgdesc="Tool for fixing common misspellings in text files" arch=('any') url="https://github.com/codespell-project/codespell" license=('GPL2') -depends=('python' 'python-setuptools') -makedepends=('git' 'help2man') +depends=('python') +makedepends=('git' 'help2man' 'python-build' 'python-installer' 'python-setuptools-scm' 'python-wheel') checkdepends=('python-pytest') -provides=('codespell') +provides=("codespell=$pkgver") conflicts=('codespell') source=("git+https://github.com/codespell-project/codespell.git") sha256sums=('SKIP') @@ -25,14 +25,17 @@ pkgver() { build() { cd "codespell" - python "setup.py" build - make + python \ + -m build \ + --wheel \ + --no-isolation } package() { cd "codespell" - python "setup.py" install \ - --optimize 1 \ - --root "$pkgdir" + python \ + -m installer \ + --destdir="$pkgdir" \ + dist/*.whl } |