~dricottone/huttese-apk

ref: 60e88d2b46f96963aa60c0b6297468cc563e3c79 huttese-apk/sr.ht/py3-mistletoe/APKBUILD -rw-r--r-- 773 bytes
60e88d2b — Drew DeVault py3-kombu: upgrade to 5.2.4 2 years ago
                                                                                
2529fbfc Drew DeVault
5a6fda54 Drew DeVault
2529fbfc Drew DeVault
5a6fda54 Drew DeVault
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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-mistletoe
_pyname=mistletoe
pkgver=0.8.1
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="
e46c7e163978f3f5733ea177edf7571dde693cd1a880aa4ecd2da18632ff0a313a963bf369893a741ad53530d9d741944dcc484f819e2f7f6790fcc9d880d5c9  mistletoe-0.8.1.tar.gz
"