[arch-commits] Commit in python-libtmux/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Sun Aug 16 18:02:04 UTC 2020
Date: Sunday, August 16, 2020 @ 18:02:03
Author: dvzrv
Revision: 681732
upgpkg: python-libtmux 0.8.3-1: Upgrade to 0.8.3.
Export PYTHONPATH in check() to be able to run pytest.
Minor cleanup and update maintainer info.
Modified:
python-libtmux/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-16 18:01:45 UTC (rev 681731)
+++ PKGBUILD 2020-08-16 18:02:03 UTC (rev 681732)
@@ -1,8 +1,9 @@
-# Maintainer: David Runge <dave at sleepmap.de>
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
_name=libtmux
pkgname=python-libtmux
-pkgver=0.8.2
-pkgrel=3
+pkgver=0.8.3
+pkgrel=1
pkgdesc="Python api for tmux"
arch=('any')
url="https://libtmux.git-pull.com/"
@@ -13,7 +14,8 @@
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=('e5f3768f4ddd746c5380a92899961be05b1b6c567d9333720b0fd9ed124131671bbecf1c04a7c4e658092424b6dc89dd656ba559385b0a6f673f9895dd6c829c')
+sha512sums=('f7c5a84f16b400db672318d3c0b79cd8f328a0096d32349f6ce9360d72eecd75ed9915af5c37950adadd81943130b543716d718366522efee7780813a2c1a5d6')
+b2sums=('7979dc907d5c7805cf56422aa0fed554c89f0b50cf1f13b150809a1c7e24b0eab125701eada0431212afccc26f6479642c886b3f701c8c2ffc9c3ebb7d08c4cc')
build() {
cd "${_name}-${pkgver}"
@@ -22,7 +24,8 @@
check() {
cd "${_name}-${pkgver}"
- python -m pytest
+ export PYTHONPATH="build:${PYTHONPATH}"
+ pytest -v
}
package() {
@@ -29,7 +32,6 @@
cd "${_name}-${pkgver}"
python setup.py install --skip-build \
--optimize=1 \
- --prefix=/usr \
--root="${pkgdir}"
# license
install -vDm 644 LICENSE \
More information about the arch-commits
mailing list