~dricottone/apkbuilds

ref: de512ca534b7f8c089f44eb2c60a82b4c7f87520 apkbuilds/src/py3-mistletoe/APKBUILD -rw-r--r-- 773 bytes
de512ca5Dominic Ricottone sr.ht packages fix 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.3.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="
140216507fbbf8d7d4d0c3f4d3cb161c5b76698db237d63d03b52d5369e3d7c7150595513354e5ffaa147d0eb827694a76fd8f9ba65b372360ebebef58bfa63a  mistletoe-1.3.0.tar.gz
"