aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-d2to1/APKBUILD
blob: dffad98ab4ce89143d5a123019cac7068cb95810 (plain)
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
# Contributor: prspkt <prspkt@protonmail.com>
# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=py3-d2to1
_pkgname=d2to1
pkgver=0.2.12
pkgrel=1
pkgdesc="Allows using distutils2-like setup.cfg files with setup.py"
url="https://pypi.org/project/d2to1"
arch="noarch"
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools python3-dev"
checkdepends="py3-nose"
source="$_pkgname-$pkgver.tar.gz::https://github.com/embray/d2to1/archive/$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	nosetests
}

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

sha512sums="3f5376c1a6c9459e8aa062ff92ed4ee5e840ca48cffb92bd9373bc4e2bc61c423e8b9b9cdb11f848446a84bed9010b99f28b105a28c39a6a74afb918049fa9c6  d2to1-0.2.12.tar.gz"