[arch-commits] Commit in todoman/trunk (PKGBUILD)

David Runge dvzrv at gemini.archlinux.org
Mon Dec 13 19:12:41 UTC 2021


    Date: Monday, December 13, 2021 @ 19:12:41
  Author: dvzrv
Revision: 1072086

upgpkg: todoman 4.1.0-1: Upgrade to 4.1.0.

Remove unused python-configobj and python-tabulate dependencies.
Remove unneeded modification for python-configobj.
Simplify quoting in file.
Cleanups.

Modified:
  todoman/trunk/PKGBUILD

----------+
 PKGBUILD |   46 +++++++++++++++++++++-------------------------
 1 file changed, 21 insertions(+), 25 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-13 19:12:14 UTC (rev 1072085)
+++ PKGBUILD	2021-12-13 19:12:41 UTC (rev 1072086)
@@ -2,31 +2,31 @@
 # Maintainer: Morten Linderud <foxboron at archlinux.org>
 
 pkgname=todoman
-pkgver=4.0.1
-pkgrel=2
+pkgver=4.1.0
+pkgrel=1
 pkgdesc="A simple, standards-based, cli todo (aka: task) manager"
-arch=('any')
+arch=(any)
 url="https://github.com/pimutils/todoman"
-license=('ISC')
-depends=('python-atomicwrites' 'python-click' 'python-click-log'
-'python-configobj' 'python-dateutil' 'python-humanize' 'python-icalendar'
-'python-parsedatetime' 'python-pyxdg' 'python-tabulate' 'python-urwid')
-makedepends=('python-sphinx-autorun' 'python-sphinx-click' 'python-sphinx_rtd_theme' 'python-setuptools-scm')
-checkdepends=('python-freezegun' 'python-hypothesis' 'python-pytest'
-'python-pytest-runner')
-optdepends=('bash-completion: auto-complete in bash'
-            'python-click-repl: REPL command'
-            'zsh-completions: auto-complete in zsh')
+license=(ISC)
+depends=(python-atomicwrites python-click python-click-log python-dateutil
+python-humanize python-icalendar python-parsedatetime python-pyxdg
+python-urwid)
+makedepends=(python-sphinx-autorun python-sphinx-click python-sphinx_rtd_theme python-setuptools-scm)
+checkdepends=(python-freezegun python-hypothesis python-pytest
+python-pytest-runner)
+optdepends=(
+  'bash-completion: auto-complete in bash'
+  'python-click-repl: REPL command'
+  'zsh-completions: auto-complete in zsh'
+)
 source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('606be4553330741bb664c2261ba33f9feb68023c38c4e5278febadae3c9267d5bcc0b63966a41ac3d2ec38f44c16f9368ec502d2ce1a782a9108ca4a38d9e04c')
-b2sums=('029c09e5d29d9f3f9ffa6419f9506b9227bab1659dfec0287989ba6c2ce4043111cb82def2934f1d07fa51473725c7a8dfae6d87671ea1aaebba4e9099edcce8')
+sha512sums=('3e4789470794baf692a3d3d51952fafc35a18de40f4ddbf705b960208e8c4f406c3ea8adbd910d1bb603ef594346d57b18d698651c159e53068ca35ace23353b')
+b2sums=('dc98a8ac33181b3f5076509d39067b53edd3b7e9e41f8b47bd3e9a04b8d978115c31d37d54ea97cc5008871ae849970b33631cdcc9b2bf12106bf03c9dd2f23c')
 
 prepare() {
   cd "$pkgname-$pkgver"
   # remove interfering options to pytest
   sed -e '/addopts/d' -i setup.cfg
-  sed -i 's/from validate/from configobj.validate/g' todoman/configuration.py
-  sed -i 's/import validate/import configobj.validate as validate/' docs/source/conf.py
 }
 
 build() {
@@ -47,8 +47,7 @@
   cd "$pkgname-$pkgver"
   python setup.py install --optimize=1 --root="${pkgdir}"
   # docs
-  install -vDm 644 {AUTHORS,CHANGELOG,CODE_OF_CONDUCT,README}.rst \
-    -t "${pkgdir}/usr/share/doc/${pkgname}/"
+  install -vDm 644 {AUTHORS,CHANGELOG,CODE_OF_CONDUCT,README}.rst -t "${pkgdir}/usr/share/doc/${pkgname}/"
   # manpages
   install -vDm 644 docs/build/man/*.1 -t "$pkgdir/usr/share/man/man1/"
   # license
@@ -55,11 +54,8 @@
   # wrong name: https://github.com/pimutils/todoman/issues/319
   install -vDm 644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
   # sample config
-  install -vDm 644 "config.py.sample" \
-    -t "${pkgdir}/usr/share/doc/${pkgname}/examples/"
+  install -vDm 644 "config.py.sample" -t "${pkgdir}/usr/share/doc/${pkgname}/examples/"
   # completions
-  install -vDm 644 contrib/completion/bash/_todo \
-    "${pkgdir}/usr/share/bash-completion/completions/todo"
-  install -vDm 644 contrib/completion/zsh/_todo \
-    "${pkgdir}/usr/share/zsh/site-functions/_todo"
+  install -vDm 644 contrib/completion/bash/_todo "${pkgdir}/usr/share/bash-completion/completions/todo"
+  install -vDm 644 contrib/completion/zsh/_todo -t "${pkgdir}/usr/share/zsh/site-functions/"
 }



More information about the arch-commits mailing list