summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNBonaparte2018-08-08 21:10:11 -0700
committerNBonaparte2018-08-08 21:10:11 -0700
commitf5918141df7e86282e80f17fc223784313829d13 (patch)
tree6d7f7897e779e86306483e3512ef3e7676723ac8
downloadaur-f5918141df7e86282e80f17fc223784313829d13.tar.gz
init
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD18
2 files changed, 32 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9d16369c8fd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = python-simplegeneric
+ pkgdesc = Simple generic functions (similar to Python's own len(), pickle.dump(), etc.)
+ pkgver = 0.8.1
+ pkgrel = 1
+ url = http://cheeseshop.python.org/pypi/simplegeneric
+ arch = any
+ license = ZPL
+ makedepends = python-setuptools
+ depends = python
+ source = https://pypi.python.org/packages/source/s/simplegeneric/simplegeneric-0.8.1.zip
+ sha256sums = dc972e06094b9af5b855b3df4a646395e43d1c9d0d39ed345b7393560d0b9173
+
+pkgname = python-simplegeneric
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..159345918c2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,18 @@
+_pkgname=simplegeneric
+pkgname=python-${_pkgname}
+pkgver=0.8.1
+pkgrel=1
+pkgdesc="Simple generic functions (similar to Python's own len(), pickle.dump(), etc.)"
+arch=('any')
+url="http://cheeseshop.python.org/pypi/simplegeneric"
+license=('ZPL')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://pypi.python.org/packages/source/s/${_pkgname}/${_pkgname}-${pkgver}.zip")
+sha256sums=('dc972e06094b9af5b855b3df4a646395e43d1c9d0d39ed345b7393560d0b9173')
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+