# Contributor: Jakub Jirutka # Maintainer: Jakub Jirutka pkgname=py3-pkginfo _pkgname=pkginfo pkgver=1.5.0.1 pkgrel=0 pkgdesc="Parses metadata stored by distutils in PKG-INFO" url="https://code.launchpad.net/~tseaver/pkginfo" arch="noarch" license="MIT" depends="python3" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz disable-failing-test.patch dont-package-tests.patch " builddir="$srcdir/$_pkgname-$pkgver" build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="319bb403970affd5a4222dfdb3d17738630d1350ea84e51ad1bebc6c8c72e0dcfd69a4eaf5e7bd156b8e605d806357922c05cc994dcafb01b7a33c617b2df447 pkginfo-1.5.0.1.tar.gz 3eb9d1fe871b312f75b96158fa59f25a4533ac23873042776c129fa9489bc1e16883e4e2bef6401b283b8479b0cf86c4b49a5400c261ebea106bc01233881198 disable-failing-test.patch 73a0b9191e1b39169d665cbbabba20254e33bb1e4b4e3c03b865425bd47309cbc92d1d8e125b68b57f657a583b070021819a061cf38a6cdd4ff009b23061ac8f dont-package-tests.patch"