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

David Runge dvzrv at gemini.archlinux.org
Sat Apr 23 08:48:40 UTC 2022


    Date: Saturday, April 23, 2022 @ 08:48:40
  Author: dvzrv
Revision: 1187520

archrelease: copy trunk to community-any

Added:
  python-doit/repos/community-any/PKGBUILD
    (from rev 1187519, python-doit/trunk/PKGBUILD)
Deleted:
  python-doit/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   84 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-23 08:48:31 UTC (rev 1187519)
+++ PKGBUILD	2022-04-23 08:48:40 UTC (rev 1187520)
@@ -1,42 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=doit
-pkgname=python-doit
-pkgver=0.35.0
-pkgrel=1
-pkgdesc="A task management and automation tool"
-arch=(any)
-url="https://pydoit.org/"
-license=(MIT)
-depends=(python-cloudpickle python-pyinotify)
-makedepends=(python-build python-installer python-setuptools python-wheel)
-checkdepends=(python-doit-py python-pyflakes python-pytest python-toml)
-optdepends=(
-  'python-toml: for TOML support'
-  'python-setuptools: for plugin support'
-  '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=('3eb3fc0284c4779db47c56c9e21bda16e31d053214f4a0272c1a26c9fd26bc0de7d00601bb08a79a3d0ed403464e773c03fe93d0fcd9ee59812c396e0f4ed7e6')
-b2sums=('db0c1c9245897ca9c4ce4d3f5f43e5f2e5035c36cc4bd15e63d6fb9e69992b5068ca24839a02485680cdc75ba62cb95f139f6fd0ec24c1f26fd4c4b2e4fce27e')
-
-build() {
-  cd $_name-$pkgver
-  python -m build --wheel --no-isolation
-}
-
-check() {
-  cd $_name-$pkgver
-  export PYTHONPATH="build/lib:$PYTHONPATH"
-  pytest -vv
-}
-
-package() {
-  cd $_name-$pkgver
-  python -m installer --destdir="$pkgdir" dist/*.whl
-  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"
-  install -vDm 644 bash_completion_$_name "$pkgdir/usr/share/bash-completion/completions/$_name"
-  install -vDm 644 zsh_completion_$_name "$pkgdir/usr/share/zsh/site-functions/_$_name"
-}

Copied: python-doit/repos/community-any/PKGBUILD (from rev 1187519, python-doit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-23 08:48:40 UTC (rev 1187520)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=doit
+pkgname=python-doit
+pkgver=0.36.0
+pkgrel=1
+pkgdesc="A task management and automation tool"
+arch=(any)
+url="https://pydoit.org/"
+license=(MIT)
+depends=(python-cloudpickle python-pyinotify)
+makedepends=(python-build python-installer python-setuptools python-wheel)
+checkdepends=(python-doit-py python-pyflakes python-pytest python-toml)
+optdepends=(
+  'python-toml: for TOML support'
+  'python-setuptools: for plugin support'
+  '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=('d4caa31701755c7f59213dde0f89fd3616c0c01b7f06245cbfd9f1a315d503e62f3556c3b86685cd0ebfcffcc9cae0987ca150f037aa7b3cd960439a1191be42')
+b2sums=('15558a39ccac031ddf3a429aa585bc6e1d49c2e7572df29979ca66d1025fa5d7a917f6cc5bcfd21f2749e4ed7e7885b0865ec67b6fa32817e1518d47da9ead97')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  export PYTHONPATH="build/lib:$PYTHONPATH"
+  pytest -vv
+}
+
+package() {
+  cd $_name-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  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"
+  install -vDm 644 bash_completion_$_name "$pkgdir/usr/share/bash-completion/completions/$_name"
+  install -vDm 644 zsh_completion_$_name "$pkgdir/usr/share/zsh/site-functions/_$_name"
+}



More information about the arch-commits mailing list