python-future: Update to 0.18.1

This commit is contained in:
Alexey Pavlov
2019-10-24 23:20:46 +03:00
parent be4bde2ab4
commit d15a59bf0b

View File

@@ -3,8 +3,8 @@
_realname=future
pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=0.17.1
pkgrel=2
pkgver=0.18.1
pkgrel=1
pkgdesc="Clean single-source support for Python 3 and 2 (mingw-w64)"
arch=('any')
url='https://python-future.org/'
@@ -16,15 +16,15 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python2"
checkdepends=("${MINGW_PACKAGE_PREFIX}-python3-requests"
"${MINGW_PACKAGE_PREFIX}-python2-requests")
options=('staticlibs' 'strip' '!debug')
source=("https://pypi.io/packages/source/f/future/future-$pkgver.tar.gz")
sha256sums=('67045236dcfd6816dc439556d009594abf643e5eb48992e36beac09c2ca659b8')
source=("https://pypi.io/packages/source/f/future/future-${pkgver}.tar.gz")
sha256sums=('858e38522e8fd0d3ce8f0c1feaf0603358e366d5403209674c7b617fa0c24093')
# Helper macros to help make tasks easier #
apply_patch_with_msg() {
for _patch in "$@"
do
msg2 "Applying $_patch"
patch -Nbp1 -i "${srcdir}/$_patch"
patch -Nbp1 -i "${srcdir}/${_patch}"
done
}
@@ -45,7 +45,7 @@ prepare() {
cp -r "${_realname}-${pkgver}" "${builddir}"
done
# Set version for setuptools_scm
export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver}
}
# Note that build() is sometimes skipped because it's done in