Date: Sunday, May 14, 2023 @ 11:14:08
  Author: arojas
Revision: 1461584

archrelease: copy trunk to community-any

Added:
  python-pygithub/repos/community-any/PKGBUILD
    (from rev 1461582, python-pygithub/trunk/PKGBUILD)
Deleted:
  python-pygithub/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   60 +++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 31 insertions(+), 29 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-05-14 11:14:06 UTC (rev 1461583)
+++ PKGBUILD    2023-05-14 11:14:08 UTC (rev 1461584)
@@ -1,29 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-pygithub
-pkgver=1.57
-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' 'python-pynacl')
-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=('6c8880d21c5134581be6bc5549184c3f13cef8f360a46a459234f22f3dd4fc5f8b573cc3a5d870bba6c6129ff7b670e739d87e42f2e34ddcdf357a3fe2b3cadc')
-
-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
-}

Copied: python-pygithub/repos/community-any/PKGBUILD (from rev 1461582, 
python-pygithub/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-05-14 11:14:08 UTC (rev 1461584)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-pygithub
+pkgver=1.58.2
+pkgrel=1
+pkgdesc="Use the full Github API v3"
+arch=('any')
+license=('LGPL')
+url="https://github.com/PyGithub/PyGithub";
+depends=('python-deprecated' 'python-pyjwt' 'python-requests' 'python-pynacl')
+makedepends=('python-setuptools-scm')
+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=('00e9fb09bfc96971a55cbda62a89ad84aa7cfa0c1a98c74faebcbd46843f29b98f8635cef9737699438e1413c6286d4faf4444756677334330ebe4a71c9e74f2')
+
+build() {
+  cd PyGithub-$pkgver
+  SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver} \
+  python setup.py build
+}
+
+check() {
+  cd PyGithub-$pkgver
+  python -m pytest
+}
+
+package() {
+  cd PyGithub-$pkgver
+  SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver} \
+  python setup.py install --root="$pkgdir" --optimize=1
+}

Reply via email to