1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
6 pkgdesc="A lil' TOML parser"
7 url="https://github.com/hukkin/tomli"
11 makedepends=('python-pyproject2setuppy')
12 checkdepends=('python-pytest' 'python-dateutil')
13 source=("$pkgname-$pkgver.tar.gz::https://github.com/hukkin/tomli/archive/$pkgver.tar.gz")
14 sha512sums=('460ad8ae9a342d82ef12911c0d0e246c1434a5d40d898e91f6c05bf37b7bf9921da05e004c36907d623a797a7a215c1c3faf3f9a2b940f3867b142847a188605')
18 python -m pyproject2setuppy.main build
28 python -m pyproject2setuppy.main install --root="$pkgdir" --optimize=1
30 install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/