aboutsummaryrefslogblamecommitdiffstats
path: root/testing/py-setuptools-lint/APKBUILD
blob: 556201da702e65284472c77f5b8ae71b9f6e8872 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                                               


                          

                                   
                                                    

             
                 
              
                                       

              
                                                                                                          





















                                                                          


                                                                                                                                                                         
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-setuptools-lint
_pkgname=setuptools-lint
pkgver=0.3
pkgrel=0
pkgdesc="Setuptools plugin for Git"
url="https://github.com/johnnoone/setuptools-pylint"
arch="noarch"
license="BSD"
depends="python2"
depends_dev=""
makedepends="python2-dev py-setuptools"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$_pkgname-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="1a44bb3e64fd173579eb22d4b15e7869  setuptools-lint-0.3.tar.gz"
sha256sums="78e0011ce0bcd52e561ff9842ef445f5d306d83f40709235ef4f5deb47f851c7  setuptools-lint-0.3.tar.gz"
sha512sums="b4e003fa998a1356cf54bc6d2b357ff7ea6d3086bca31221aa6ee27f17389577d2e5e6f7c71891dc4ce84b05b75a9d65f371b025ca626d204db323c044e27794  setuptools-lint-0.3.tar.gz"