python-ndg-httpsclient: update to 0.5.0 (#3987)

This commit is contained in:
Andrew Sun
2018-06-20 00:31:34 -04:00
committed by Алексей
parent 9a89a7723a
commit 1cbd6d65b6

View File

@@ -1,9 +1,10 @@
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
_pyname=ndg_httpsclient
_realname=ndg-httpsclient
pkgbase=mingw-w64-python-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=0.4.4
pkgver=0.5.0
pkgrel=1
pkgdesc="Provides enhanced HTTPS support for httplib and urllib2 using PyOpenSSL (mingw-w64)"
url='https://pypi.python.org/pypi/ndg-httpsclient'
@@ -15,14 +16,14 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-python2-setuptools"
"${MINGW_PACKAGE_PREFIX}-python3-pyasn1"
"${MINGW_PACKAGE_PREFIX}-python2-pyopenssl"
"${MINGW_PACKAGE_PREFIX}-python3-pyopenssl")
_dtoken="6c/dd/4d4f1ad1158830b364beee70cb59f651018f36de24da80e52e47f80bc19f"
source=(https://pypi.python.org/packages/${_dtoken}/ndg_httpsclient-${pkgver}.tar.gz)
sha256sums=('fba4d4798dcac2965874f24afb6631b4326baa4bd02505744d34f690c354856a')
#_dtoken="6c/dd/4d4f1ad1158830b364beee70cb59f651018f36de24da80e52e47f80bc19f"
source=("${_realname}-${pkgver}.tar.gz"::"https://files.pythonhosted.org/packages/source/n/${_realname}/${_pyname}-${pkgver}.tar.gz")
sha256sums=('c009f5430790936b3a97eaf9f968516664d97e146ab2bda991f0caadb7cc088b')
prepare() {
cd ${srcdir}
cp -r ndg_httpsclient-${pkgver} python2-build-${CARCH}
cp -r ndg_httpsclient-${pkgver} python3-build-${CARCH}
cp -r ${_pyname}-${pkgver} python2-build-${CARCH}
cp -r ${_pyname}-${pkgver} python3-build-${CARCH}
}
build() {