1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/community/py3-fastimport/APKBUILD
2023-01-17 22:03:49 +00:00

29 lines
835 B
Text

# Maintainer: Pedro Filipe <xpecex@outlook.com>
pkgname=py3-fastimport
pkgver=0.9.14
pkgrel=0
pkgdesc="VCS fastimport/fastexport parser"
arch="noarch"
url="https://github.com/jelmer/python-fastimport"
license="GPL-2.0-only"
depends="python3"
makedepends="git py3-setuptools"
source="https://github.com/jelmer/python-fastimport/archive/refs/tags/fastimport-$pkgver.tar.gz"
builddir="$srcdir/python-fastimport-fastimport-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 -m unittest fastimport.tests.test_suite
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
rm -rf "$pkgdir"/usr/lib/python3*/site-packages/fastimport/tests
}
sha512sums="
9cc6408ba974d0583d7c0526db3d3bf61e5cfd844e0a771e3a9204f3e9f3003b7ac821d328bb6df9a06c50ab5eed23df48e0dc2baa5d10c06d2d4bab31c20942 fastimport-0.9.14.tar.gz
"