[arch-commits] Commit in todoman/repos/community-testing-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Sun Aug 5 12:02:24 UTC 2018
Date: Sunday, August 5, 2018 @ 12:02:23
Author: dvzrv
Revision: 368376
archrelease: copy trunk to community-testing-any
Added:
todoman/repos/community-testing-any/PKGBUILD
(from rev 368375, todoman/trunk/PKGBUILD)
Deleted:
todoman/repos/community-testing-any/PKGBUILD
----------+
PKGBUILD | 118 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 59 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-05 12:02:17 UTC (rev 368375)
+++ PKGBUILD 2018-08-05 12:02:23 UTC (rev 368376)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: David Runge <dave at sleepmap.de>
-pkgname=todoman
-pkgver=3.4.0
-pkgrel=3
-pkgdesc="A simple, standards-based, cli todo (aka: task) manager"
-arch=('any')
-url="https://github.com/pimutils/todoman/blob/master/setup.py"
-license=('GPL')
-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 368375, todoman/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-05 12:02:23 UTC (rev 368376)
@@ -0,0 +1,59 @@
+# $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"
+}
More information about the arch-commits
mailing list