summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-04-11 19:48:56 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-04-11 19:48:56 (GMT)
commitcf629cc97b709a56c1d286c8edf15e777c45bb6f (patch)
tree70bac2132179350c652556dfabaa9c83efb726bb
parent679fbb27905a57e4dd65fe1c5cd4231deaa6622c (diff)
downloadlinhes_pkgbuild-cf629cc97b709a56c1d286c8edf15e777c45bb6f.zip
linhes_pkgbuild-cf629cc97b709a56c1d286c8edf15e777c45bb6f.tar.gz
linhes_pkgbuild-cf629cc97b709a56c1d286c8edf15e777c45bb6f.tar.bz2
python-future: rebuild
-rw-r--r--abs/core/python_modules/python-future/PKGBUILD16
-rw-r--r--abs/core/python_modules/python-future/__changelog1
2 files changed, 8 insertions, 9 deletions
diff --git a/abs/core/python_modules/python-future/PKGBUILD b/abs/core/python_modules/python-future/PKGBUILD
index 1b96edc..3cc7fa5 100644
--- a/abs/core/python_modules/python-future/PKGBUILD
+++ b/abs/core/python_modules/python-future/PKGBUILD
@@ -5,15 +5,15 @@
# Contributor: Melissa Padilla <mpadilla2 at hotmail dot com>
pkgbase=python-future
-pkgname=(python2-future)
+pkgname=(python-future python2-future)
pkgver=0.16.0
-pkgrel=2
+pkgrel=3
pkgdesc="Clean single-source support for Python 3 and 2"
url="http://python-future.org/"
arch=('any')
license=('MIT')
-makedepends=('python2-setuptools')
-checkdepends=('python2-requests')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-requests' 'python2-requests')
options=('!emptydirs')
source=("https://pypi.io/packages/source/f/future/future-$pkgver.tar.gz")
sha256sums=('e39ced1ab767b5936646cedba8bcce582398233d6a627067d4c6a454c90cfedb')
@@ -23,16 +23,16 @@ prepare() {
}
build() {
-# cd "$srcdir"/future-$pkgver
-# python setup.py build
+ cd "$srcdir"/future-$pkgver
+ python setup.py build
cd "$srcdir"/future-$pkgver-py2
python2 setup.py build
}
check() {
-# cd "$srcdir"/future-$pkgver
-# PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python setup.py test || warning "Tests failed"
+ cd "$srcdir"/future-$pkgver
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python setup.py test || warning "Tests failed"
cd "$srcdir"/future-$pkgver-py2
PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 setup.py test
diff --git a/abs/core/python_modules/python-future/__changelog b/abs/core/python_modules/python-future/__changelog
deleted file mode 100644
index 60db758..0000000
--- a/abs/core/python_modules/python-future/__changelog
+++ /dev/null
@@ -1 +0,0 @@
-PKGBUILD: remove py3 stuff