summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin A. Shelton2015-06-25 19:56:40 -0600
committerBenjamin A. Shelton2015-06-25 19:56:40 -0600
commit023c3cb456fbb67d7f337499c5d8ef706b57110b (patch)
tree57d87add8fec0e6ac9154075a422eb91580d5504
downloadaur-023c3cb456fbb67d7f337499c5d8ef706b57110b.tar.gz
Initial commit.
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD22
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e295cc223db
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = python-httpagentparser
+ pkgdesc = Extracts OS browser information from the user agent string.
+ pkgver = 1.7.7
+ pkgrel = 1
+ url = http://pypi.python.org/pypi/httpagentparser
+ arch = any
+ license = MIT
+ makedepends = python-setuptools
+ depends = python
+ source = https://pypi.python.org/packages/source/h/httpagentparser/httpagentparser-1.7.7.tar.gz
+ md5sums = 1977d91ece2617e92fd5f1a5336e8320
+
+pkgname = python-httpagentparser
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6056e0a75df
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Benjamin A. Shelton <zancarius@gmail.com>
+# Source: https://github.com/zancarius/archlinux-pkgbuilds
+
+pkgname=python-httpagentparser
+pkgver=1.7.7
+pkgrel=1
+pkgdesc="Extracts OS browser information from the user agent string."
+arch=(any)
+url="http://pypi.python.org/pypi/httpagentparser"
+license=(MIT)
+depends=(python)
+makedepends=(python-setuptools)
+
+source=("https://pypi.python.org/packages/source/h/httpagentparser/httpagentparser-${pkgver}.tar.gz")
+md5sums=(1977d91ece2617e92fd5f1a5336e8320)
+
+package () {
+
+ cd "${srcdir}/httpagentparser-${pkgver}"
+ python setup.py install --root="${pkgdir}/" --optimize=1
+
+}