diff options
author | neodarz | 2020-06-04 18:01:21 +0200 |
---|---|---|
committer | neodarz | 2020-06-04 18:01:21 +0200 |
commit | f2f12612d436dbc1c4174f55debdd403e4ea2963 (patch) | |
tree | 24f56a5c82bafc693d1f701024907ff7504dd62a | |
download | aur-python-flake8-pep3101.tar.gz |
Inital commit
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3ccb7fdf2bca --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = python-flake8-pep3101 + pkgdesc = Checks for old string formatting. + pkgver = 1.3.0 + pkgrel = 1 + url = https://github.com/gforcada/flake8-pep3101 + arch = any + license = GPLv2 + depends = python + source = https://github.com/gforcada/flake8-pep3101/archive/1.3.0.tar.gz + sha512sums = 48bbe5f202f86ba054648344d7d7b0de5341e773d2f3cfc5a715ea80f7402240692903c0d383a80c5c135d175ecd856db3f0cd076b8c0dc8da9bee11b3f59a33 + +pkgname = python-flake8-pep3101 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..33bb4d1fc71f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: neodarz <neodarz at neodarz dot net> + +_pkgname=flake8-pep3101 +pkgname=python-$_pkgname + +pkgver=1.3.0 +pkgrel=1 +pkgdesc="Checks for old string formatting." + +url='https://github.com/gforcada/flake8-pep3101' +arch=('any') +license=('GPLv2') + +depends=('python') + +source=("https://github.com/gforcada/$_pkgname/archive/$pkgver.tar.gz") +sha512sums=('48bbe5f202f86ba054648344d7d7b0de5341e773d2f3cfc5a715ea80f7402240692903c0d383a80c5c135d175ecd856db3f0cd076b8c0dc8da9bee11b3f59a33') + +package() { + cd "$_pkgname-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 +} + |