~dricottone/huttese-apk

ref: abb7981df8d6ac52ac4afb0740c5225c1d4623aa huttese-apk/sr.ht/py3-mwparserfromhell/APKBUILD -rw-r--r-- 782 bytes
abb7981d — Drew DeVault py3-mwparserfromhell: new aport 2 years ago
                                                                                
abb7981d Drew DeVault
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
31
32
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-mwparserfromhell
_pyname=mwparserfromhell
pkgver=0.6.4
pkgrel=0
pkgdesc="A parser for MediaWiki wikicode"
url="https://pypi.org/project/mwparserfromhell/"
arch="all"
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="
6ea9996b22d0069a39cd4381ebec5dfb6831d0c3948ac31239ec760e8c53837ddff6c9888cb10219550854d9b4606ac9c2b8cc0a0a239fd0db5de7dd2311f1d1  mwparserfromhell-0.6.4.tar.gz
"