[arch-commits] Commit in khal/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at archlinux.org
Fri Dec 25 01:19:23 UTC 2020
Date: Friday, December 25, 2020 @ 01:19:22
Author: polyzen
Revision: 789360
archrelease: copy trunk to community-any
Added:
khal/repos/community-any/PKGBUILD
(from rev 789359, khal/trunk/PKGBUILD)
Deleted:
khal/repos/community-any/PKGBUILD
----------+
PKGBUILD | 131 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 63 insertions(+), 68 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-25 01:19:04 UTC (rev 789359)
+++ PKGBUILD 2020-12-25 01:19:22 UTC (rev 789360)
@@ -1,68 +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>
-# Contributor: Daniel M. Capella <polyzen at archlinux.info>
-
-_name=khal
-pkgname=khal
-pkgver=0.10.2
-pkgrel=3
-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=('e15449b73175190f02b6fe5774a8feef8a5390966da3836624c94a044d146cc6e8a73985d991042fbb617f736c6759ded387a65292529e71f5b2f34bc80a686e')
-b2sums=('0c7c4ab1234ebe90ef9ad8291f2a0087a3f6a60d25f5426445eedadb25f236b3598dacc051e959a108ad472efc56628bf7ba11ed714c885d956f1a8f905029ca')
-
-prepare() {
- cd "${pkgname}-${pkgver}"
- sed -i 's/from validate/from configobj.validate/' khal/settings/{settings.py,utils.py}
- sed -i 's/import validate/import configobj.validate as validate/' doc/source/conf.py
-}
-
-build() {
- cd "${pkgname}-${pkgver}"
- python setup.py build
- make -C doc man PYTHONPATH="${PWD}"
-}
-
-check() {
- cd "${pkgname}-${pkgver}"
- pytest -v \
- || echo "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 -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 789359, khal/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-25 01:19:22 UTC (rev 789360)
@@ -0,0 +1,63 @@
+# 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: Daniel M. Capella <polyzen at archlinux.info>
+
+_name=khal
+pkgname=khal
+pkgver=0.10.2
+pkgrel=4
+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=('e15449b73175190f02b6fe5774a8feef8a5390966da3836624c94a044d146cc6e8a73985d991042fbb617f736c6759ded387a65292529e71f5b2f34bc80a686e')
+b2sums=('0c7c4ab1234ebe90ef9ad8291f2a0087a3f6a60d25f5426445eedadb25f236b3598dacc051e959a108ad472efc56628bf7ba11ed714c885d956f1a8f905029ca')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py build
+ make -C doc man PYTHONPATH="${PWD}"
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ pytest -v \
+ || echo "Tests from hell: https://github.com/pimutils/khal/issues/860"
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ export PYTHONHASHSEED=0
+ 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 -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