summaryrefslogblamecommitdiff
path: root/user/py3-pyparsing/APKBUILD
blob: 071bc3710b3958a3a308b6b8dd18c6f3cfcdb17d (plain) (tree)
1
2
3
4
5
6
7



                                                     

                      
            








                                              
                                                                                                                       


                                    



                              



                             



                                                               
                                                                                                                                                                         
# Contributor: Brandon Bergren <git@bdragon.rtk0.net>
# Maintainer: Brandon Bergren <git@bdragon.rtk0.net>
pkgname=py3-pyparsing
_pkgname=pyparsing
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=2.4.2
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/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

}

sha512sums="27e5959eb1cf0c4d899746d2d32f5f000c3753278bdbbb670d24a077053e5c08caf8429f684186c502f6d9bf358702e0a8b3fea40cd2b50807cf02ea38c750dd  py3-pyparsing-2.4.2.tar.gz"