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

Daniel M. Capella polyzen at archlinux.org
Thu Dec 24 02:53:56 UTC 2020


    Date: Thursday, December 24, 2020 @ 02:53:56
  Author: polyzen
Revision: 786078

archrelease: copy trunk to community-any

Added:
  khal/repos/community-any/PKGBUILD
    (from rev 786077, khal/trunk/PKGBUILD)
Deleted:
  khal/repos/community-any/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-24 02:53:37 UTC (rev 786077)
+++ PKGBUILD	2020-12-24 02:53:56 UTC (rev 786078)
@@ -1,61 +0,0 @@
-# Maintainer: David Runge <dvzrv 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=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-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}"
-  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 786077, khal/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-24 02:53:56 UTC (rev 786078)
@@ -0,0 +1,68 @@
+# 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}"
+}



More information about the arch-commits mailing list