From bbec2d5ee8375e3577e7046cbeffdd6add505823 Mon Sep 17 00:00:00 2001 From: Alexey Pavlov Date: Wed, 27 Feb 2019 09:14:05 +0300 Subject: [PATCH] python-websocket-client: Update to 0.55.0 --- mingw-w64-python-websocket-client/PKGBUILD | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/mingw-w64-python-websocket-client/PKGBUILD b/mingw-w64-python-websocket-client/PKGBUILD index 0d3bb63d18..3cb5ef6f7c 100644 --- a/mingw-w64-python-websocket-client/PKGBUILD +++ b/mingw-w64-python-websocket-client/PKGBUILD @@ -3,8 +3,8 @@ _realname=websocket-client pkgbase=mingw-w64-python-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}") -pkgver=0.54.0 -pkgrel=2 +pkgver=0.55.0 +pkgrel=1 pkgdesc="websocket client for python (mingw-w64)" arch=('any') url='https://github.com/websocket-client/websocket-client' @@ -17,14 +17,15 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python2" "${MINGW_PACKAGE_PREFIX}-python3-setuptools" "${MINGW_PACKAGE_PREFIX}-python3-six") options=('staticlibs' 'strip' '!debug') -source=("${_realname}-${pkgver}.tar.gz"::"https://github.com/websocket-client/websocket-client/archive/v${pkgver}.tar.gz") -sha512sums=('be3b81b33522b2b860a48e616ce6607f064af28da341d540803c944521949421d665b07a21fa977a045d4d4bd5a4ef30959e36a3dea96ced5e24005c5f4214c7') +source=(#"${_realname}-${pkgver}.tar.gz"::"https://github.com/websocket-client/websocket-client/archive/v${pkgver}.tar.gz" + "https://pypi.io/packages/source/w/${_realname}/${_realname//-/_}-${pkgver}.tar.gz") +sha256sums=('f6029deea21218f2c771848935aa26c15699c831770f4fa66958bdaabff80ca0') prepare() { cd "${srcdir}" for builddir in python{2,3}-build-${CARCH}; do rm -rf ${builddir} | true - cp -r "${_realname}-${pkgver}" "${builddir}" + cp -r "${_realname//-/_}-${pkgver}" "${builddir}" done # Set version for setuptools_scm export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver