python-pygithub: update to 1.55

* Add python-pynacl dependency.
* Install license file.
This commit is contained in:
Biswapriyo Nath
2022-03-02 12:08:24 +05:30
committed by GitHub
parent 642e75b091
commit ef05e56e54

View File

@@ -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"
}