summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2017-07-16 16:53:51 (GMT)
committerBritney Fransen <brfransen@gmail.com>2017-07-16 16:53:51 (GMT)
commit014a7837a8984837f9f923a5d8dc5df9c20f9ff2 (patch)
treecf33cd1a15d1be0caea8d5468ac374767fe39bfe /abs
parent2d9a588cb09f138d582707b1ffa7eab2a893dbeb (diff)
downloadlinhes_pkgbuild-014a7837a8984837f9f923a5d8dc5df9c20f9ff2.zip
linhes_pkgbuild-014a7837a8984837f9f923a5d8dc5df9c20f9ff2.tar.gz
linhes_pkgbuild-014a7837a8984837f9f923a5d8dc5df9c20f9ff2.tar.bz2
python2-futures: initial inclusion. dep of flexget
Diffstat (limited to 'abs')
-rw-r--r--abs/core/python_modules/python2-futures/LICENSE21
-rw-r--r--abs/core/python_modules/python2-futures/PKGBUILD30
2 files changed, 51 insertions, 0 deletions
diff --git a/abs/core/python_modules/python2-futures/LICENSE b/abs/core/python_modules/python2-futures/LICENSE
new file mode 100644
index 0000000..c430db0
--- /dev/null
+++ b/abs/core/python_modules/python2-futures/LICENSE
@@ -0,0 +1,21 @@
+Copyright 2009 Brian Quinlan. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+ 1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY BRIAN QUINLAN "AS IS" AND ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
+HALL THE FREEBSD PROJECT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \ No newline at end of file
diff --git a/abs/core/python_modules/python2-futures/PKGBUILD b/abs/core/python_modules/python2-futures/PKGBUILD
new file mode 100644
index 0000000..dcaed42
--- /dev/null
+++ b/abs/core/python_modules/python2-futures/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: Allan McRae <allan@archlinux.org>
+
+pkgname=python2-futures
+_pkgname=futures
+pkgver=3.1.1
+pkgrel=1
+pkgdesc="Backport of the concurrent.futures package from Python 3.2"
+arch=('any')
+url="https://github.com/agronholm/pythonfutures"
+license=('BSD')
+depends=('python2')
+source=("$_pkgname-$pkgver.tar.gz::https://github.com/agronholm/pythonfutures/archive/$pkgver.tar.gz"
+ LICENSE)
+md5sums=('c500fc20a02b83e7ec88dc5bac9649f5'
+ 'dd6708d05936d3f6c4e20ed14c87b5e3')
+
+build() {
+ cd "python$_pkgname-$pkgver"
+ python2 setup.py build
+}
+
+package() {
+ cd "python$_pkgname-$pkgver"
+ python2 setup.py install --root "$pkgdir" --optimize=1
+
+ install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}