[arch-commits] Commit in python-pygithub/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 17:43:10 UTC 2020
Date: Thursday, November 12, 2020 @ 17:43:10
Author: felixonmars
Revision: 752780
archrelease: copy trunk to community-staging-any
Added:
python-pygithub/repos/community-staging-any/
python-pygithub/repos/community-staging-any/PKGBUILD
(from rev 752777, python-pygithub/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-pygithub/repos/community-staging-any/PKGBUILD (from rev 752777, python-pygithub/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 17:43:10 UTC (rev 752780)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-pygithub
+pkgver=1.53
+pkgrel=2
+pkgdesc="Use the full Github API v3"
+arch=('any')
+license=('LGPL')
+url="https://github.com/PyGithub/PyGithub"
+depends=('python-deprecated' 'python-pyjwt' 'python-requests')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-cryptography' 'python-httpretty' 'python-parameterized')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/PyGithub/PyGithub/archive/v$pkgver.tar.gz")
+sha512sums=('f98d013d5fdf31ee59405c52edb35942ca5a3d2c1ff9653c71f03871bb28d0c247412bfc2593991026ddb989e1a33dfe91d19b4ebb1e89386b54493d51071768')
+
+build() {
+ cd PyGithub-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd PyGithub-$pkgver
+ python -m pytest
+}
+
+package() {
+ cd PyGithub-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list