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

David Runge dvzrv at archlinux.org
Thu Sep 19 11:17:40 UTC 2019


    Date: Thursday, September 19, 2019 @ 11:17:39
  Author: dvzrv
Revision: 511171

archrelease: copy trunk to community-any

Added:
  todoman/repos/community-any/PKGBUILD
    (from rev 511170, todoman/trunk/PKGBUILD)
Deleted:
  todoman/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  113 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 57 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-19 11:17:23 UTC (rev 511170)
+++ PKGBUILD	2019-09-19 11:17:39 UTC (rev 511171)
@@ -1,56 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-pkgname=todoman
-pkgver=3.5.0
-pkgrel=1
-pkgdesc="A simple, standards-based, cli todo (aka: task) manager"
-arch=('any')
-url="https://github.com/pimutils/todoman"
-license=('ISC')
-depends=('python-atomicwrites' 'python-click-log' 'python-configobj'
-'python-dateutil' 'python-humanize' 'python-icalendar' 'python-parsedatetime'
-'python-xdg' 'python-setuptools' 'python-tabulate' 'python-urwid')
-checkdepends=('python-freezegun' 'python-hypothesis' '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=('673e87708eae0740d80539bbc2c5b423d4604d0ba12789d5ad0de788af6de5323a22e83a4532038bd01b75574dcd2ab5c7d5dff4a01df8347843482fd5992769')
-
-prepare() {
-  cd "$pkgname-$pkgver"
-  # remove interfering options to pytest
-  sed -e '/addopts/d' -i setup.cfg
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  export PYTHONPATH="${PYTHONPATH}:${PWD}"
-  py.test
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --skip-build \
-    --optimize=1 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  # docs
-  install -vDm 644 {AUTHORS,CHANGELOG,CODE_OF_CONDUCT,README}.rst \
-    -t "${pkgdir}/usr/share/doc/${pkgname}/"
-  # license
-  # wrong name: https://github.com/pimutils/todoman/issues/319
-  install -vDm 644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-  # sample config
-  install -vDm 644 "${pkgname}.conf.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"
-}

Copied: todoman/repos/community-any/PKGBUILD (from rev 511170, todoman/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-19 11:17:39 UTC (rev 511171)
@@ -0,0 +1,57 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+pkgname=todoman
+pkgver=3.6.0
+pkgrel=1
+pkgdesc="A simple, standards-based, cli todo (aka: task) manager"
+arch=('any')
+url="https://github.com/pimutils/todoman"
+license=('ISC')
+depends=('python-atomicwrites' 'python-click-log' 'python-configobj'
+'python-dateutil' 'python-humanize' 'python-icalendar' 'python-parsedatetime'
+'python-xdg' 'python-setuptools' 'python-tabulate' 'python-urwid')
+checkdepends=('python-freezegun' 'python-hypothesis' '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=('cd6eeec3087409ceb01a8827f0051585edc5f02de56ce4377e91e8f5dda8cd93975755828e94d095d767eecce658126ec8ad058f861158ae7320e59aa0d8d75c')
+
+prepare() {
+  cd "$pkgname-$pkgver"
+  # remove interfering options to pytest
+  sed -e '/addopts/d' -i setup.cfg
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="${PYTHONPATH}:${PWD}"
+  # ignoring broken test: https://github.com/pimutils/todoman/issues/365
+  py.test -vv -k 'not test_default_due2'
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  # docs
+  install -vDm 644 {AUTHORS,CHANGELOG,CODE_OF_CONDUCT,README}.rst \
+    -t "${pkgdir}/usr/share/doc/${pkgname}/"
+  # license
+  # wrong name: https://github.com/pimutils/todoman/issues/319
+  install -vDm 644 LICENCE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  # sample config
+  install -vDm 644 "${pkgname}.conf.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"
+}


More information about the arch-commits mailing list