~dricottone/huttese-apk

ref: f17c9294cf3f64605a3079ef7adf6c8fa426d0c8 huttese-apk/sr.ht/py3-mistletoe/APKBUILD -rw-r--r-- 771 bytes
f17c9294 — Drew DeVault py3-stripe: upgrade to 2.60.0 3 years ago
                                                                                
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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-mistletoe
_pyname=mistletoe
pkgver=0.7.2
pkgrel=2
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"