summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuliette Monsel2020-01-09 10:32:09 +0100
committerJuliette Monsel2020-01-09 10:32:09 +0100
commit94b09bc825e160091466fbd69fb2246024ef982e (patch)
tree05cba5ccf31eaf0026111733d6af3400c43b830a
downloadaur-94b09bc825e160091466fbd69fb2246024ef982e.tar.gz
Initial commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD23
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..496f7d111c6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = python-setuptools-lint
+ pkgdesc = Expose pylint as a lint command into setup.py
+ pkgver = 0.5.2
+ pkgrel = 1
+ url = https://github.com/johnnoone/setuptools-pylint
+ arch = any
+ license = BSD
+ makedepends = python-setuptools
+ depends = python-pylint
+ source = python-setuptools-lint-0.5.2.tar.gz::https://github.com/johnnoone/setuptools-pylint/archive/v0.5.2.tar.gz
+ sha512sums = 3944434e3f6c0a3f6ae36ae4b1387a25ae93079d4462203c6f84f6bc2af7e2a3f8618bdf14b741234507cb788c3c33e62b3d51d2633e284c2b454ece5bb0a571
+
+pkgname = python-setuptools-lint
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b681ba20311
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Juliette Monsel <j_4321 at protonmail dot com>
+pkgname='python-setuptools-lint'
+pkgver=0.5.2
+pkgrel=1
+_name=setuptools-pylint
+pkgdesc="Expose pylint as a lint command into setup.py"
+arch=('any')
+url="https://github.com/johnnoone/setuptools-pylint"
+license=('BSD')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/johnnoone/$_name/archive/v${pkgver}.tar.gz")
+sha512sums=('3944434e3f6c0a3f6ae36ae4b1387a25ae93079d4462203c6f84f6bc2af7e2a3f8618bdf14b741234507cb788c3c33e62b3d51d2633e284c2b454ece5bb0a571')
+makedepends=('python-setuptools')
+depends=('python-pylint')
+
+build() {
+ cd "$srcdir/${_name}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/${_name}-${pkgver}"
+ python setup.py install --root="$pkgdir/" --prefix=/usr --optimize=1 --skip-build;
+}