[arch-commits] Commit in khal/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Tue May 7 20:57:02 UTC 2019
Date: Tuesday, May 7, 2019 @ 20:57:02
Author: dvzrv
Revision: 462515
archrelease: copy trunk to community-any
Added:
khal/repos/community-any/PKGBUILD
(from rev 462514, khal/trunk/PKGBUILD)
Deleted:
khal/repos/community-any/PKGBUILD
----------+
PKGBUILD | 121 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 61 insertions(+), 60 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-07 20:56:57 UTC (rev 462514)
+++ PKGBUILD 2019-05-07 20:57:02 UTC (rev 462515)
@@ -1,60 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-# 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: Daniel M. Capella <polyzen at archlinux.info>
-
-_name=khal
-pkgname=khal
-pkgver=0.9.10
-pkgrel=1
-pkgdesc='CLI calendar application build around CalDAV'
-arch=('any')
-url="http://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-setuptools' 'python-tzlocal' 'python-urwid' 'python-xdg')
-optdepends=('python-setproctitle: Set process name'
- 'vdirsyncer: Synchronize CalDAV calendars')
-checkdepends=('python-pytest' 'python-freezegun' 'vdirsyncer')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('7618e34e35726670721dfd12e1434d5ffe4221ffad5d751ef26dc26edab4334c847582bbd4f50cfb93f37a07397ccc467e240adaf3dcf1d9446e0ca6faff7721')
-
-build() {
- cd "${pkgname}-${pkgver}"
- python setup.py build
- make -C doc man PYTHONPATH="${PWD}"
-}
-
-check() {
- cd "${pkgname}-${pkgver}"
- py.test
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- python setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --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/"
- # zsh completion
- install -vDm 644 "misc/__${pkgname}" \
- "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
- # license
- install -vDm 644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- # docs
- install -t "${pkgdir}/usr/share/doc/${pkgname}" \
- -vDm 644 {AUTHORS.txt,{CHANGELOG,CONTRIBUTING,README}.rst}
-}
-
Copied: khal/repos/community-any/PKGBUILD (from rev 462514, khal/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-05-07 20:57:02 UTC (rev 462515)
@@ -0,0 +1,61 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+# 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: Daniel M. Capella <polyzen at archlinux.info>
+
+_name=khal
+pkgname=khal
+pkgver=0.10.1
+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-setuptools' 'python-tzlocal' 'python-urwid' 'python-xdg')
+optdepends=('python-setproctitle: Set process name'
+ 'vdirsyncer: Synchronize CalDAV calendars')
+checkdepends=('python-pytest' 'python-freezegun' 'vdirsyncer')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('5b81a60099c201fa112ab17740b73edb17b29efa1548086766d57d9d595451e7d779aad5a2ce7a2afc78050116782ff6696c4bd284021a5e12c87fe361d15e47')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py build
+ make -C doc man PYTHONPATH="${PWD}"
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ py.test -v \
+ || msg "Tests from hell: https://github.com/pimutils/khal/issues/860"
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --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/"
+ # zsh completion
+ install -vDm 644 "misc/__${pkgname}" \
+ "${pkgdir}/usr/share/zsh/site-functions/_${pkgname}"
+ # license
+ install -vDm 644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ # docs
+ install -t "${pkgdir}/usr/share/doc/${pkgname}" \
+ -vDm 644 {AUTHORS.txt,{CHANGELOG,CONTRIBUTING,README}.rst}
+}
+
More information about the arch-commits
mailing list