[arch-commits] Commit in python-libtmux/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Sun Oct 25 21:41:23 UTC 2020
Date: Sunday, October 25, 2020 @ 21:41:23
Author: dvzrv
Revision: 733012
archrelease: copy trunk to community-any
Added:
python-libtmux/repos/community-any/PKGBUILD
(from rev 733011, python-libtmux/trunk/PKGBUILD)
Deleted:
python-libtmux/repos/community-any/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-10-25 21:41:13 UTC (rev 733011)
+++ PKGBUILD 2020-10-25 21:41:23 UTC (rev 733012)
@@ -1,42 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=libtmux
-pkgname=python-libtmux
-pkgver=0.8.3
-pkgrel=1
-pkgdesc="Python api for tmux"
-arch=('any')
-url="https://libtmux.git-pull.com/"
-license=('MIT')
-depends=('python' 'tmux')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'procps-ng')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/tmux-python/${_name}/archive/v${pkgver}.tar.gz")
-# pypi sources don't include the tests: https://github.com/tmux-python/libtmux/issues/173
-# source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('f7c5a84f16b400db672318d3c0b79cd8f328a0096d32349f6ce9360d72eecd75ed9915af5c37950adadd81943130b543716d718366522efee7780813a2c1a5d6')
-b2sums=('7979dc907d5c7805cf56422aa0fed554c89f0b50cf1f13b150809a1c7e24b0eab125701eada0431212afccc26f6479642c886b3f701c8c2ffc9c3ebb7d08c4cc')
-
-build() {
- cd "${_name}-${pkgver}"
- python setup.py build
-}
-
-check() {
- cd "${_name}-${pkgver}"
- export PYTHONPATH="build:${PYTHONPATH}"
- pytest -v
-}
-
-package() {
- cd "${_name}-${pkgver}"
- python setup.py install --skip-build \
- --optimize=1 \
- --root="${pkgdir}"
- # license
- install -vDm 644 LICENSE \
- -t "${pkgdir}/usr/share/licenses/${pkgname}"
- # docs
- install -vDm 644 {CHANGES,README.rst,TODO} \
- -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
Copied: python-libtmux/repos/community-any/PKGBUILD (from rev 733011, python-libtmux/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-10-25 21:41:23 UTC (rev 733012)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=libtmux
+pkgname=python-libtmux
+pkgver=0.8.5
+pkgrel=1
+pkgdesc="Python api for tmux"
+arch=('any')
+url="https://libtmux.git-pull.com/"
+license=('MIT')
+depends=('python' 'tmux')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'procps-ng')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/tmux-python/${_name}/archive/v${pkgver}.tar.gz")
+# pypi sources don't include the tests: https://github.com/tmux-python/libtmux/issues/173
+# source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('d456725c3ca41a672ee5239bfb5f42a262674638d308fa141627995be8b8fe348bb8713b735eb05c5a3cc73f35fe3f6fac12024f6254c950a3048b2e07606363')
+b2sums=('5af148555eb89c66bdc66f3f214967f7e901d9b86ea85e02a9fba64f2eb3559828519ba8120eaee5eb86ec75bee2e599a08384dd096de8dc0969129c58172c1e')
+
+build() {
+ cd "${_name}-${pkgver}"
+ python setup.py build
+}
+
+check() {
+ cd "${_name}-${pkgver}"
+ export PYTHONPATH="build:${PYTHONPATH}"
+ pytest -v
+}
+
+package() {
+ cd "${_name}-${pkgver}"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --root="${pkgdir}"
+ # license
+ install -vDm 644 LICENSE \
+ -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ # docs
+ install -vDm 644 {CHANGES,README.rst,TODO} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list