[arch-commits] Commit in khard/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Sat Apr 4 20:36:53 UTC 2020
Date: Saturday, April 4, 2020 @ 20:36:53
Author: dvzrv
Revision: 611737
archrelease: copy trunk to community-any
Added:
khard/repos/community-any/PKGBUILD
(from rev 611736, khard/trunk/PKGBUILD)
Deleted:
khard/repos/community-any/PKGBUILD
----------+
PKGBUILD | 121 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 61 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-04 20:36:47 UTC (rev 611736)
+++ PKGBUILD 2020-04-04 20:36:53 UTC (rev 611737)
@@ -1,60 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-pkgname=khard
-pkgver=0.15.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-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=('64ba1acf7e4046cd2e93034eb6e56fa38390993121880109a83411ef10839272b63e32c84efd9508230a93aed2b9a965f8333ed32344204f179ada936d9cce48')
-
-build() {
- cd "$pkgname-$pkgver"
- python setup.py build
- make -C doc singlehtml man
-}
-
-check() {
- cd "$pkgname-$pkgver"
- python setup.py test
-}
-
-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/*.wav \
- -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 {AUTHORS,CHANGES,README.md} \
- "misc/${pkgname}/"*.{example,yaml} \
- -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 611736, khard/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-04 20:36:53 UTC (rev 611737)
@@ -0,0 +1,61 @@
+# 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"
+}
More information about the arch-commits
mailing list