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

29 lines
836 B
Text

# Maintainer: Pedro Filipe <xpecex@outlook.com>
pkgname=py3-fastimport
pkgver=0.9.12
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 --prefix=/usr --root="$pkgdir"
rm -rf "$pkgdir"/usr/lib/python3*/site-packages/fastimport/tests
}
sha512sums="
af9e808b72d0e29b9f77d33ab37f4b65b2f7fd4e129499c24193bbaa25baadf502a8ae3720b53af86862c7bf2977510eeb6d76f0e032dfe8a3fda5c6ddadd6ea fastimport-0.9.12.tar.gz
"