summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaphael Scholer2015-08-05 02:30:41 +0200
committerRaphael Scholer2015-08-05 02:30:41 +0200
commitafe537e80af65842f623b3d4134f61432a8e5ce8 (patch)
tree9330d6a17eb4c85fb7f594ec95fb076f7e65f3d2
downloadaur-afe537e80af65842f623b3d4134f61432a8e5ce8.tar.gz
Initial commit
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD21
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..18b6e6655fa
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = python-pep8-naming
+ pkgdesc = This module provides a name plugin for flake8, the Python code checker.
+ pkgver = 0.3.3
+ pkgrel = 1
+ url = https://github.com/flintwork/pep8-naming
+ arch = any
+ license = MIT
+ makedepends = python-setuptools
+ depends = python
+ source = python-pep8-naming-0.3.3.tar.gz::https://github.com/flintwork/pep8-naming/archive/0.3.3.tar.gz
+ md5sums = 5f2fdf9aed3e417f5289f0deb1c1bbef
+
+pkgname = python-pep8-naming
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ec40ec53ae1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Raphael Scholer <rascholer@gmail.com>
+_pkgname=pep8-naming
+pkgname="python-${_pkgname}"
+pkgver=0.3.3
+pkgrel=1
+pkgdesc="This module provides a name plugin for flake8, the Python code checker."
+arch=('any')
+url="https://github.com/flintwork/${_pkgname}"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+source=("${pkgname}-${pkgver}.tar.gz"::"${url}/archive/${pkgver}.tar.gz")
+md5sums=('5f2fdf9aed3e417f5289f0deb1c1bbef')
+
+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
+}