~dricottone/huttese-apk

ref: 31f82abfc96d08223180936f5f6632f016631f83 huttese-apk/pkgsrc/py3-mistletoe/APKBUILD -rw-r--r-- 773 bytes
31f82abfDominic Ricottone Updates from first deployment 2 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
29
30
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-mistletoe
_pyname=mistletoe
pkgver=0.8.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="
523221e07ee0dd375e064140512a9d0c3782591efe3947e1a31d8e4b7fa1c920f816a1318c2db7a20693807ee4c163a0358854f6e7181625911d1eb4f3a99461  mistletoe-0.8.2.tar.gz
"