aboutsummaryrefslogblamecommitdiffstats
path: root/community/py3-parso/APKBUILD
blob: aee823bddfe491b4e76e5560303c54c10cafa7ef (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   
                 
            
        
                                                                                                  
                                          

             
                 
                                    
                         

                                                                                   
         

                                


                                                              



                              
         
                 





                                                               
                                                                                                                                                                 
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=py3-parso
pkgver=0.8.1
pkgrel=1
pkgdesc="parser that supports error recovery and round-trip parsing for different Python versions"
url="https://github.com/davidhalter/parso"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools py3-pbr"
checkdepends="py3-pytest"
source="
	https://files.pythonhosted.org/packages/source/p/parso/parso-$pkgver.tar.gz
	"
builddir="$srcdir/parso-$pkgver"

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

build() {
	python3 setup.py build
}

check() {
	py.test-3
}

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

sha512sums="e283c888065494053c8211f2c76cb81f320b2f22c21bb462555b6213fa6e6acd9c6de7e588ddf1532e18f8d819723e4ed3cab6a0f4c56984c40e46230a797c1a  parso-0.8.1.tar.gz"