aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-tomlkit/APKBUILD
blob: 93e0a4c655366894e836465076ec9501ed768c46 (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
30
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-tomlkit
_realname=tomlkit
pkgver=0.5.5
pkgrel=1
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="5de04c76583ed5e80031d1b7ffaf6e790166829ddc47e238c5ac6b9b87329e732b5e73e2af995d916372a87c69434958ffd3afa8eb07b8663398ff9e0fd5473c  tomlkit-0.5.5.tar.gz"