aboutsummaryrefslogblamecommitdiffstats
path: root/community/py3-pypeg2/APKBUILD
blob: 3969caa98d33a45e6960b3a740be080c079d5eaf (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                                           

                                                       
                  
             
        




                                                        

                            

                                                                                      
 




                                                               
 

         
                           

 
           
                                                               

 
                                                                                                                                                                   
# Contributor: Drew DeVault <sir@cmpwn.com>
# Contributor: Orson Teodoro <orsonteodoro@hotmail.com>
# Maintainer: Orson Teodoro <orsonteodoro@hotmail.com>
pkgname=py3-pypeg2
pkgver=2.15.2
pkgrel=6
pkgdesc="An intrinsic PEG Parser-Interpreter for Python"
url="https://fdik.org/pyPEG2/"
arch="noarch"
license="GPL-2.0-only"
_gitrev="43b84d987ec1"
depends="python3 py3-lxml"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/p/pyPEG2/pyPEG2-$pkgver.tar.gz"
builddir="$srcdir/pyPEG2-$pkgver"

replaces="py-pypeg2" # Backwards compatibility
provides="py-pypeg2=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	python3 -m unittest
}

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

sha512sums="f78e3b1294169167809c5fe05f2a69af2bd6c7c4c1bcbebafb4aa6b8ae6ead181a46b051e41193bc31f49c4b4fa7b1ef231d172217c11d301d0ee21d8e411b6f  pyPEG2-2.15.2.tar.gz"