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

David Runge dvzrv at gemini.archlinux.org
Tue Sep 21 09:01:00 UTC 2021


    Date: Tuesday, September 21, 2021 @ 09:00:59
  Author: dvzrv
Revision: 1020127

upgpkg: todoman 4.0.0-2: Rebuild to clean up dependencies.

Remove python-setuptools from depends as it is not required during runtime.
Simplify installation in package() to adhere to python package guidelines.

Modified:
  todoman/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-21 08:55:59 UTC (rev 1020126)
+++ PKGBUILD	2021-09-21 09:00:59 UTC (rev 1020127)
@@ -3,7 +3,7 @@
 
 pkgname=todoman
 pkgver=4.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="A simple, standards-based, cli todo (aka: task) manager"
 arch=('any')
 url="https://github.com/pimutils/todoman"
@@ -10,8 +10,7 @@
 license=('ISC')
 depends=('python-atomicwrites' 'python-click' 'python-click-log'
 'python-configobj' 'python-dateutil' 'python-humanize' 'python-icalendar'
-'python-parsedatetime' 'python-pyxdg' 'python-setuptools' 'python-tabulate'
-'python-urwid')
+'python-parsedatetime' 'python-pyxdg' 'python-tabulate' 'python-urwid')
 makedepends=('python-sphinx-autorun' 'python-sphinx-click' 'python-setuptools-scm')
 checkdepends=('python-freezegun' 'python-hypothesis' 'python-pytest'
 'python-pytest-runner')
@@ -46,9 +45,7 @@
 
 package() {
   cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-                          --optimize=1 \
-                          --root="${pkgdir}"
+  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}/"



More information about the arch-commits mailing list