blob: 372a033389e73cd3aa6fe40aca2802240421c950 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# 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="python"
depends_dev=""
makedepends="python-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"
|