[arch-commits] Commit in python-dulwich/repos/community-x86_64 (PKGBUILD PKGBUILD)

Daniel M. Capella polyzen at gemini.archlinux.org
Wed Jan 5 00:57:25 UTC 2022


    Date: Wednesday, January 5, 2022 @ 00:57:25
  Author: polyzen
Revision: 1093200

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   80 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 41 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-05 00:56:46 UTC (rev 1093199)
+++ PKGBUILD	2022-01-05 00:57:25 UTC (rev 1093200)
@@ -1,39 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: Timothée Ravier <tim at siosm.fr>
-
-_name=dulwich
-pkgname=python-dulwich
-pkgver=0.20.26
-pkgrel=3
-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')
-optdepends=('python-fastimport: for fast-import support'
-            'python-gpgme: for PGP signature support'
-            'python-idna: for HTTPS support via urllib3'
-            '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=('38aa50f859c8ea53071a049c3f1d5cc54f7dc60a4136a1ab631756a79f6582b5')
-b2sums=('1f027d98c214210caae687f0d5afa0ffe9d758942b6ef20a9d2823808ed0b857283698daaed492451ac63a718df1bd6a91e53ea521e1943328fcc963140fe752')
-
-build() {
-  cd $_name-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd $_name-$pkgver
-  python -m unittest dulwich.tests.test_suite
-}
-
-package() {
-  cd $_name-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-dulwich/repos/community-x86_64/PKGBUILD (from rev 1093199, python-dulwich/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-05 00:57:25 UTC (rev 1093200)
@@ -0,0 +1,41 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Timothée Ravier <tim at siosm.fr>
+
+_name=dulwich
+pkgname=python-dulwich
+pkgver=0.20.27
+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')
+optdepends=('python-fastimport: for fast-import support'
+            'python-gpgme: for PGP signature support'
+            'python-idna: for HTTPS support via urllib3'
+            '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=('f5d3fa7659914e7a2b87835a85666c7701d3751f881551653d4cd2560b2a124e')
+b2sums=('73ed04d9fc871a82126e212bdac0eaf235e44aa76f3e54c98bd50f71379fdd3082b2a3af12a22f3276a45909ef17e38a116deb6adfd650cdbfa19afa41803dd1')
+
+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
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list