aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-sphobjinv/APKBUILD
blob: ac479c6507395c4cc8752bc0c60f62da7b821352 (plain) (blame)
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
# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=py3-sphobjinv
_pyname=sphobjinv
pkgver=2.0.1
pkgrel=1
pkgdesc="Sphinx objects.inv Inspection/Manipulation Tool"
url="https://github.com/bskinn/sphobjinv"
arch="noarch"
license="MIT"
options="!check"  # no tests
depends="python3 py3-attrs py3-certifi py3-jsonschema py3-fuzzywuzzy"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/${_pyname%${_pyname#?}}/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

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

sha512sums="bc471fdd41d54d3483781a0c7214bd65711872a62bb7c03473bd731f70c853c1a4030a3a920db27bc0669ded3177d52847c43abc0da5edbc9683ffef0d0b1e99  sphobjinv-2.0.1.tar.gz"