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

David Runge dvzrv at archlinux.org
Sun Aug 5 16:51:38 UTC 2018


    Date: Sunday, August 5, 2018 @ 16:51:38
  Author: dvzrv
Revision: 368398

archrelease: copy trunk to community-testing-any

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

----------+
 PKGBUILD |  120 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 61 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-05 16:51:24 UTC (rev 368397)
+++ PKGBUILD	2018-08-05 16:51:38 UTC (rev 368398)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: David Runge <dave at sleepmap.de>
-pkgname=todoman
-pkgver=3.4.0
-pkgrel=4
-pkgdesc="A simple, standards-based, cli todo (aka: task) manager"
-arch=('any')
-url="https://github.com/pimutils/todoman/blob/master/setup.py"
-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')
-makedepends=()
-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")
-md5sums=('b3b8a70275aa4ba6617169eddd84ec08')
-
-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}"
-  #export timezone, so tests pick them up correctly
-  export TZ=UTC
-  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
-  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-testing-any/PKGBUILD (from rev 368397, todoman/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-05 16:51:38 UTC (rev 368398)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+pkgname=todoman
+pkgver=3.4.0
+pkgrel=5
+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')
+makedepends=()
+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=('6d49416f35f5f4375e861d9f20e0076813faed6aa8b02b63de331c3c11ffd27902db10bd7a1ed455075ec09feff24ca5500b7eb348486bcb3250dbbf503a4ade')
+
+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}"
+  # export timezone, so tests pick them up correctly
+  # https://github.com/pimutils/todoman/issues/320
+  export TZ=UTC
+  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"
+}



More information about the arch-commits mailing list