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

Felix Yan felixonmars at archlinux.org
Wed Nov 11 15:15:29 UTC 2020


    Date: Wednesday, November 11, 2020 @ 15:15:28
  Author: felixonmars
Revision: 751028

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |   92 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 46 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-11 15:15:27 UTC (rev 751027)
+++ PKGBUILD	2020-11-11 15:15:28 UTC (rev 751028)
@@ -1,46 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=doit
-pkgname=python-doit
-pkgver=0.33.1
-pkgrel=2
-pkgdesc="A task management and automation tool"
-arch=('any')
-url="https://pydoit.org/"
-license=('MIT')
-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 --skip-build \
-                          --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-staging-any/PKGBUILD (from rev 751025, python-doit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-11 15:15:28 UTC (rev 751028)
@@ -0,0 +1,46 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=doit
+pkgname=python-doit
+pkgver=0.33.1
+pkgrel=3
+pkgdesc="A task management and automation tool"
+arch=('any')
+url="https://pydoit.org/"
+license=('MIT')
+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 --skip-build \
+                          --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