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

2020-11-11 Thread Felix Yan via arch-commits
Date: Wednesday, November 11, 2020 @ 15:15:13
  Author: felixonmars
Revision: 751022

upgpkg: python-doit 0.33.1-3: Python 3.9 rebuild

Modified:
  python-doit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-11-11 15:15:12 UTC (rev 751021)
+++ PKGBUILD2020-11-11 15:15:13 UTC (rev 751022)
@@ -3,7 +3,7 @@
 _name=doit
 pkgname=python-doit
 pkgver=0.33.1
-pkgrel=2
+pkgrel=3
 pkgdesc="A task management and automation tool"
 arch=('any')
 url="https://pydoit.org/;


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

2020-11-09 Thread Evangelos Foutras via arch-commits
Date: Monday, November 9, 2020 @ 16:52:28
  Author: foutrelis
Revision: 747636

upgpkg: python-doit 0.33.1-2: Python 3.9 rebuild

Modified:
  python-doit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-11-09 16:52:25 UTC (rev 747635)
+++ PKGBUILD2020-11-09 16:52:28 UTC (rev 747636)
@@ -3,7 +3,7 @@
 _name=doit
 pkgname=python-doit
 pkgver=0.33.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A task management and automation tool"
 arch=('any')
 url="https://pydoit.org/;


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

2020-09-04 Thread David Runge via arch-commits
Date: Friday, September 4, 2020 @ 09:47:08
  Author: dvzrv
Revision: 698484

upgpkg: python-doit 0.33.1-1: Upgrade to 0.33.1.

Switch back to pypi sdist as tests are now included again.

Modified:
  python-doit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2020-09-04 09:35:01 UTC (rev 698483)
+++ PKGBUILD2020-09-04 09:47:08 UTC (rev 698484)
@@ -2,7 +2,7 @@
 
 _name=doit
 pkgname=python-doit
-pkgver=0.33.0
+pkgver=0.33.1
 pkgrel=1
 pkgdesc="A task management and automation tool"
 arch=('any')
@@ -12,12 +12,9 @@
 checkdepends=('python-doit-py' 'python-pyflakes' 'python-pytest')
 optdepends=('bash-completion: autocomplete for bash'
 'zsh-completions: autocomplete for ZSH')
-# tests missing in pypi sdist:
-# https://github.com/pydoit/doit/issues/371
-# 
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz;)
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/pydoit/${_name}/archive/${pkgver}.tar.gz;)
-sha512sums=('4a1ad9717c4bc55fddb2509dc818e163fcd8b7a88702c599bd7ffce752b6a7fc56c135bfd1f8e82621890878a61cc25c2c001f678d3b24be34a2ab1bc5fa6282')
-b2sums=('d49dc0d6210d15923f4b856b4fc74fbdcbb37567f4c69c0e1c388e9a5a9f502f69af75090fe768563a391ced0a2bbe4b5fd77cf54b6bc3557d1d8a3f8f90efda')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz;)
+sha512sums=('852efa3b770ec5de7def1fad1167b8cdce1de7435b2ba5e4af43a84c84df0cbf960d8d5c4c9f526f303d19c7536f745c2c7700daaced984ec86fb4202f894170')
+b2sums=('be294246447d36011274d57b5300b4451847751f228622bcd5a45f91367371ed5dd9c40a2476e558be8137b16fefda4bf6f1795108d0c982990abc62db5560e6')
 
 prepare() {
   mv -v "$_name-$pkgver" "$pkgname-$pkgver"


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

2020-09-02 Thread David Runge via arch-commits
Date: Wednesday, September 2, 2020 @ 18:35:01
  Author: dvzrv
Revision: 696776

upgpkg: python-doit 0.33.0-1: Upgrade to 0.33.0.

Run all tests again.
Switch tarball source to github as upstream has not included the tests in the 
pypi sdist tarball.
Minor cleanups.

Modified:
  python-doit/trunk/PKGBUILD

--+
 PKGBUILD |   25 +
 1 file changed, 13 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-09-02 18:34:14 UTC (rev 696775)
+++ PKGBUILD2020-09-02 18:35:01 UTC (rev 696776)
@@ -1,7 +1,8 @@
 # Maintainer: David Runge 
+
 _name=doit
 pkgname=python-doit
-pkgver=0.32.0
+pkgver=0.33.0
 pkgrel=1
 pkgdesc="A task management and automation tool"
 arch=('any')
@@ -8,15 +9,18 @@
 url="https://pydoit.org/;
 license=('MIT')
 depends=('python-cloudpickle' 'python-pyinotify' 'python-setuptools')
-checkdepends=('flake8'  'python-coverage' 'python-pytest')
+checkdepends=('python-doit-py' 'python-pyflakes' 'python-pytest')
 optdepends=('bash-completion: autocomplete for bash'
 'zsh-completions: autocomplete for ZSH')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz;)
-sha512sums=('d5c28a0c6a38648aeef58027b2246fc26360e133e91933f2244bd484f70d6d26110acbfec19c74d53c796e0bbae07a4bf6d76542d45e8b1a6b503c186bf2a68a')
+# tests missing in pypi sdist:
+# https://github.com/pydoit/doit/issues/371
+# 
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz;)
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/pydoit/${_name}/archive/${pkgver}.tar.gz;)
+sha512sums=('4a1ad9717c4bc55fddb2509dc818e163fcd8b7a88702c599bd7ffce752b6a7fc56c135bfd1f8e82621890878a61cc25c2c001f678d3b24be34a2ab1bc5fa6282')
+b2sums=('d49dc0d6210d15923f4b856b4fc74fbdcbb37567f4c69c0e1c388e9a5a9f502f69af75090fe768563a391ced0a2bbe4b5fd77cf54b6bc3557d1d8a3f8f90efda')
 
 prepare() {
   mv -v "$_name-$pkgver" "$pkgname-$pkgver"
-  cd "$pkgname-$pkgver"
 }
 
 build() {
@@ -24,20 +28,17 @@
   python setup.py build
 }
 
-# tests are broken:
-# https://github.com/pydoit/doit/issues/342
 check() {
   cd "$pkgname-$pkgver"
-  export PYTHONPATH="${PWD}/build/lib:${PYTHONPATH}"
-  py.test -k 'not test_execute and not test_not_picklable_raises_InvalidTask'
+  export PYTHONPATH="build/lib:${PYTHONPATH}"
+  pytest -v
 }
 
 package() {
   cd "$pkgname-$pkgver"
   python setup.py install --skip-build \
---optimize=1 \
---prefix=/usr \
---root="${pkgdir}"
+  --optimize=1 \
+  --root="${pkgdir}"
   install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
   install -vDm 644 {AUTHORS,CHANGES,CONTRIBUTING.md,README.rst} \
 -t "${pkgdir}/usr/share/doc/${pkgname}"


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

2019-12-10 Thread David Runge via arch-commits
Date: Tuesday, December 10, 2019 @ 21:34:01
  Author: dvzrv
Revision: 536580

upgpkg: python-doit 0.32.0-1

Upgrading to 0.32.0. Updating maintainer info. Enabling all but two (failing) 
tests.

Modified:
  python-doit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-12-10 21:26:21 UTC (rev 536579)
+++ PKGBUILD2019-12-10 21:34:01 UTC (rev 536580)
@@ -1,18 +1,18 @@
-# Maintainer: David Runge 
+# Maintainer: David Runge 
 _name=doit
 pkgname=python-doit
-pkgver=0.31.1
-pkgrel=4
+pkgver=0.32.0
+pkgrel=1
 pkgdesc="A task management and automation tool"
 arch=('any')
 url="https://pydoit.org/;
 license=('MIT')
 depends=('python-cloudpickle' 'python-pyinotify' 'python-setuptools')
-#checkdepends=('flake8'  'python-coverage' 'python-pytest')
+checkdepends=('flake8'  'python-coverage' 'python-pytest')
 optdepends=('bash-completion: autocomplete for bash'
 'zsh-completions: autocomplete for ZSH')
 
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz;)
-sha512sums=('31235cb46a73adc2d3e726dce24dd9632f5b1ef00d313bf1c42ff895a03eff41be0ec7ae14a004e742d50003c2da17f29bd3392a49d80e73cfb59c12bd152d9d')
+sha512sums=('d5c28a0c6a38648aeef58027b2246fc26360e133e91933f2244bd484f70d6d26110acbfec19c74d53c796e0bbae07a4bf6d76542d45e8b1a6b503c186bf2a68a')
 
 prepare() {
   mv -v "$_name-$pkgver" "$pkgname-$pkgver"
@@ -25,12 +25,12 @@
 }
 
 # tests are broken:
-# https://github.com/pydoit/doit/issues/269
-#check() {
-#  cd "$pkgname-$pkgver"
-#  export PYTHONPATH=build/lib:${PYTHONPATH}
-#  py.test
-#}
+# https://github.com/pydoit/doit/issues/342
+check() {
+  cd "$pkgname-$pkgver"
+  export PYTHONPATH="${PWD}/build/lib:${PYTHONPATH}"
+  py.test -k 'not test_execute and not test_not_picklable_raises_InvalidTask'
+}
 
 package() {
   cd "$pkgname-$pkgver"


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

2019-11-01 Thread Felix Yan via arch-commits
Date: Friday, November 1, 2019 @ 13:59:05
  Author: felixonmars
Revision: 521986

Python 3.8 rebuild

Modified:
  python-doit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-11-01 13:58:52 UTC (rev 521985)
+++ PKGBUILD2019-11-01 13:59:05 UTC (rev 521986)
@@ -2,7 +2,7 @@
 _name=doit
 pkgname=python-doit
 pkgver=0.31.1
-pkgrel=3
+pkgrel=4
 pkgdesc="A task management and automation tool"
 arch=('any')
 url="https://pydoit.org/;


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

2019-10-25 Thread Felix Yan via arch-commits
Date: Friday, October 25, 2019 @ 19:59:35
  Author: felixonmars
Revision: 519670

Python 3.8 rebuild

Modified:
  python-doit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-10-25 19:59:34 UTC (rev 519669)
+++ PKGBUILD2019-10-25 19:59:35 UTC (rev 519670)
@@ -2,7 +2,7 @@
 _name=doit
 pkgname=python-doit
 pkgver=0.31.1
-pkgrel=2
+pkgrel=3
 pkgdesc="A task management and automation tool"
 arch=('any')
 url="https://pydoit.org/;


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

2019-08-09 Thread David Runge via arch-commits
Date: Friday, August 9, 2019 @ 06:14:11
  Author: dvzrv
Revision: 498389

Switching to https for url.

Modified:
  python-doit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2019-08-09 05:50:52 UTC (rev 498388)
+++ PKGBUILD2019-08-09 06:14:11 UTC (rev 498389)
@@ -5,7 +5,7 @@
 pkgrel=2
 pkgdesc="A task management and automation tool"
 arch=('any')
-url="http://pydoit.org/;
+url="https://pydoit.org/;
 license=('MIT')
 depends=('python-cloudpickle' 'python-pyinotify' 'python-setuptools')
 #checkdepends=('flake8'  'python-coverage' 'python-pytest')


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

2018-09-09 Thread David Runge via arch-commits
Date: Sunday, September 9, 2018 @ 08:36:09
  Author: dvzrv
Revision: 378872

upgpkg: python-doit 0.31.1-2

Making python-pyinotify a hard dependency, as calls to doit seem to fail 
otherwise.

Modified:
  python-doit/trunk/PKGBUILD

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

Modified: PKGBUILD
===
--- PKGBUILD2018-09-09 08:34:02 UTC (rev 378871)
+++ PKGBUILD2018-09-09 08:36:09 UTC (rev 378872)
@@ -2,15 +2,14 @@
 _name=doit
 pkgname=python-doit
 pkgver=0.31.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A task management and automation tool"
 arch=('any')
 url="http://pydoit.org/;
 license=('MIT')
-depends=('python-cloudpickle' 'python-setuptools')
+depends=('python-cloudpickle' 'python-pyinotify' 'python-setuptools')
 #checkdepends=('flake8'  'python-coverage' 'python-pytest')
-optdepends=('python-pyinotify: notifications'
-'bash-completion: autocomplete for bash'
+optdepends=('bash-completion: autocomplete for bash'
 'zsh-completions: autocomplete for ZSH')
 
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz;)
 
sha512sums=('31235cb46a73adc2d3e726dce24dd9632f5b1ef00d313bf1c42ff895a03eff41be0ec7ae14a004e742d50003c2da17f29bd3392a49d80e73cfb59c12bd152d9d')