summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Cooper2015-08-25 12:59:58 -0700
committerMike Cooper2015-08-25 12:59:58 -0700
commitd2a302c9175ab8a531d08d6554a7a747e4bc3de6 (patch)
tree1b5a0c17b9251ddd88629657ead4f94b746eeab8
downloadaur-d2a302c9175ab8a531d08d6554a7a747e4bc3de6.tar.gz
Initial commit - 0.2.0
-rw-r--r--.SRCINFO14
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD19
3 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9c22d000cce
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = field
+ pkgdesc = Extact fields from a file or stdin
+ pkgver = 0.2.0
+ pkgrel = 1
+ url = https://pypi.python.org/pypi/field/0.2.0
+ arch = any
+ license = GPL3
+ depends = python2
+ options = !emptydirs
+ source = https://pypi.python.org/packages/source/f/field/field-0.2.0.tar.gz
+ md5sums = 64eb76b875a128041eb31b625b435616
+
+pkgname = field
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..38ba3a46e41
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/pkg/
+/src/
+/field-*.tar.gz
+/field-*.pkg.tar.xz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ca4f28cf4e0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,19 @@
+# Maintainer: Mike Cooper <mythmon@elem.us>
+pkgname=field
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="Extact fields from a file or stdin"
+arch=('any')
+url="https://pypi.python.org/pypi/field/0.2.0"
+license=('GPL3')
+depends=('python2')
+options=(!emptydirs)
+source=("https://pypi.python.org/packages/source/${pkgname:0:1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('64eb76b875a128041eb31b625b435616')
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et: