summaryrefslogtreecommitdiff
path: root/pcr/python2-sendfile/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-11-26 03:03:39 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-11-26 03:03:39 -0200
commit9dc45be37a94602eaf8fc8a37b75d27562b95c76 (patch)
treec14c41bce7ea506fb8e823966b88ea69eaa13036 /pcr/python2-sendfile/PKGBUILD
parent5c508409510096b2a656cf0534ef6388c3b120fb (diff)
parent76f02e67987546467ddcdb2d006533c9d8e791b5 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/python2-sendfile/PKGBUILD')
-rw-r--r--pcr/python2-sendfile/PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/pcr/python2-sendfile/PKGBUILD b/pcr/python2-sendfile/PKGBUILD
new file mode 100644
index 000000000..3de2d5a48
--- /dev/null
+++ b/pcr/python2-sendfile/PKGBUILD
@@ -0,0 +1,22 @@
+# Contributor: Josh Chase <jcjoshuachase@gmail.com>
+# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>
+
+pkgname=python2-sendfile
+_pkgname=py-sendfile
+pkgver=1.2.3
+pkgrel=1
+pkgdesc="pysendfile"
+url="http://code.google.com/p/pysendfile"
+license=('MIT')
+arch=('i686' 'x86_64')
+depends=('python2' 'setuptools')
+conflicts=()
+replaces=()
+backup=()
+source=("http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
+
+build() {
+ cd $srcdir/$_pkgname-$pkgver
+ python2 setup.py build
+ python2 setup.py install --root=$pkgdir
+ }