diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-04-11 19:48:56 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-04-11 19:48:56 (GMT) |
commit | cf629cc97b709a56c1d286c8edf15e777c45bb6f (patch) | |
tree | 70bac2132179350c652556dfabaa9c83efb726bb /abs/core/python_modules/python-future/PKGBUILD | |
parent | 679fbb27905a57e4dd65fe1c5cd4231deaa6622c (diff) | |
download | linhes_pkgbuild-cf629cc97b709a56c1d286c8edf15e777c45bb6f.zip linhes_pkgbuild-cf629cc97b709a56c1d286c8edf15e777c45bb6f.tar.gz linhes_pkgbuild-cf629cc97b709a56c1d286c8edf15e777c45bb6f.tar.bz2 |
python-future: rebuild
Diffstat (limited to 'abs/core/python_modules/python-future/PKGBUILD')
-rw-r--r-- | abs/core/python_modules/python-future/PKGBUILD | 16 |
1 files changed, 8 insertions, 8 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 |