summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg2015-06-01 15:35:12 +0200
committerJohannes Löthberg2015-06-08 12:22:41 +0200
commitba1817d395db51c7f837cce2d3de3f4d1ff43e52 (patch)
tree95a33e7bbe3bce359358289a7ca5c5a547ae758a
downloadaur-ba1817d395db51c7f837cce2d3de3f4d1ff43e52.tar.gz
Import python-pylibmc-git
since it wasn't in here..
-rw-r--r--.SRCINFO27
-rw-r--r--PKGBUILD42
2 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b9aec22f947
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,27 @@
+# Generated by makepkg 4.2.1
+# Mon Jun 1 13:54:25 UTC 2015
+pkgbase = python-pylibmc-git
+ pkgdesc = Quick and small memcached client for Python
+ pkgver = r479.a37a30d
+ pkgrel = 1
+ url = http://pypi.python.org/pypi/pylibmc
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = gcc
+ makedepends = zlib
+ source = git+https://github.com/lericson/pylibmc.git
+ md5sums = SKIP
+
+pkgname = python-pylibmc-git
+ depends = python
+ depends = libmemcached
+ provides = python-pylibmc
+ conflicts = python-pylibmc
+
+pkgname = python2-pylibmc-git
+ depends = python2
+ depends = libmemcached
+ provides = python2-pylibmc
+ conflicts = python2-pylibmc
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..57dca4c2990
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Johannes Löthberg <johannes@kyriasis.com>
+
+pkgbase=python-pylibmc-git
+pkgname=(python-pylibmc-git python2-pylibmc-git)
+pkgver=r479.a37a30d
+pkgrel=1
+
+pkgdesc="Quick and small memcached client for Python"
+url="http://pypi.python.org/pypi/pylibmc"
+arch=("i686" "x86_64")
+license=("GPL")
+
+makedepends=('gcc' 'zlib')
+
+source=('git+https://github.com/lericson/pylibmc.git')
+
+md5sums=('SKIP')
+
+pkgver() {
+ cd pylibmc
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package_python-pylibmc-git() {
+ provides=('python-pylibmc')
+ conflicts=('python-pylibmc')
+
+ depends=('python' 'libmemcached')
+
+ cd pylibmc
+ python setup.py install --root="$pkgdir"
+}
+
+package_python2-pylibmc-git() {
+ provides=('python2-pylibmc')
+ conflicts=('python2-pylibmc')
+
+ depends=('python2' 'libmemcached')
+
+ cd pylibmc
+ python2 setup.py install --root="$pkgdir"
+}