~dricottone/apkbuilds

ref: 6b6e36a6c9fa6860fd367df75138444f9e827cc9 apkbuilds/src/py3-mistletoe/APKBUILD -rw-r--r-- 773 bytes
6b6e36a6Dominic Ricottone Updating to alpine v3.20 a month 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=1.4.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="
e364343727880f7994d77ce215e2e87ca3aba542267c3cb18105ef1fd97eeef1b63474299d267f38d8e5d0add64fd25c01a7a8b580da433bdf4fb274f1782d27  mistletoe-1.4.0.tar.gz
"