[arch-commits] Commit in python-flake8-blind-except/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 17:34:03 UTC 2020


    Date: Thursday, November 12, 2020 @ 17:34:02
  Author: foutrelis
Revision: 752666

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 752665, 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 752665, python-flake8-blind-except/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 17:34:02 UTC (rev 752666)
@@ -0,0 +1,24 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-flake8-blind-except
+pkgver=0.1.1
+pkgrel=4
+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