summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven-Hendrik Haase2016-06-28 01:25:16 +0200
committerSven-Hendrik Haase2016-06-28 01:25:16 +0200
commit97571908c393d07a6ccf10f3bbfcbe86dfb6d6c0 (patch)
treec1cc2612289b51a3ecf045d51eb618568d1a2743
parent8e542f06bd9fa204505e397b4091d426d98f0691 (diff)
downloadaur-97571908c393d07a6ccf10f3bbfcbe86dfb6d6c0.tar.gz
upstream release 0.4.1
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD18
2 files changed, 16 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7668ada4db5..891c1bbfc34 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
pkgbase = python-pep8-naming
pkgdesc = This module provides a name plugin for flake8, the Python code checker.
- pkgver = 0.3.3
- pkgrel = 2
+ pkgver = 0.4.1
+ pkgrel = 1
url = https://github.com/flintwork/pep8-naming
arch = any
license = MIT
makedepends = python-setuptools
depends = python
conflicts = python-pep8-naming
- source = python-pep8-naming-0.3.3.tar.gz::https://github.com/flintwork/pep8-naming/archive/0.3.3.tar.gz
- md5sums = 5f2fdf9aed3e417f5289f0deb1c1bbef
+ source = python-pep8-naming-0.4.1.tar.gz::https://github.com/flintwork/pep8-naming/archive/0.4.1.tar.gz
+ md5sums = 392bdb012310a621242c17365b9947c5
pkgname = python-pep8-naming
diff --git a/PKGBUILD b/PKGBUILD
index 82555185a42..c8432b11b8a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Raphael Scholer <rascholer@gmail.com>
_pkgname=pep8-naming
pkgname="python-${_pkgname}"
-pkgver=0.3.3
-pkgrel=2
+pkgver=0.4.1
+pkgrel=1
pkgdesc="This module provides a name plugin for flake8, the Python code checker."
arch=('any')
url="https://github.com/flintwork/${_pkgname}"
@@ -11,12 +11,18 @@ license=('MIT')
depends=('python')
makedepends=('python-setuptools')
source=("${pkgname}-${pkgver}.tar.gz"::"${url}/archive/${pkgver}.tar.gz")
-md5sums=('5f2fdf9aed3e417f5289f0deb1c1bbef')
+md5sums=('392bdb012310a621242c17365b9947c5')
+
+build() {
+ cd "${_pkgname}-${pkgver}"
+
+ python setup.py build
+}
package() {
cd "${_pkgname}-${pkgver}"
- python setup.py install --prefix="/usr" --root="${pkgdir}" --optimize=1
- install -m 755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m 755 -t "${pkgdir}/usr/share/licenses/${pkgname}" LICENSE
+ python setup.py install --prefix="/usr" --root="${pkgdir}" --optimize=1
+ install -Dm755 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}"/LICENSE
}
+# vim:set ts=2 sw=2 et: