[arch-commits] Commit in python-flake8-blind-except/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 4 07:27:43 UTC 2019
Date: Monday, November 4, 2019 @ 07:27:43
Author: felixonmars
Revision: 523501
archrelease: copy trunk to community-staging-any
Added:
python-flake8-blind-except/repos/community-staging-any/
python-flake8-blind-except/repos/community-staging-any/PKGBUILD
(from rev 523499, python-flake8-blind-except/trunk/PKGBUILD)
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Copied: python-flake8-blind-except/repos/community-staging-any/PKGBUILD (from rev 523499, python-flake8-blind-except/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-11-04 07:27:43 UTC (rev 523501)
@@ -0,0 +1,24 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-flake8-blind-except
+pkgver=0.1.1
+pkgrel=3
+pkgdesc='A flake8 extension that checks for blind except: statements'
+arch=('any')
+license=('MIT')
+url='https://github.com/elijahandrews/flake8-blind-except'
+depends=('python-setuptools')
+makedepends=('python-setuptools' 'git')
+source=("git+https://github.com/elijahandrews/flake8-blind-except.git#tag=v$pkgver")
+md5sums=('SKIP')
+
+build() {
+ cd "$srcdir"/flake8-blind-except
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir"/flake8-blind-except
+ python setup.py install --root="$pkgdir"/ --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list