[arch-commits] Commit in python-libtmux/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Mon Aug 1 23:07:42 UTC 2022
Date: Monday, August 1, 2022 @ 23:07:42
Author: dvzrv
Revision: 1259721
upgpkg: python-libtmux 0.12.0-1: Upgrade to 0.12.0.
Use python-poetry-core instead of python-poetry for PEP517.
Switch to using pypi sdist tarballs as they now include the tests.
Modified:
python-libtmux/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-01 23:06:45 UTC (rev 1259720)
+++ PKGBUILD 2022-08-01 23:07:42 UTC (rev 1259721)
@@ -2,7 +2,7 @@
_name=libtmux
pkgname=python-libtmux
-pkgver=0.11.0
+pkgver=0.12.0
pkgrel=1
pkgdesc="Python api for tmux"
arch=(any)
@@ -9,13 +9,11 @@
url="https://libtmux.git-pull.com/"
license=(MIT)
depends=(python tmux)
-makedepends=(python-build python-installer python-poetry)
+makedepends=(python-build python-installer python-poetry-core python-wheel)
checkdepends=(python-pytest procps-ng)
-# 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")
-source=("$pkgname-$pkgver.tar.gz::https://github.com/tmux-python/$_name/archive/v$pkgver.tar.gz")
-sha512sums=('e09749ce4cf7cf7756e4e40e50c6eb0a00435f2b00c8436667b6b77a94078e9c380a811107f8129ea0d347355f3ce8bb213b8fb36de2becf3cf1a2dbebd97867')
-b2sums=('4939d38894fd6a1492ff282c98243b2d5b3b6f787691031c74337629aed710d3caebeb3bfce571e8f38fe07ecc341b6b3f8aa0bc42979fa362f5f0679aabf21e')
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha512sums=('5b18addcc6cfa2956d266a416fd5ecbb09292e16e4d0e7191aa4d2f28bfdf9ca9edfaf57d7796e6ccb3e30135792a2c99727a82d2a01a9349c554d76a12b2ec4')
+b2sums=('2a54274d5ad5035a656429f474f81549a80ce5332bb390f23c10587ef1c7218ddb386cb82902184e55c3d2d515ade772ffaae79cea83bfe53912f9d29cfc3527')
build() {
cd $_name-$pkgver
@@ -24,7 +22,6 @@
check() {
cd $_name-$pkgver
- export PYTHONPATH="build:${PYTHONPATH}"
pytest -v
}
@@ -32,5 +29,5 @@
cd $_name-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
install -vDm 644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
- install -vDm 644 {CHANGES,README.md,TODO} -t "$pkgdir/usr/share/doc/$pkgname"
+ install -vDm 644 {CHANGES,README.md} -t "$pkgdir/usr/share/doc/$pkgname"
}
More information about the arch-commits
mailing list