Date: Thursday, May 4, 2023 @ 01:27:41
Author: svenstaro
Revision: 1458699
archrelease: copy trunk to community-any
Added:
python-github3py/repos/community-any/PKGBUILD
(from rev 1458698, python-github3py/trunk/PKGBUILD)
Deleted:
python-github3py/repos/community-any/PKGBUILD
----------+
PKGBUILD | 50 +++++++++++++++++++++++++-------------------------
1 file changed, 25 insertions(+), 25 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-05-04 01:27:33 UTC (rev 1458698)
+++ PKGBUILD 2023-05-04 01:27:41 UTC (rev 1458699)
@@ -1,25 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <[email protected]>
-# Contributor: Diego Nieto Cid <[email protected]>
-
-pkgname=python-github3py
-pkgver=3.2.0
-pkgrel=4
-pkgdesc="A comprehensive wrapper around the GitHub API (v3)"
-arch=("any")
-url="https://github.com/sigmavirus24/github3.py"
-license=("BSD")
-makedepends=("python-setuptools")
-depends=("python" "python-requests" "python-uritemplate" "python-dateutil"
"python-jwcrypto")
-source=("$pkgname-$pkgver.tar.gz::https://github.com/sigmavirus24/github3.py/archive/refs/tags/$pkgver.tar.gz")
-sha256sums=('42cf8e721437a0bcfb05e767302c3221cdc96f3e9db3d76ce990fd0526af1d99')
-
-build() {
- cd "github3.py-${pkgver}"
- python setup.py build
-}
-
-package() {
- cd "github3.py-${pkgver}"
- python setup.py install --skip-build --root="${pkgdir}" --optimize=1
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
-}
Copied: python-github3py/repos/community-any/PKGBUILD (from rev 1458698,
python-github3py/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-05-04 01:27:41 UTC (rev 1458699)
@@ -0,0 +1,25 @@
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+# Contributor: Diego Nieto Cid <[email protected]>
+
+pkgname=python-github3py
+pkgver=4.0.1
+pkgrel=1
+pkgdesc="A comprehensive wrapper around the GitHub API (v3)"
+arch=("any")
+url="https://github.com/sigmavirus24/github3.py"
+license=("BSD")
+makedepends=("python-build" "python-installer" "python-hatchling")
+depends=("python" "python-requests" "python-uritemplate" "python-dateutil"
"python-jwcrypto")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/sigmavirus24/github3.py/archive/refs/tags/$pkgver.tar.gz")
+sha256sums=('7a1c3f157aa3b9e0973e957ac0b402c09a83d405247d278c10eb4c390977f132')
+
+build() {
+ cd "github3.py-${pkgver}"
+ python -m build --wheel --no-isolation
+}
+
+package() {
+ cd "github3.py-${pkgver}"
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
+}