aboutsummaryrefslogblamecommitdiffstats
path: root/testing/py3-pep8-naming/APKBUILD
blob: 37d3fe0c8a9aacb9bd106cc08a421e19c7b9f957 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                               
                       

             



                                                          
                                                
                            




                      


                                                                                               
                                      
 


                                                                    
         



                              
                             


           
                                                               

 



                                                                                                                                                           
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-pep8-naming
pkgver=0.12.1
pkgrel=0
pkgdesc="Check PEP-8 naming conventions plugin for flake8"
url="https://github.com/flintwork/pep8-naming"
arch="noarch"
license="MIT"
depends="python3 py3-flake8 py3-flake8-polyfill"
makedepends="py3-setuptools"
checkdepends="
	py3-six
	py3-tox
	py3-virtualenv
	"
source="https://files.pythonhosted.org/packages/source/p/pep8-naming/pep8-naming-$pkgver.tar.gz
	fix-missing-option.patch
	"
builddir="$srcdir/pep8-naming-$pkgver"

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

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="
52f3b15455976f48cbe31940764585249d34fcebb6a735820aee5d24daa201d4df2fd2f3fdf807a04ebfd685b04cc42cfc42c238ef84df57af5adca101f26e90  pep8-naming-0.12.1.tar.gz
a2492ec44ca56e77ef6eda1016368ce9ff035aa125ef758cd080352b9342e3e390432effde1673ce55fa99cde58887446552660907c1a4f0425a856420e07da2  fix-missing-option.patch
"