From ef05e56e541fd332a9d807f293550786ef68b1de Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Wed, 2 Mar 2022 12:08:24 +0530 Subject: [PATCH] python-pygithub: update to 1.55 * Add python-pynacl dependency. * Install license file. --- mingw-w64-python-pygithub/PKGBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/mingw-w64-python-pygithub/PKGBUILD b/mingw-w64-python-pygithub/PKGBUILD index 4adbe8ddcd..12cdc0d4d7 100644 --- a/mingw-w64-python-pygithub/PKGBUILD +++ b/mingw-w64-python-pygithub/PKGBUILD @@ -3,8 +3,8 @@ _realname=pygithub pkgbase=mingw-w64-python-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}") -pkgver=1.54.1 -pkgrel=2 +pkgver=1.55 +pkgrel=1 pkgdesc="Use the full Github API v3 (mingw-w64)" arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clang32') @@ -12,14 +12,15 @@ url="https://github.com/PyGithub/PyGithub/" license=('LGPL') depends=("${MINGW_PACKAGE_PREFIX}-python-deprecated" "${MINGW_PACKAGE_PREFIX}-python-pyjwt" - "${MINGW_PACKAGE_PREFIX}-python-requests") + "${MINGW_PACKAGE_PREFIX}-python-requests" + "${MINGW_PACKAGE_PREFIX}-python-pynacl") makedepends=("${MINGW_PACKAGE_PREFIX}-python-setuptools") checkdepends=("${MINGW_PACKAGE_PREFIX}-python-pytest" "${MINGW_PACKAGE_PREFIX}-python-cryptography" "${MINGW_PACKAGE_PREFIX}-python-httpretty" "${MINGW_PACKAGE_PREFIX}-python-parameterized") source=("${_realname}-${pkgver}.tar.gz::https://github.com/PyGithub/PyGithub/archive/v${pkgver}.tar.gz") -sha256sums=('40e6b59cda272e0094d6044efb60b14f0c3b94eba006c9f360f6f3e338a478ed') +sha256sums=('c674e5cceba1f2cf0d7ea79da66cf31f1131e86c41cd66a2330890f74327c0e1') prepare() { cd "${srcdir}" @@ -43,4 +44,6 @@ package() { MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \ ${MINGW_PREFIX}/bin/python setup.py install --prefix=${MINGW_PREFIX} \ --root="${pkgdir}" --optimize=1 --skip-build + + install -vDm644 COPYING "${pkgdir}${MINGW_PREFIX}/share/licenses/python-${_realname}/COPYING" }