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

Daniel M. Capella polyzen at archlinux.org
Thu Dec 24 02:54:31 UTC 2020


    Date: Thursday, December 24, 2020 @ 02:54:30
  Author: polyzen
Revision: 786081

archrelease: copy trunk to community-any

Added:
  khard/repos/community-any/PKGBUILD
    (from rev 786080, khard/trunk/PKGBUILD)
Deleted:
  khard/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  120 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 63 insertions(+), 57 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-24 02:54:12 UTC (rev 786080)
+++ PKGBUILD	2020-12-24 02:54:30 UTC (rev 786081)
@@ -1,57 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=khard
-pkgver=0.17.0
-pkgrel=2
-pkgdesc="Console CardDAV client"
-arch=('any')
-url="https://github.com/scheibler/khard"
-license=('GPL3')
-depends=('python-atomicwrites' 'python-configobj' 'python-ruamel-yaml'
-'python-setuptools' 'python-unidecode' 'python-vobject')
-makedepends=('python-sphinx-autoapi' 'python-sphinx-autodoc-typehints'
-'python-setuptools_scm' 'python-sphinx')
-checkdepends=('python-pytest')
-optdepends=('vdirsyncer: Synchronization of address books with a DAV server'
-            'diffutils: Using sdiff_khard_wrapper.sh')
-source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('9cb936aeaa327b9837488a752906bf603429ca0c7240703829220119049f5f62e84f7e4c90bb81799307fe446c3aa47fe6ee4112c276b6bb329c959be438ba25')
-b2sums=('488e1df70212c856d8dfa43955e681344fb1a257d765c81820444f6435d39aec782da9d01edeeaac0b9a87412db680fde368c39c74faa82b0eff2d7a0a2dbc6b')
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-  make -C doc man
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  pytest -v
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  export PYTHONHASHSEED=0
-  python setup.py install --skip-build \
-                          --optimize=1 \
-                          --root="${pkgdir}"
-  # additional wrapper script
-  install -vDm 755 "misc/sdiff/sdiff_${pkgname}_wrapper.sh" \
-    "${pkgdir}/usr/lib/${pkgname}/sdiff_${pkgname}_wrapper.sh"
-  # twinkle integration
-  install -vDm 644 misc/twinkle/scripts/*.py \
-    -t "${pkgdir}/usr/share/${pkgname}/twinkle/scripts/"
-  install -vDm 644 misc/twinkle/sounds/*.ogg \
-    -t "${pkgdir}/usr/share/${pkgname}/twinkle/sounds/"
-  # zsh
-  install -vDm 644 "misc/zsh/_"*"${pkgname}" \
-    -t "${pkgdir}/usr/share/zsh/site-functions/"
-  # docs
-  install -vDm 644 {CHANGES,CONTRIBUTING.rst,README.md} \
-    -t "${pkgdir}/usr/share/doc/${pkgname}/"
-  # man
-  install -vDm 644 "doc/build/man/${pkgname}.1" \
-    -t "${pkgdir}/usr/share/man/man1"
-  install -vDm 644 "doc/build/man/${pkgname}.conf.5" \
-    -t "${pkgdir}/usr/share/man/man5"
-}

Copied: khard/repos/community-any/PKGBUILD (from rev 786080, khard/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-24 02:54:30 UTC (rev 786081)
@@ -0,0 +1,63 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=khard
+pkgver=0.17.0
+pkgrel=3
+pkgdesc="Console CardDAV client"
+arch=('any')
+url="https://github.com/scheibler/khard"
+license=('GPL3')
+depends=('python-atomicwrites' 'python-configobj' 'python-ruamel-yaml'
+'python-setuptools' 'python-unidecode' 'python-vobject')
+makedepends=('python-sphinx-autoapi' 'python-sphinx-autodoc-typehints'
+'python-setuptools_scm' 'python-sphinx')
+checkdepends=('python-pytest')
+optdepends=('vdirsyncer: Synchronization of address books with a DAV server'
+            'diffutils: Using sdiff_khard_wrapper.sh')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('9cb936aeaa327b9837488a752906bf603429ca0c7240703829220119049f5f62e84f7e4c90bb81799307fe446c3aa47fe6ee4112c276b6bb329c959be438ba25')
+b2sums=('488e1df70212c856d8dfa43955e681344fb1a257d765c81820444f6435d39aec782da9d01edeeaac0b9a87412db680fde368c39c74faa82b0eff2d7a0a2dbc6b')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  sed -i 's/import validate/import configobj.validate as validate/' khard/config.py
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+  make -C doc man
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  pytest -v
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  export PYTHONHASHSEED=0
+  python setup.py install --skip-build \
+                          --optimize=1 \
+                          --root="${pkgdir}"
+  # additional wrapper script
+  install -vDm 755 "misc/sdiff/sdiff_${pkgname}_wrapper.sh" \
+    "${pkgdir}/usr/lib/${pkgname}/sdiff_${pkgname}_wrapper.sh"
+  # twinkle integration
+  install -vDm 644 misc/twinkle/scripts/*.py \
+    -t "${pkgdir}/usr/share/${pkgname}/twinkle/scripts/"
+  install -vDm 644 misc/twinkle/sounds/*.ogg \
+    -t "${pkgdir}/usr/share/${pkgname}/twinkle/sounds/"
+  # zsh
+  install -vDm 644 "misc/zsh/_"*"${pkgname}" \
+    -t "${pkgdir}/usr/share/zsh/site-functions/"
+  # docs
+  install -vDm 644 {CHANGES,CONTRIBUTING.rst,README.md} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}/"
+  # man
+  install -vDm 644 "doc/build/man/${pkgname}.1" \
+    -t "${pkgdir}/usr/share/man/man1"
+  install -vDm 644 "doc/build/man/${pkgname}.conf.5" \
+    -t "${pkgdir}/usr/share/man/man5"
+}



More information about the arch-commits mailing list