blob: 123470b2f92a834e5c7914a388f0285f2b06ee9e (
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
31
32
33
|
# Maintainer: jmcb <joelsgp@protonmail.com>
pkgname=python-mkdocs-simple-hooks
_name=mkdocs-simple-hooks
pkgver=0.1.5
pkgrel=2
pkgdesc="Define your own hooks for mkdocs, without having to create a new package."
arch=(any)
url="https://github.com/aklajnert/mkdocs-simple-hooks"
license=('MIT')
depends=('python' 'mkdocs')
makedepends=('python-build' 'python-installer' 'python-wheel')
# checkdepends=('python-pytest' 'python-pytest-cov')
optdepends=()
provides=()
conflicts=()
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('dddbdf151a18723c9302a133e5cf79538be8eb9d274e8e07d2ac3ac34890837c')
build() {
cd "$_name-$pkgver"
python -m build --wheel --no-isolation
}
# check() {
# cd "$_name-$pkgver"
# pytest
# }
package() {
cd "$_name-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|