~dricottone/huttese-apk

2529fbfcd6bd3d2597926e2c15798440a80c4652 — Drew DeVault 4 years ago 613eef2
py3-mistletoe: new aport
1 files changed, 28 insertions(+), 0 deletions(-)

A sr.ht/py3-mistletoe/APKBUILD
A sr.ht/py3-mistletoe/APKBUILD => sr.ht/py3-mistletoe/APKBUILD +28 -0
@@ 0,0 1,28 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-mistletoe
_pyname=mistletoe
pkgver=0.7.2
pkgrel=0
pkgdesc="A fast, extensible Markdown parser in pure Python."
url="https://pypi.org/project/mistletoe/"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
_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 check
}

package() {
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="0b5c462858d840c281fb30f73e47a3644365b2c76d7cb09ce4943930fc31b3ad87213b86d421ab4d3dd40e591c7bb63e9f06005e921f2c7f5348d19949f6d306  mistletoe-0.7.2.tar.gz"