[arch-commits] Commit in (4 files)

Jelle van der Waa jelle at archlinux.org
Sun Dec 30 15:39:55 UTC 2018


    Date: Sunday, December 30, 2018 @ 15:39:54
  Author: jelle
Revision: 419306

python-flake8-polyfill: required for python-radon

Added:
  python-flake8-polyfill/
  python-flake8-polyfill/repos/
  python-flake8-polyfill/trunk/
  python-flake8-polyfill/trunk/PKGBUILD

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Added: python-flake8-polyfill/trunk/PKGBUILD
===================================================================
--- python-flake8-polyfill/trunk/PKGBUILD	                        (rev 0)
+++ python-flake8-polyfill/trunk/PKGBUILD	2018-12-30 15:39:54 UTC (rev 419306)
@@ -0,0 +1,33 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>
+
+_module=flake8-polyfill
+pkgname=python-flake8-polyfill
+pkgver=1.0.2
+pkgrel=1
+pkgdesc="Polyfill package for Flake8 plugins"
+url="https://gitlab.com/pycqa/flake8-polyfill"
+depends=('flake8')
+checkdepends=('python-pytest' 'python-mock' 'python-pycodestyle' 'python-pep8')
+makedepends=('python-setuptools')
+license=('MIT')
+arch=('any')
+source=(https://gitlab.com/pycqa/flake8-polyfill/-/archive/${pkgver}/flake8-polyfill-${pkgver}.tar.gz)
+md5sums=('6b2cd316fc75929ce41a5b07244fd310')
+
+build() {
+  cd "${_module}-${pkgver}"
+  python setup.py build
+}
+
+check() {
+  cd "${_module}-${pkgver}"
+  PYTHONPATH=$PWD/src/ pytest tests
+}
+
+package() {
+  cd "${_module}-${pkgver}"
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list