diff options
author | Hugo Osvaldo Barrera | 2018-08-07 14:05:44 -0300 |
---|---|---|
committer | Hugo Osvaldo Barrera | 2018-08-07 14:05:44 -0300 |
commit | 54d12e509e1b3f237d22e589725adc65208578dd (patch) | |
tree | 43418a569aba6cb138a43ffba265619563d61ba8 | |
parent | 61547913c8faf4c24977a2662ab0887bb205228e (diff) | |
download | aur-54d12e509e1b3f237d22e589725adc65208578dd.tar.gz |
Rename package to python-flake8-sql
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 12 insertions, 7 deletions
@@ -1,6 +1,6 @@ # Generated by mksrcinfo v8 -# Sat Aug 12 22:47:25 UTC 2017 -pkgbase = flake8-sql +# Tue Aug 7 17:05:34 UTC 2018 +pkgbase = python-flake8-sql pkgdesc = Plugin that checks SQL code against opinionated style rules. pkgver = 0.2.0 pkgrel = 1 @@ -8,8 +8,10 @@ pkgbase = flake8-sql arch = any license = MIT depends = flake8 + provides = flake8-sql + replaces = flake8-sql source = https://github.com/pgjones/flake8-sql/archive/0.2.0.tar.gz md5sums = 1cde8e06c25aec0a415c32aafd8567f3 -pkgname = flake8-sql +pkgname = python-flake8-sql @@ -1,23 +1,26 @@ # Maintainer: Hugo Osvaldo Barrera <hugo@barrera.io> -pkgname="flake8-sql" +pkgname="python-flake8-sql" +_pkgname=flake8-sql pkgver=0.2.0 pkgrel=1 pkgdesc="Plugin that checks SQL code against opinionated style rules." arch=('any') -url="https://github.com/pgjones/${pkgname}" +url="https://github.com/pgjones/${_pkgname}" license=('MIT') depends=('flake8') +replaces=('flake8-sql') +provides=('flake8-sql') source=("https://github.com/pgjones/flake8-sql/archive/$pkgver.tar.gz") md5sums=('1cde8e06c25aec0a415c32aafd8567f3') build() { - cd "${pkgname}-${pkgver}" + cd "${_pkgname}-${pkgver}" python setup.py build } package() { - cd "${pkgname}-${pkgver}" + cd "${_pkgname}-${pkgver}" python setup.py install --root="${pkgdir}" --optimize=1 install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" |