[arch-commits] Commit in python-jeepney/repos/community-any (PKGBUILD PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Sat Jul 30 22:29:14 UTC 2022


    Date: Saturday, July 30, 2022 @ 22:29:14
  Author: arojas
Revision: 1259228

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   61 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 31 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-30 22:29:04 UTC (rev 1259227)
+++ PKGBUILD	2022-07-30 22:29:14 UTC (rev 1259228)
@@ -1,30 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-jeepney
-pkgver=0.7.1
-pkgrel=3
-pkgdesc="Low-level, pure Python DBus protocol wrapper"
-url="https://gitlab.com/takluyver/jeepney"
-license=('MIT')
-arch=('any')
-depends=('python')
-checkdepends=('python-pytest' 'python-pytest-trio' 'python-pytest-asyncio' 'python-testpath'
-              'python-trio' 'python-async-timeout')
-source=("https://pypi.io/packages/source/j/jeepney/jeepney-$pkgver.tar.gz")
-sha512sums=('f0af5a18a669f1a6322925201cad83ee01bc5a1b91577565042fd8a18b506a3650ff67b0ba333c8fb3b179f43ef243d16b07a9a1f7a7e5baec825dda0e6b0571')
-
-build() {
-  cd jeepney-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd jeepney-$pkgver
-  pytest
-}
-
-package() {
-  cd jeepney-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-jeepney/repos/community-any/PKGBUILD (from rev 1259227, python-jeepney/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-30 22:29:14 UTC (rev 1259228)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-jeepney
+pkgver=0.8.0
+pkgrel=1
+pkgdesc="Low-level, pure Python DBus protocol wrapper"
+url="https://gitlab.com/takluyver/jeepney"
+license=('MIT')
+arch=('any')
+depends=('python')
+checkdepends=('python-pytest' 'python-pytest-trio' 'python-pytest-asyncio' 'python-testpath'
+              'python-trio' 'python-async-timeout')
+makedepends=('python-build' 'python-installer' 'python-flit-core')
+source=("https://pypi.io/packages/source/j/jeepney/jeepney-$pkgver.tar.gz")
+sha512sums=('823675f262c2c9778ccf9c1083601d936cca534fc0d2d9309b52aa6beeb7f73d225a37c5f18f6b0683c4829a93b1299a2cb4f8f341e55b92bedf58c8dce0aa75')
+
+build() {
+  cd jeepney-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd jeepney-$pkgver
+  pytest
+}
+
+package() {
+  cd jeepney-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list