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

David Runge dvzrv at gemini.archlinux.org
Wed Mar 23 13:48:45 UTC 2022


    Date: Wednesday, March 23, 2022 @ 13:48:45
  Author: dvzrv
Revision: 1171388

archrelease: copy trunk to community-any

Added:
  python-libtmux/repos/community-any/PKGBUILD
    (from rev 1171387, python-libtmux/trunk/PKGBUILD)
Deleted:
  python-libtmux/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   72 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 36 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-23 13:48:36 UTC (rev 1171387)
+++ PKGBUILD	2022-03-23 13:48:45 UTC (rev 1171388)
@@ -1,36 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=libtmux
-pkgname=python-libtmux
-pkgver=0.10.3
-pkgrel=1
-pkgdesc="Python api for tmux"
-arch=(any)
-url="https://libtmux.git-pull.com/"
-license=(MIT)
-depends=(python tmux)
-makedepends=(python-build python-install python-poetry)
-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=('2c8f28ce8c313404caffa42e5fd4a1dfa5d48bdc48203f8db595cb97b44886d63608771f23d62d76a56513b7e4578e48a31cacd224eca92425f110efd0a5db69')
-b2sums=('40d591ee1f8a6068947b61416d6247b2475cc99031a67c167dc527631e50075f18c46fe6fc16193867d83a1a735b0a23fbfbc77f4539f788f05375f1f68b77d2')
-
-build() {
-  cd "${_name}-${pkgver}"
-  python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-check() {
-  cd "${_name}-${pkgver}"
-  export PYTHONPATH="build:${PYTHONPATH}"
-  pytest -v
-}
-
-package() {
-  cd "${_name}-${pkgver}"
-  python -m install --optimize=1 --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}"
-}

Copied: python-libtmux/repos/community-any/PKGBUILD (from rev 1171387, python-libtmux/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-23 13:48:45 UTC (rev 1171388)
@@ -0,0 +1,36 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=libtmux
+pkgname=python-libtmux
+pkgver=0.11.0
+pkgrel=1
+pkgdesc="Python api for tmux"
+arch=(any)
+url="https://libtmux.git-pull.com/"
+license=(MIT)
+depends=(python tmux)
+makedepends=(python-build python-installer python-poetry)
+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')
+
+build() {
+  cd $_name-$pkgver
+  python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+check() {
+  cd $_name-$pkgver
+  export PYTHONPATH="build:${PYTHONPATH}"
+  pytest -v
+}
+
+package() {
+  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"
+}



More information about the arch-commits mailing list