[arch-commits] Commit in (4 files)

Daniel M. Capella polyzen at archlinux.org
Fri Dec 28 05:42:12 UTC 2018


    Date: Friday, December 28, 2018 @ 05:42:11
  Author: polyzen
Revision: 418595

Initial commit

Added:
  python-dulwich/
  python-dulwich/repos/
  python-dulwich/trunk/
  python-dulwich/trunk/PKGBUILD

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Added: python-dulwich/trunk/PKGBUILD
===================================================================
--- python-dulwich/trunk/PKGBUILD	                        (rev 0)
+++ python-dulwich/trunk/PKGBUILD	2018-12-28 05:42:11 UTC (rev 418595)
@@ -0,0 +1,32 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: Timothée Ravier <tim at siosm.fr>
+
+_name=dulwich
+pkgname=python-dulwich
+pkgver=0.19.9
+pkgrel=1
+pkgdesc='Pure-Python implementation of the Git file formats and protocols'
+arch=('any')
+url=https://www.dulwich.io
+license=('GPL')
+depends=('python')
+checkdepends=('python-urllib3')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
+sha256sums=('5e1e39555f594939a8aff1ca08b3bdf6c7efd4b941c2850760983a0197240974')
+
+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:



More information about the arch-commits mailing list