~dricottone/huttese-apk

ref: 4bbaacb863e59dee26ad09e129e623209fd7fe93 huttese-apk/sr.ht/py3-unidiff/APKBUILD -rw-r--r-- 865 bytes
4bbaacb8 — Simon Ser soju: upgrade 2 years ago
                                                                                
cb4c58b7 Drew DeVault
e559d6c9 Drew DeVault
9cdf2ad0 Drew DeVault
cb4c58b7 Drew DeVault
e559d6c9 Drew DeVault
cb4c58b7 Drew DeVault
80578a12 Drew DeVault
cb4c58b7 Drew DeVault
9cdf2ad0 Drew DeVault
e559d6c9 Drew DeVault
9cdf2ad0 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
# Contributor: Drew DeVault <sir@cmpwn.com>
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-unidiff
_pyname=unidiff
pkgver=0.7.4
pkgrel=0
pkgdesc="Unified diff python parsing/metadata extraction library"
url="https://pypi.org/project/unidiff/"
arch="noarch"
license="MIT"
makedepends="py3-setuptools py3-pytest"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
replaces="py-unidiff py2-unidiff"
builddir="$srcdir"/$_pyname-$pkgver
options="!check" # no upstream tests

build() {
	python3 setup.py build
}

check() {
	pytest-3
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
cfbc7808d96c0aac2ce315b13a69253247f1ae011dede9ac67deed3ad1a66cbfb49e271a393613f952072f4b3b774906d2ea056c2b1b8aad23ae161a90552320  unidiff-0.7.4.tar.gz
"