~dricottone/huttese-apk

ref: a5eefc8426cd5e8ef15ab7419a07d273f009af57 huttese-apk/sr.ht/py3-mistletoe/APKBUILD -rw-r--r-- 771 bytes
a5eefc84 — Drew DeVault py3-amqp: "upgrade" to 5.0.6 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=1
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"