Date: Sunday, September 4, 2022 @ 18:53:15
  Author: polyzen
Revision: 1292874

archrelease: copy trunk to community-x86_64

Added:
  python-dulwich/repos/community-x86_64/PKGBUILD
    (from rev 1292873, python-dulwich/trunk/PKGBUILD)
Deleted:
  python-dulwich/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   81 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 41 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2022-09-04 18:52:54 UTC (rev 1292873)
+++ PKGBUILD    2022-09-04 18:53:15 UTC (rev 1292874)
@@ -1,40 +0,0 @@
-# Maintainer: Daniel M. Capella <poly...@archlinux.org>
-# Contributor: Timothée Ravier <t...@siosm.fr>
-
-_name=dulwich
-pkgname=python-dulwich
-pkgver=0.20.45
-pkgrel=1
-pkgdesc='Pure-Python implementation of the Git file formats and protocols'
-arch=('x86_64')
-url=https://www.dulwich.io
-license=('GPL')
-depends=('python-certifi' 'python-urllib3')
-makedepends=('python-setuptools')
-checkdepends=('python-gpgme' 'python-paramiko')
-optdepends=('python-fastimport: for fast-import support'
-            'python-gpgme: for PGP signature support'
-            'python-idna: for HTTPS support via urllib3'
-            'python-paramiko: for use as the SSH implementation'
-            'python-pyopenssl: for HTTPS support via urllib3'
-            'python-pyinotify: to watch for changes to refs')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
-sha256sums=('70710dd9ca2a442190c7e506892db074c318ac762e221f7529b8ce34802041b7')
-b2sums=('4eb6731312bd8bb45d35efdc1e640dd2cfb118b633de461c4f9ffa2a9e50258bada2c77b4d4bf2e72bc9947f143f89fd720e4e9411f0f84d67ab208f39f7b4b8')
-
-build() {
-  cd $_name-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $_name-$pkgver
-  python -m venv --system-site-packages test-env
-  test-env/bin/python setup.py install --optimize=1 --skip-build
-  test-env/bin/python -m unittest dulwich.tests.test_suite
-}
-
-package() {
-  cd $_name-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}

Copied: python-dulwich/repos/community-x86_64/PKGBUILD (from rev 1292873, 
python-dulwich/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2022-09-04 18:53:15 UTC (rev 1292874)
@@ -0,0 +1,41 @@
+# Maintainer: Daniel M. Capella <poly...@archlinux.org>
+# Contributor: Timothée Ravier <t...@siosm.fr>
+
+_name=dulwich
+pkgname=python-dulwich
+pkgver=0.20.45
+pkgrel=2
+pkgdesc='Pure-Python implementation of the Git file formats and protocols'
+arch=('x86_64')
+url=https://www.dulwich.io
+license=('GPL')
+depends=('python-certifi' 'python-urllib3')
+makedepends=('python-build' 'python-installer' 'python-setuptools'
+             'python-wheel')
+checkdepends=('python-gpgme' 'python-paramiko')
+optdepends=('python-fastimport: for fast-import support'
+            'python-gpgme: for PGP signature support'
+            'python-idna: for HTTPS support via urllib3'
+            'python-paramiko: for use as the SSH implementation'
+            'python-pyopenssl: for HTTPS support via urllib3'
+            'python-pyinotify: to watch for changes to refs')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
+sha256sums=('70710dd9ca2a442190c7e506892db074c318ac762e221f7529b8ce34802041b7')
+b2sums=('4eb6731312bd8bb45d35efdc1e640dd2cfb118b633de461c4f9ffa2a9e50258bada2c77b4d4bf2e72bc9947f143f89fd720e4e9411f0f84d67ab208f39f7b4b8')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  python -m venv --system-site-packages test-env
+  test-env/bin/python -m installer dist/*.whl
+  test-env/bin/python -m unittest dulwich.tests.test_suite
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}

Reply via email to