diff options
author | Caleb Maclennan | 2023-05-04 01:06:04 +0300 |
---|---|---|
committer | Caleb Maclennan | 2023-05-04 01:06:04 +0300 |
commit | 623f5eaaff10d798567852a861a169011ec3b7e2 (patch) | |
tree | 80bfa7b7fe15c79ee2d18cd7d0b24730f17cb393 /PKGBUILD | |
parent | 4022de5c6b3b69ba30be9d82160d2e2a42486d69 (diff) | |
download | aur-623f5eaaff10d798567852a861a169011ec3b7e2.tar.gz |
upgpkg: markdown2ctags 0.3.3-3
Rebuild for Python 3.11, normalize PEP517 build tooling
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -3,25 +3,26 @@ pkgname=markdown2ctags pkgver=0.3.3 -pkgrel=2 +pkgrel=3 pkgdesc='Generate ctags-compatible tags files for Markdown documents' arch=(any) license=(BSD3) url="https://github.com/jszakmeister/$pkgname" depends=(python) -makedepends=(python-setuptools) +makedepends=(python-{build,installer,wheel} + python-setuptools) _archive="$pkgname-$pkgver" source=("$_archive.tar.gz::$url/archive/v$pkgver.tar.gz") sha256sums=('e633f6d9baebdfc97349707825543958aead128b6385def2a0f011ee32b0c29d') build() { cd "$_archive" - python setup.py build + python -m build -wn } package() { cd "$_archive" - python setup.py install --root="$pkgdir" --optimize=1 --skip-build + python -m installer -d "$pkgdir" dist/*.whl install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE.txt install -Dm0644 -t "$pkgdir/usr/share/doc/$pkgname/" README.rst } |