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

David Runge dvzrv at gemini.archlinux.org
Sat Dec 11 11:58:54 UTC 2021


    Date: Saturday, December 11, 2021 @ 11:58:53
  Author: dvzrv
Revision: 1068227

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-11 11:58:46 UTC (rev 1068226)
+++ PKGBUILD	2021-12-11 11:58:53 UTC (rev 1068227)
@@ -1,45 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=doit
-pkgname=python-doit
-pkgver=0.33.1
-pkgrel=4
-pkgdesc="A task management and automation tool"
-arch=('any')
-url="https://pydoit.org/"
-license=('MIT')
-# python-setuptools (pkg_resources) is used for plugin package discovery
-depends=('python-cloudpickle' 'python-pyinotify' 'python-setuptools')
-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=('852efa3b770ec5de7def1fad1167b8cdce1de7435b2ba5e4af43a84c84df0cbf960d8d5c4c9f526f303d19c7536f745c2c7700daaced984ec86fb4202f894170')
-b2sums=('be294246447d36011274d57b5300b4451847751f228622bcd5a45f91367371ed5dd9c40a2476e558be8137b16fefda4bf6f1795108d0c982990abc62db5560e6')
-
-prepare() {
-  mv -v "$_name-$pkgver" "$pkgname-$pkgver"
-}
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  export PYTHONPATH="build/lib:${PYTHONPATH}"
-  pytest -v
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --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}"
-  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 1068226, python-doit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-11 11:58:53 UTC (rev 1068227)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=doit
+pkgname=python-doit
+pkgver=0.34.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-setuptools)
+checkdepends=(python-doit-py python-pyflakes python-pytest)
+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=('fec2f64d88f89f328bd06158da18016d4563819723d4eb4aa54c4aa9dc6aaf6f1ebae0e923d081867681ccf60c9df3ee0261dbb33a5251294c694b466d9b447f')
+b2sums=('14f991197730cc482dd22dc64e8f1823b4991f01a4ee8f4913077e1df7b218a51964b4a4c0bb55ae1a074b3698ea3824a18f210efa9297684b0478c46c5a2d41')
+
+build() {
+  cd "$_name-$pkgver"
+  python setup.py build
+}
+
+check() {
+  cd "$_name-$pkgver"
+  export PYTHONPATH="build/lib:${PYTHONPATH}"
+  pytest -v
+}
+
+package() {
+  cd "$_name-$pkgver"
+  python setup.py install --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}"
+  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