~dricottone/apkbuilds

ref: 5f4793401128c761a5f3fc057c1c742fa514d915 apkbuilds/src/py3-mistletoe/APKBUILD -rw-r--r-- 773 bytes
5f479340Dominic Ricottone Initial commit 1 year, 5 months 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.9.0
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="
ec0f6fc23d81cb2725cf6a8bb8024a3a7c055d1dd733b1dbc10a9fbd4c1431209daffbb2f44591cac9a948ed944496dd8d4175a106e7e9ed4656594e33c23ada  mistletoe-0.9.0.tar.gz
"