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

2022-06-08 Thread Daniel M. Capella via arch-commits
Date: Wednesday, June 8, 2022 @ 14:07:09
  Author: polyzen
Revision: 1229304

vit no longer depends on pytz and tzlocal

https://github.com/vit-project/vit/commit/5534f81deee3f3df8d582c4ea220cc71a7496eea

These are still be pulled in via tasklib, but only until its next release:
https://github.com/GothenburgBitFactory/tasklib/commit/0307266a6f1c53110f819064f8b79d00eb73c2d4

Modified:
  vit/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-06-08 14:03:13 UTC (rev 1229303)
+++ PKGBUILD2022-06-08 14:07:09 UTC (rev 1229304)
@@ -8,7 +8,7 @@
 url='https://github.com/vit-project/vit'
 arch=('any')
 license=('MIT')
-depends=('task' 'python' 'python-pytz' 'python-tzlocal' 'python-urwid' 
'python-tasklib')
+depends=('task' 'python' 'python-urwid' 'python-tasklib')
 makedepends=('python-setuptools')
 source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
 sha256sums=('8506844f172d31ecba04c243467c8a5a631de8365f8307ba446ba97b5efe1d5d')



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

2022-05-06 Thread Levente Polyak via arch-commits
Date: Friday, May 6, 2022 @ 23:29:32
  Author: anthraxx
Revision: 1196096

upgpkg: vit 2.2.0-1

Modified:
  vit/trunk/PKGBUILD

--+
 PKGBUILD |8 
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2022-05-06 23:23:12 UTC (rev 1196095)
+++ PKGBUILD2022-05-06 23:29:32 UTC (rev 1196096)
@@ -2,8 +2,8 @@
 # Contributor: Ivan Sichmann Freitas 
 
 pkgname=vit
-pkgver=2.1.0
-pkgrel=2
+pkgver=2.2.0
+pkgrel=1
 pkgdesc='Terminal interface for Taskwarrior with Vim key bindings and 
colorization'
 url='https://github.com/vit-project/vit'
 arch=('any')
@@ -11,8 +11,8 @@
 depends=('task' 'python' 'python-pytz' 'python-tzlocal' 'python-urwid' 
'python-tasklib')
 makedepends=('python-setuptools')
 source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('56676651164fb71878a0c1e4bb369cfa336d46e6fd0de7e6167b57fca7eaf662')
-b2sums=('2d4242399c399808783a670b853b31586471bd12fad2f9109d760569239d1ebcc5ddead4eb6803300d803fcb34b73c3dd42c091d7a619357f26a7bb10801702c')
+sha256sums=('8506844f172d31ecba04c243467c8a5a631de8365f8307ba446ba97b5efe1d5d')
+b2sums=('ee7d483bb418cc7d83e33b8ae350ec21a1b3e015a0029e46a99cd6ffdb8dd01d3fffc054e95458da4deb615a2cc113fc464d90477d1179da024527809759718c')
 
 build() {
   cd ${pkgname}-${pkgver}



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

2021-06-11 Thread Levente Polyak via arch-commits
Date: Saturday, June 12, 2021 @ 00:23:13
  Author: anthraxx
Revision: 963011

upgpkg: vit 2.1.0-1

Modified:
  vit/trunk/PKGBUILD

--+
 PKGBUILD |   31 ---
 1 file changed, 20 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2021-06-12 00:23:05 UTC (rev 963010)
+++ PKGBUILD2021-06-12 00:23:13 UTC (rev 963011)
@@ -2,26 +2,35 @@
 # Contributor: Ivan Sichmann Freitas 
 
 pkgname=vit
-pkgver=1.3
-pkgrel=2
+pkgver=2.1.0
+pkgrel=1
 pkgdesc='Terminal interface for Taskwarrior with Vim key bindings and 
colorization'
-url='https://github.com/scottkosty/vit'
+url='https://github.com/vit-project/vit'
 arch=('any')
-license=('GPL3')
-depends=('perl-curses' 'perl-try-tiny' 'perl-text-charwidth' 'task')
-source=(https://github.com/scottkosty/vit/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('a53021cfbcc1b1a492f630650e7e798d2361beb312d33ee15840e8209c8414c9')
-sha512sums=('45ae4a1d08560d534a02a046d2fcf55c5401f9aaab0abcfbd13070fee28854268ba327018aea40317a184b9e28b074973f5d3e4169a479227e94b8401f066527')
+license=('MIT')
+depends=('task' 'python' 'python-pytz' 'python-tzlocal' 'python-urwid' 
'python-tasklib')
+makedepends=('python-setuptools')
+source=(${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('56676651164fb71878a0c1e4bb369cfa336d46e6fd0de7e6167b57fca7eaf662')
+b2sums=('2d4242399c399808783a670b853b31586471bd12fad2f9109d760569239d1ebcc5ddead4eb6803300d803fcb34b73c3dd42c091d7a619357f26a7bb10801702c')
 
 build() {
   cd ${pkgname}-${pkgver}
-  ./configure --prefix=/usr
-  make
+  python setup.py build
 }
 
+check() {
+  cd ${pkgname}-${pkgver}
+  # TODO: requires python-terminal
+  # ./run-tests.sh
+}
+
 package() {
   cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
+  python setup.py install --root="${pkgdir}" -O1 --skip-build
+  install -Dm 644 scripts/bash/vit.bash_completion 
"${pkgdir}/usr/share/bash-completion/completions/vit"
+  install -Dm 644 *.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }
 
 # vim: ts=2 sw=2 et: