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

David Runge dvzrv at gemini.archlinux.org
Mon Nov 1 08:37:29 UTC 2021


    Date: Monday, November 1, 2021 @ 08:37:29
  Author: dvzrv
Revision: 1035146

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   84 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-01 08:37:21 UTC (rev 1035145)
+++ PKGBUILD	2021-11-01 08:37:29 UTC (rev 1035146)
@@ -1,42 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=libtmux
-pkgname=python-libtmux
-pkgver=0.10.1
-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=('67ed162546a3dc5aa51e91ac03f015532d67847b0400766b442691a39a1a751c59a6b37811f6422ed713fca6a071767a8e13694b2722489d2e56cda711010228')
-b2sums=('56028bca4e6a8df788d9fc9a112731fbf17f3617410d0632ac9d3f000ca130d2f4b21c377611e1ef95bcf493fa14f885cbcd7aa986d9c1b89d2b972fb4173f78')
-
-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.md,TODO} \
-    -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: python-libtmux/repos/community-any/PKGBUILD (from rev 1035145, python-libtmux/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-01 08:37:29 UTC (rev 1035146)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=libtmux
+pkgname=python-libtmux
+pkgver=0.10.2
+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')
+# 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=('ea7a827a1cb8c965d2dd017826276401245cb76a8cfa0b98c64c9dbcd3011f929234f669f1946b6762de1c443cb37c9915c9d9d1c1c2aca40ab3bdf52bf49779')
+b2sums=('c3753e71dcf1d42b89e9232f44b80c5e2d6220cb571370ae603a85b81116a5215013b3d180d509205f30e53695cef126ee6d1399fd248b002ed575643db71d88')
+
+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.md,TODO} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
+}



More information about the arch-commits mailing list