aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-tomlkit/APKBUILD
blob: 37f90f51687d72fff6fe82ddb3971af7b4bb0f94 (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
27
28
29
30
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Michał Polański <michal@polanski.me>
pkgname=py3-tomlkit
_realname=tomlkit
pkgver=0.6.0
pkgrel=0
pkgdesc="Python3 library for parsing and modifying TOML"
url="https://github.com/sdispater/tomlkit"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="pytest"
source="https://files.pythonhosted.org/packages/source/${_realname:0:1}/$_realname/$_realname-$pkgver.tar.gz"
builddir="$srcdir/$_realname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	py.test-3
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
	rm -rf "$pkgdir"/usr/lib/python3*/site-packages/tests
}

sha512sums="030146f09a2e2ac9c676707b0c2c8c2d346dcdfd2cdd2797d0bb0032fd61ba71d5a8df7ed25ec898fb84337283897af989cff3b4797e9c9f73fe42c3a5d617b4  tomlkit-0.6.0.tar.gz"