[arch-commits] Commit in khal/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Thu Jul 7 22:25:20 UTC 2022
Date: Thursday, July 7, 2022 @ 22:25:20
Author: polyzen
Revision: 1248376
archrelease: copy trunk to community-any
Added:
khal/repos/community-any/PKGBUILD
(from rev 1248375, khal/trunk/PKGBUILD)
Deleted:
khal/repos/community-any/PKGBUILD
----------+
PKGBUILD | 139 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 72 insertions(+), 67 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-07 22:24:57 UTC (rev 1248375)
+++ PKGBUILD 2022-07-07 22:25:20 UTC (rev 1248376)
@@ -1,67 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-# Contributor: eolianoe <eolianoe [at] googlemail [dot] com>
-# Contributor: Hugo Osvaldo Barrera <hugo at barrera.io>
-# Contributor: Thomas Weißschuh <thomas t-8ch de>
-# Contributor: Étienne Deparis <etienne [at] depar [dot] is>
-
-pkgname=khal
-pkgver=0.10.5
-pkgrel=1
-pkgdesc='CLI calendar application build around CalDAV'
-arch=('any')
-url="https://lostpackets.de/khal/"
-license=('MIT')
-makedepends=('python-setuptools-scm' 'python-sphinxcontrib-newsfeed')
-depends=('python-atomicwrites' 'python-click' 'python-click-log'
- 'python-configobj' 'python-dateutil' 'python-icalendar' 'python-pytz'
- 'python-pyxdg' 'python-urwid' 'python-tzlocal')
-optdepends=('python-setproctitle: Set process name'
- 'vdirsyncer: Synchronize CalDAV calendars')
-checkdepends=('python-pytest' 'python-freezegun' 'vdirsyncer')
-source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('4eefb7ac302a26d8606db392817587a4ed94c27a15bf2ea211614a464fcf0c76')
-b2sums=('195e61fcff7cff1308f2819ec54c5733acebb5ace18f88afa8fc561926857dab3e0e0b82d1f7e3e0235e69ed9ad56544d6eeb95a9e9829dc078d49ebf96c0485')
-
-build() {
- cd "${pkgname}-${pkgver}"
- python setup.py build
- make -C doc man PYTHONPATH="${PWD}"
-}
-
-check() {
- cd "${pkgname}-${pkgver}"
- env
- export PYTHONPATH="build:${PYTHONPATH}"
- export LC_ALL="C"
- pytest -v
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- python setup.py install --skip-build \
- --optimize=1 \
- --root="${pkgdir}"
- # executables
- install -vDm 755 bin/{i,}"${pkgname}" -t "$pkgdir/usr/bin/"
- # configuration
- install -vDm 644 "${pkgname}.conf.sample" \
- "${pkgdir}/usr/share/doc/${pkgname}/examples/${pkgname}.conf"
- # man page
- install -vDm 644 doc/build/man/${pkgname}.1 \
- -t "${pkgdir}/usr/share/man/man1/"
- # completions
- install -vd \
- "${pkgdir}/usr/share/"{bash-completion/completions,fish/vendor_completions.d,zsh/site-functions}
- _KHAL_COMPLETE=bash_source "$pkgdir"/usr/bin/khal > \
- "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
- _KHAL_COMPLETE=fish_source "$pkgdir"/usr/bin/khal > \
- "${pkgdir}/usr/share/fish/vendor_completions.d/${pkgname}.fish"
- _KHAL_COMPLETE=zsh_source "$pkgdir"/usr/bin/khal > \
- "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
- # license
- install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
- # docs
- install -vDm 644 {AUTHORS.txt,{CHANGELOG,CONTRIBUTING,README}.rst} \
- -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
Copied: khal/repos/community-any/PKGBUILD (from rev 1248375, khal/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-07-07 22:25:20 UTC (rev 1248376)
@@ -0,0 +1,72 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+# Contributor: eolianoe <eolianoe [at] googlemail [dot] com>
+# Contributor: Hugo Osvaldo Barrera <hugo at barrera.io>
+# Contributor: Thomas Weißschuh <thomas t-8ch de>
+# Contributor: Étienne Deparis <etienne [at] depar [dot] is>
+# Contributor: Max Gautier <mg at max.gautier.name>
+
+pkgname=khal
+pkgver=0.10.5
+pkgrel=2
+pkgdesc='CLI calendar application build around CalDAV'
+arch=('any')
+url="https://lostpackets.de/khal/"
+license=('MIT')
+makedepends=('python-setuptools-scm' 'python-sphinxcontrib-newsfeed')
+depends=('python-atomicwrites' 'python-click' 'python-click-log'
+ 'python-configobj' 'python-dateutil' 'python-icalendar' 'python-pytz'
+ 'python-pyxdg' 'python-urwid' 'python-tzlocal')
+optdepends=('gawk: for mutt2khal'
+ 'python-setproctitle: to set process name'
+ 'vdirsyncer: to synchronize CalDAV calendars')
+checkdepends=('python-pytest' 'python-freezegun' 'vdirsyncer')
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('4eefb7ac302a26d8606db392817587a4ed94c27a15bf2ea211614a464fcf0c76')
+b2sums=('195e61fcff7cff1308f2819ec54c5733acebb5ace18f88afa8fc561926857dab3e0e0b82d1f7e3e0235e69ed9ad56544d6eeb95a9e9829dc078d49ebf96c0485')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py build
+ make -C doc man PYTHONPATH="${PWD}"
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ env
+ export PYTHONPATH="build:${PYTHONPATH}"
+ export LC_ALL="C"
+ pytest -v
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --root="${pkgdir}"
+ # executables
+ install -vDm 755 bin/{i,}"${pkgname}" misc/mutt2khal -t "$pkgdir/usr/bin/"
+ # configuration
+ install -vDm 644 "${pkgname}.conf.sample" \
+ "${pkgdir}/usr/share/doc/${pkgname}/examples/${pkgname}.conf"
+ # man page
+ install -vDm 644 doc/build/man/${pkgname}.1 \
+ -t "${pkgdir}/usr/share/man/man1/"
+ # completions
+ install -vd \
+ "${pkgdir}/usr/share/"{bash-completion/completions,fish/vendor_completions.d,zsh/site-functions}
+ _KHAL_COMPLETE=bash_source "$pkgdir"/usr/bin/khal > \
+ "${pkgdir}/usr/share/bash-completion/completions/${pkgname}"
+ _KHAL_COMPLETE=fish_source "$pkgdir"/usr/bin/khal > \
+ "${pkgdir}/usr/share/fish/vendor_completions.d/${pkgname}.fish"
+ _KHAL_COMPLETE=zsh_source "$pkgdir"/usr/bin/khal > \
+ "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
+ # desktop file
+ install -vDm 644 misc/khal.desktop \
+ -t "${pkgdir}/usr/share/applications/"
+ # license
+ install -vDm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ # docs
+ install -vDm 644 {AUTHORS.txt,{CHANGELOG,CONTRIBUTING,README}.rst} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list