mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
33 lines
813 B
Text
33 lines
813 B
Text
# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
|
|
pkgname=py3-markdown2
|
|
pkgver=2.4.7
|
|
pkgrel=0
|
|
pkgdesc="fast and complete implementation of Markdown in Python"
|
|
url="https://github.com/trentm/python-markdown2"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="
|
|
python3
|
|
"
|
|
makedepends="
|
|
py3-setuptools
|
|
"
|
|
_pyname="markdown2"
|
|
_pypiprefix="${_pyname%${_pyname#?}}"
|
|
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pyname-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 setup.py test
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
sha512sums="
|
|
e352578f57d6cdf3e59cb2ae10de218a8196cdbafe6257d76549758ead4997a33c65238664115232be4dbb3c63a81df4eb87c3a1248be8fb472d594e3fae087b markdown2-2.4.7.tar.gz
|
|
"
|