blob: 5bd8404561e17056de450aa24d7b1c34bf3f59f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=python-restructuredtext_lint
_name=restructuredtext-lint
pkgver=1.4.0
pkgrel=4
pkgdesc="reStructuredText linter"
arch=('any')
url="https://github.com/twolfson/restructuredtext-lint"
license=('Unlicense')
depends=(
'python-docutils'
)
makedepends=(
'python-build'
'python-installer'
'python-setuptools'
'python-wheel'
)
source=("$_name-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('c2482d1f47e52674016a3079bdcfe53ccf18d9aab80595cb2fafc64fb866c00f')
build(){
cd "$_name-$pkgver"
python -m build --wheel --no-isolation
}
package(){
cd "$_name-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|