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

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


    Date: Sunday, December 30, 2018 @ 15:44:09
  Author: jelle
Revision: 419313

archrelease: copy trunk to community-any

Added:
  python-flake8-polyfill/repos/community-any/
  python-flake8-polyfill/repos/community-any/PKGBUILD
    (from rev 419312, python-flake8-polyfill/trunk/PKGBUILD)

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

Copied: python-flake8-polyfill/repos/community-any/PKGBUILD (from rev 419312, python-flake8-polyfill/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-12-30 15:44:09 UTC (rev 419313)
@@ -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