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

David Runge dvzrv at archlinux.org
Tue Apr 7 19:11:05 UTC 2020


    Date: Tuesday, April 7, 2020 @ 19:11:05
  Author: dvzrv
Revision: 612483

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-07 19:10:35 UTC (rev 612482)
+++ PKGBUILD	2020-04-07 19:11:05 UTC (rev 612483)
@@ -1,61 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=khard
-pkgver=0.16.0
-pkgrel=1
-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=('3bc9c580ea3e1a4aa38366a50beaa7ae5ae40688100024ecef058cc899ac22ff9b47fbdb5279ee2377d8340edeb7e6e896c910f4f3d9a93ae4323952bb8765d4')
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-  make -C doc singlehtml man
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  pytest -v
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --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"
-  # html
-  install -vDm 644 "doc/build/singlehtml/index.html" \
-    -t "${pkgdir}/usr/share/doc/${pkgname}/html"
-  install -vDm 644 "doc/build/singlehtml/_static/"*.{css,js,png} \
-    -t "${pkgdir}/usr/share/doc/${pkgname}/html/_static"
-}

Copied: khard/repos/community-any/PKGBUILD (from rev 612482, khard/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-07 19:11:05 UTC (rev 612483)
@@ -0,0 +1,61 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=khard
+pkgver=0.16.1
+pkgrel=1
+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=('617959667807e3108e4e73d8c9600da80d09daededdffcb0025941bff8f6ed3fc12f02dd2e0f39d1dc9cad125bf386308ed311e59ea5fa366fa9979ebe10aa62')
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+  make -C doc singlehtml man
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  pytest -v
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --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"
+  # html
+  install -vDm 644 "doc/build/singlehtml/index.html" \
+    -t "${pkgdir}/usr/share/doc/${pkgname}/html"
+  install -vDm 644 "doc/build/singlehtml/_static/"*.{css,js,png} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}/html/_static"
+}



More information about the arch-commits mailing list