From d7fab660f5506c8352252a885d76b04fca06c923 Mon Sep 17 00:00:00 2001 From: dataCobra Date: Thu, 11 Aug 2022 10:46:08 +0200 Subject: [PATCH] khal: update to 0.10.5. --- srcpkgs/khal/template | 29 +++++++++++++------ .../python3-sphinxcontrib-newsfeed/template | 19 ++++++++++++ 2 files changed, 39 insertions(+), 9 deletions(-) create mode 100644 srcpkgs/python3-sphinxcontrib-newsfeed/template diff --git a/srcpkgs/khal/template b/srcpkgs/khal/template index 91143e91002c..f2092c765e1e 100644 --- a/srcpkgs/khal/template +++ b/srcpkgs/khal/template @@ -1,28 +1,39 @@ # Template file for 'khal' pkgname=khal -version=0.10.4 -revision=2 +version=0.10.5 +revision=1 build_style=python3-module -hostmakedepends="python3-setuptools" -depends="python3-setuptools python3-click python3-click-log python3-configobj - python3-dateutil python3-icalendar python3-pytz python3-tzlocal - python3-urwid python3-xdg python3-atomicwrites" +hostmakedepends="python3-setuptools python3-Sphinx python3-sphinxcontrib + python3-sphinxcontrib-newsfeed python3-sphinx_rtd_theme python3-click + python3-click-log python3-configobj python3-dateutil python3-icalendar + python3-pytz python3-tzlocal python3-urwid python3-xdg python3-atomicwrites" +depends="python3-click python3-click-log python3-configobj python3-dateutil + python3-icalendar python3-pytz python3-tzlocal python3-urwid python3-xdg + python3-atomicwrites" checkdepends="python3-pytest python3-freezegun vdirsyncer $depends" short_desc="Command-line calendar build around CalDAV" maintainer="Anachron " license="MIT" homepage="http://lostpackets.de/khal/" +changelog="https://raw.githubusercontent.com/pimutils/khal/master/CHANGELOG.rst" distfiles="${PYPI_SITE}/k/khal/khal-${version}.tar.gz" -checksum=3fdb980a9a61c0206d7a82b16f77b408a4f341a2b866b9c9fcf6a641850d129f -make_check=ci-skip +checksum=4eefb7ac302a26d8606db392817587a4ed94c27a15bf2ea211614a464fcf0c76 +make_check=ci-skip # some tests fail when running as root pre_build() { vsed -i setup.py \ -e '/setup_requires=/d' \ -e "s|use_scm_version=.*|version='${version}',|" } + post_install() { vlicense COPYING - vinstall misc/__khal 644 usr/share/zsh/site-functions + for sh in bash fish zsh; do + env PYTHONPATH=$DESTDIR/$py3_sitelib _KHAL_COMPLETE="${sh}_source" $DESTDIR/usr/bin/khal > "khal.${sh}" + vcompletion "khal.${sh}" $sh + done vsconf khal.conf.sample + cd doc/ + PYTHONPATH=$DESTDIR/$py3_sitelib make man + vman build/man/khal.1 } diff --git a/srcpkgs/python3-sphinxcontrib-newsfeed/template b/srcpkgs/python3-sphinxcontrib-newsfeed/template new file mode 100644 index 000000000000..e49d89caffef --- /dev/null +++ b/srcpkgs/python3-sphinxcontrib-newsfeed/template @@ -0,0 +1,19 @@ +# Template file for 'python3-sphinxcontrib-applehelp' +pkgname=python3-sphinxcontrib-newsfeed +version=0.1.4 +revision=1 +wrksrc=sphinxcontrib-newsfeed-${version} +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +checkdepends="python3-Sphinx" +short_desc="Extension for adding a simple Blog, News or Announcements section to a Sphinx website." +maintainer="Orphaned " +license="BSD-2-Clause" +homepage="http://sphinx-doc.org" +distfiles="${PYPI_SITE}/s/sphinxcontrib-newsfeed/sphinxcontrib-newsfeed-${version}.tar.gz" +checksum="f78c865b1a32d249644a9c46f395b547df0dc21ed69b70898d64235b4755efb4" + +post_install() { + vlicense LICENSE +}