mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-16 04:35:13 +03:00
30 lines
921 B
Text
30 lines
921 B
Text
# Contributor: David Demelier <markand@malikania.fr>
|
|
# Maintainer: David Demelier <markand@malikania.fr>
|
|
pkgname=py3-pymdown-extensions
|
|
pkgver=9.9.2
|
|
pkgrel=0
|
|
pkgdesc="extension pack for Python Markdown"
|
|
url="https://github.com/facelessuser/pymdown-extensions"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3 py3-markdown"
|
|
makedepends="py3-gpep517 py3-hatchling"
|
|
checkdepends="py3-pytest"
|
|
source="https://files.pythonhosted.org/packages/source/p/pymdown-extensions/pymdown_extensions-$pkgver.tar.gz"
|
|
builddir="$srcdir/pymdown_extensions-$pkgver"
|
|
options="!check" # Some tests fail.
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/pymdown_extensions*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
e07b559e4dbfe3a7c31dd2af9248773339bbf523f637d57e58cae006f15b09d32b9bcbb24eece8244152d3a6f8ecdf085412163bc310b0fad2055f0964381a83 pymdown_extensions-9.9.2.tar.gz
|
|
"
|