[arch-commits] Commit in python-libtmux/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Tue Jun 15 16:58:50 UTC 2021
Date: Tuesday, June 15, 2021 @ 16:58:49
Author: dvzrv
Revision: 963888
archrelease: copy trunk to community-any
Added:
python-libtmux/repos/community-any/PKGBUILD
(from rev 963887, python-libtmux/trunk/PKGBUILD)
Deleted:
python-libtmux/repos/community-any/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-15 16:58:41 UTC (rev 963887)
+++ PKGBUILD 2021-06-15 16:58:49 UTC (rev 963888)
@@ -1,42 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=libtmux
-pkgname=python-libtmux
-pkgver=0.8.5
-pkgrel=3
-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}"
-}
Copied: python-libtmux/repos/community-any/PKGBUILD (from rev 963887, python-libtmux/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-06-15 16:58:49 UTC (rev 963888)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=libtmux
+pkgname=python-libtmux
+pkgver=0.9.0
+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=('d47078300614b2a286eab6063c9492baa115787b917d2fb2e4188032ce580f495f0e7f4a14383407c61063a77d640092d117ba43974524f18da024dfc687c8a5')
+b2sums=('fdf6f424ce8eead5f0f19cb53bfd438e9cd7b5326e57e676281f74cedac6e1bcd7cded27e4ef226d2fc3bc09bbb57ff0e63aaa7d901ab910b6a890275c7fe63d')
+
+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