blob: 97c35a3e9aeaad92ee61e9fcc7cf2fa1eaeff6ae (
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
|
pkgbase=python-pylint-common
pkgname=python-pylint-common
_module='pylint-common'
pkgver=0.2.5
pkgrel=1
pkgdesc="pylint-common is a Pylint plugin to improve Pylint error analysis of the standard Python library"
url="https://github.com/landscapeio/pylint-common"
depends=('python')
makedepends=('python-setuptools')
license=('GPL')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/p/pylint-common/pylint-common-${pkgver}.tar.gz")
md5sums=('821725a39702815c68558df3059cb176')
build() {
cd "${srcdir}/${_module}-${pkgver}"
python setup.py build
}
package() {
cd "${srcdir}/${_module}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|