44 lines
1007 B
Plaintext

# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=mkdocs
pkgver=1.6.1
pkgrel=0
pkgdesc="Project documentation with Markdown"
url="https://www.mkdocs.org"
arch="noarch"
license="BSD-2-Clause"
depends="
py3-click
py3-ghp-import
py3-jinja2
py3-markdown
py3-markupsafe
py3-mergedeep
py3-packaging
py3-pathspec
py3-platformdirs
py3-pyyaml-env-tag
py3-watchdog
py3-yaml
python3
"
makedepends="py3-hatchling py3-gpep517 py3-installer py3-babel py3-setuptools"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://github.com/mkdocs/mkdocs/archive/refs/tags/$pkgver.tar.gz"
options="!check" # No tests.
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 -m installer -d "$pkgdir" \
.dist/mkdocs*.whl
}
sha512sums="
e37bcefc87fecba9329001a45f712c205b7a2fba8584a40fbe44409c06547602c104551481d42503358bbb22ba85d4371c0f1934d4d01fc9ff1ec2559222eac6 mkdocs-1.6.1.tar.gz
"