diff options
author | Hugo Osvaldo Barrera | 2021-05-06 18:13:15 +0200 |
---|---|---|
committer | Hugo Osvaldo Barrera | 2021-05-06 18:13:15 +0200 |
commit | 7e57c1d568838f4f13cc2c658e3d4c5a334ae5b6 (patch) | |
tree | fb7d7b836fdf9f25dff4bb3d049c29996b152294 | |
download | aur-7e57c1d568838f4f13cc2c658e3d4c5a334ae5b6.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..589e8e849cc4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python-flake8-efm + pkgdesc = Flake8 plugin for EFM-compatible output. + pkgver = 1.0.0 + pkgrel = 1 + url = https://git.sr.ht/~whynothugo/flake8-efm + arch = any + license = ISC + depends = flake8 + depends = python-setuptools + source = https://files.pythonhosted.org/packages/source/f/flake8-efm/flake8-efm-1.0.0.tar.gz + sha512sums = 3936880f8f7651af8e4638e132a3b73c9c7fa582928b21e753d1199acb27df0388fbf45caeca3c79372a53ee88b449e98a4d251d6a69d54d3d8100f63249e433 + +pkgname = python-flake8-efm + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c6d4cb55630e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Hugo Osvaldo Barrera <hugo@barrera.io> + +_name=flake8-efm +pkgname=python-flake8-efm +pkgver=1.0.0 +pkgrel=1 +pkgdesc='Flake8 plugin for EFM-compatible output.' +arch=('any') +url=https://git.sr.ht/~whynothugo/flake8-efm +license=('ISC') +depends=('flake8' 'python-setuptools') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") +sha512sums=('3936880f8f7651af8e4638e132a3b73c9c7fa582928b21e753d1199acb27df0388fbf45caeca3c79372a53ee88b449e98a4d251d6a69d54d3d8100f63249e433') + +build() { + cd $_name-$pkgver + python setup.py build +} + +# check() { +# cd $_name-$pkgver +# python -m tests.test_bugbear +# } + +package() { + cd $_name-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENCE +} |