[arch-commits] Commit in python-doit/repos/community-staging-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Nov 1 13:59:17 UTC 2019
Date: Friday, November 1, 2019 @ 13:59:17
Author: felixonmars
Revision: 521990
archrelease: copy trunk to community-staging-any
Added:
python-doit/repos/community-staging-any/PKGBUILD
(from rev 521989, python-doit/trunk/PKGBUILD)
Deleted:
python-doit/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-01 13:59:10 UTC (rev 521989)
+++ PKGBUILD 2019-11-01 13:59:17 UTC (rev 521990)
@@ -1,48 +0,0 @@
-# Maintainer: David Runge <dave at sleepmap.de>
-_name=doit
-pkgname=python-doit
-pkgver=0.31.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=('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')
-
-prepare() {
- mv -v "$_name-$pkgver" "$pkgname-$pkgver"
- cd "$pkgname-$pkgver"
-}
-
-build() {
- cd "$pkgname-$pkgver"
- python setup.py build
-}
-
-# tests are broken:
-# https://github.com/pydoit/doit/issues/269
-#check() {
-# cd "$pkgname-$pkgver"
-# export PYTHONPATH=build/lib:${PYTHONPATH}
-# py.test
-#}
-
-package() {
- cd "$pkgname-$pkgver"
- python setup.py install --skip-build \
- --optimize=1 \
- --prefix=/usr \
- --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 521989, python-doit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-11-01 13:59:17 UTC (rev 521990)
@@ -0,0 +1,48 @@
+# Maintainer: David Runge <dave at sleepmap.de>
+_name=doit
+pkgname=python-doit
+pkgver=0.31.1
+pkgrel=4
+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')
+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')
+
+prepare() {
+ mv -v "$_name-$pkgver" "$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ python setup.py build
+}
+
+# tests are broken:
+# https://github.com/pydoit/doit/issues/269
+#check() {
+# cd "$pkgname-$pkgver"
+# export PYTHONPATH=build/lib:${PYTHONPATH}
+# py.test
+#}
+
+package() {
+ cd "$pkgname-$pkgver"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --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