summaryrefslogblamecommitdiff
path: root/user/py3-pyparsing/APKBUILD
blob: f84545871096d78fd16583f1b23cf990887466a9 (plain) (tree)
































                                                                                                                                                                         
# Contributor: Brandon Bergren <git@bdragon.rtk0.net>
# Maintainer: Brandon Bergren <git@bdragon.rtk0.net>
pkgname=py3-pyparsing
_pkgname=pyparsing
pkgver=2.3.1
pkgrel=0
pkgdesc="Python parsing module"
url="https://pypi.python.org/pypi/pyparsing"
arch="noarch"
options="!check" # Multiple problems in tests.
license="MIT"
depends="python3"
makedepends="python3-dev"
checkdepends="py3-pytest"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py test
}

package() {
	cd "$builddir"
	python3 setup.py install --prefix=/usr --root="$pkgdir"

}

sha512sums="fc8342780c38fd08c07d0b885c4d6c77d59f38098aa13c3abd05a790ee6caf2065a0bdab33bc290a6e2da123f4ac7e38c049e389b740546499dc48eba7ae431f  py3-pyparsing-2.3.1.tar.gz"