[arch-commits] Commit in python-libtmux/trunk (PKGBUILD)
Date: Tuesday, November 10, 2020 @ 05:02:20 Author: foutrelis Revision: 749250 upgpkg: python-libtmux 0.8.5-2: Python 3.9 rebuild Modified: python-libtmux/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-11-10 05:02:13 UTC (rev 749249) +++ PKGBUILD2020-11-10 05:02:20 UTC (rev 749250) @@ -3,7 +3,7 @@ _name=libtmux pkgname=python-libtmux pkgver=0.8.5 -pkgrel=1 +pkgrel=2 pkgdesc="Python api for tmux" arch=('any') url="https://libtmux.git-pull.com/";
[arch-commits] Commit in python-libtmux/trunk (PKGBUILD)
Date: Sunday, October 25, 2020 @ 21:41:13 Author: dvzrv Revision: 733011 upgpkg: python-libtmux 0.8.5-1: Upgrade to 0.8.5. Modified: python-libtmux/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-10-25 21:22:22 UTC (rev 733010) +++ PKGBUILD2020-10-25 21:41:13 UTC (rev 733011) @@ -2,7 +2,7 @@ _name=libtmux pkgname=python-libtmux -pkgver=0.8.3 +pkgver=0.8.5 pkgrel=1 pkgdesc="Python api for tmux" arch=('any') @@ -14,8 +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=('f7c5a84f16b400db672318d3c0b79cd8f328a0096d32349f6ce9360d72eecd75ed9915af5c37950adadd81943130b543716d718366522efee7780813a2c1a5d6') -b2sums=('7979dc907d5c7805cf56422aa0fed554c89f0b50cf1f13b150809a1c7e24b0eab125701eada0431212afccc26f6479642c886b3f701c8c2ffc9c3ebb7d08c4cc') +sha512sums=('d456725c3ca41a672ee5239bfb5f42a262674638d308fa141627995be8b8fe348bb8713b735eb05c5a3cc73f35fe3f6fac12024f6254c950a3048b2e07606363') +b2sums=('5af148555eb89c66bdc66f3f214967f7e901d9b86ea85e02a9fba64f2eb3559828519ba8120eaee5eb86ec75bee2e599a08384dd096de8dc0969129c58172c1e') build() { cd "${_name}-${pkgver}"
[arch-commits] Commit in python-libtmux/trunk (PKGBUILD)
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 === --- PKGBUILD2020-08-16 18:01:45 UTC (rev 681731) +++ PKGBUILD2020-08-16 18:02:03 UTC (rev 681732) @@ -1,8 +1,9 @@ -# Maintainer: David Runge +# Maintainer: David Runge + _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 \
[arch-commits] Commit in python-libtmux/trunk (PKGBUILD)
Date: Thursday, October 31, 2019 @ 16:52:45 Author: foutrelis Revision: 521181 Python 3.8 rebuild Modified: python-libtmux/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-10-31 16:52:42 UTC (rev 521180) +++ PKGBUILD2019-10-31 16:52:45 UTC (rev 521181) @@ -2,7 +2,7 @@ _name=libtmux pkgname=python-libtmux pkgver=0.8.2 -pkgrel=2 +pkgrel=3 pkgdesc="Python api for tmux" arch=('any') url="https://libtmux.git-pull.com/";
[arch-commits] Commit in python-libtmux/trunk (PKGBUILD)
Date: Friday, October 25, 2019 @ 15:55:05 Author: foutrelis Revision: 519271 Python 3.8 rebuild Modified: python-libtmux/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-10-25 15:55:03 UTC (rev 519270) +++ PKGBUILD2019-10-25 15:55:05 UTC (rev 519271) @@ -2,7 +2,7 @@ _name=libtmux pkgname=python-libtmux pkgver=0.8.2 -pkgrel=1 +pkgrel=2 pkgdesc="Python api for tmux" arch=('any') url="https://libtmux.git-pull.com/";
[arch-commits] Commit in python-libtmux/trunk (PKGBUILD)
Date: Monday, June 3, 2019 @ 21:04:53 Author: dvzrv Revision: 476787 upgpkg: python-libtmux 0.8.2-1 Upgrading to 0.8.2. Modified: python-libtmux/trunk/PKGBUILD --+ PKGBUILD |8 1 file changed, 4 insertions(+), 4 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-06-03 21:04:53 UTC (rev 476786) +++ PKGBUILD2019-06-03 21:04:53 UTC (rev 476787) @@ -1,7 +1,7 @@ # Maintainer: David Runge _name=libtmux pkgname=python-libtmux -pkgver=0.8.1 +pkgver=0.8.2 pkgrel=1 pkgdesc="Python api for tmux" arch=('any') @@ -10,10 +10,10 @@ depends=('python' 'tmux') makedepends=('python-setuptools') checkdepends=('python-pytest' 'procps-ng') -source=("$pkgname-$pkgver.tar.gz::https://github.com/tony/${_name}/archive/v${pkgver}.tar.gz";) +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=('a26410aa6840325f2572e430427a1805c7086a19ea49ff7794a6542e8c2805b15d306f1a01adb3bea23b4c99980c4c40b0de431dde16bd7f35491011314df13e') +# source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz";) +sha512sums=('e5f3768f4ddd746c5380a92899961be05b1b6c567d9333720b0fd9ed124131671bbecf1c04a7c4e658092424b6dc89dd656ba559385b0a6f673f9895dd6c829c') build() { cd "${_name}-${pkgver}"
[arch-commits] Commit in python-libtmux/trunk (PKGBUILD)
Date: Sunday, February 17, 2019 @ 18:10:05 Author: dvzrv Revision: 434188 Removing python2 support. Modified: python-libtmux/trunk/PKGBUILD --+ PKGBUILD | 36 1 file changed, 8 insertions(+), 28 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-02-17 18:04:56 UTC (rev 434187) +++ PKGBUILD2019-02-17 18:10:05 UTC (rev 434188) @@ -1,7 +1,6 @@ # Maintainer: David Runge _name=libtmux -pkgbase=python-libtmux -pkgname=('python-libtmux' 'python2-libtmux') +pkgname=python-libtmux pkgver=0.8.1 pkgrel=1 pkgdesc="Python api for tmux" @@ -8,8 +7,9 @@ arch=('any') url="https://libtmux.git-pull.com/"; license=('MIT') -makedepends=('python-setuptools' 'python2-setuptools' 'tmux') -checkdepends=('python-pytest' 'python2-pytest' 'procps-ng') +depends=('python' 'tmux') +makedepends=('python-setuptools') +checkdepends=('python-pytest' 'procps-ng') source=("$pkgname-$pkgver.tar.gz::https://github.com/tony/${_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";) @@ -18,17 +18,14 @@ build() { cd "${_name}-${pkgver}" python setup.py build - python2 setup.py build } check() { cd "${_name}-${pkgver}" python -m pytest - python2 -m pytest } -package_python-libtmux() { - depends=('python' 'tmux') +package() { cd "${_name}-${pkgver}" python setup.py install --skip-build \ --optimize=1 \ @@ -36,25 +33,8 @@ --root="${pkgdir}" # license install -vDm 644 LICENSE \ -"${pkgdir}/usr/share/licenses/${pkgname[0]}/LICENSE" +-t "${pkgdir}/usr/share/licenses/${pkgname}" # docs - install -t "${pkgdir}/usr/share/doc/${pkgname[0]}" \ --vDm 644 {CHANGES,README.rst,TODO} + install -vDm 644 {CHANGES,README.rst,TODO} \ +-t "${pkgdir}/usr/share/doc/${pkgname}" } - -package_python2-libtmux() { - depends=('python2' 'tmux') - cd "${_name}-${pkgver}" - python2 setup.py install --skip-build \ ---optimize=1 \ ---prefix=/usr \ ---root="${pkgdir}" - # license - install -vDm 644 LICENSE \ -"${pkgdir}/usr/share/licenses/${pkgname[1]}/LICENSE" - # docs - install -t "${pkgdir}/usr/share/doc/${pkgname[1]}" \ --vDm 644 {CHANGES,README.rst,TODO} -} - -# vim:set ts=2 sw=2 et:
[arch-commits] Commit in python-libtmux/trunk (PKGBUILD)
Date: Tuesday, January 29, 2019 @ 20:54:11 Author: dvzrv Revision: 428440 upgpkg: python-libtmux 0.8.1-1 Upgrading to 0.8.1. Removing unrequired patch. Removing copying of sources (for python2). Modified: python-libtmux/trunk/PKGBUILD --+ PKGBUILD | 40 +++- 1 file changed, 15 insertions(+), 25 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-01-29 20:53:51 UTC (rev 428439) +++ PKGBUILD2019-01-29 20:54:11 UTC (rev 428440) @@ -2,69 +2,59 @@ _name=libtmux pkgbase=python-libtmux pkgname=('python-libtmux' 'python2-libtmux') -pkgver=0.8.0 -pkgrel=2 +pkgver=0.8.1 +pkgrel=1 pkgdesc="Python api for tmux" arch=('any') url="https://libtmux.git-pull.com/"; -license=('BSD') +license=('MIT') makedepends=('python-setuptools' 'python2-setuptools' 'tmux') checkdepends=('python-pytest' 'python2-pytest' 'procps-ng') -source=("$pkgname-$pkgver.tar.gz::https://github.com/tony/${_name}/archive/v${pkgver}.tar.gz"; - "https://github.com/tmux-python/libtmux/commit/7443b60f6df60335bf2ecb199f25e57ec888fe65.patch";) -sha512sums=('9828e8d7c471b9f228c8a9e4e4369478a445ce4e25dece2a9f50652d30f4a778f9e769440fd34f582ab43436003bb06ae201475ba4116f5844bc44dc7f558874' - '55f8290ee7367b22282df57c1fa27dea20197003157d0c57270e3754ee2212588d09b3b09993205c0a2420c86185db142ae39cb51232c7cf6b893396d795ec4d') +source=("$pkgname-$pkgver.tar.gz::https://github.com/tony/${_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=('a26410aa6840325f2572e430427a1805c7086a19ea49ff7794a6542e8c2805b15d306f1a01adb3bea23b4c99980c4c40b0de431dde16bd7f35491011314df13e') -prepare() { - # https://github.com/tmux-python/libtmux/issues/117 is not BSD-specific - patch -p1 -d "${_name}-${pkgver}" < 7443b60f6df60335bf2ecb199f25e57ec888fe65.patch - mv -v "${_name}-${pkgver}" "${pkgname[0]}-${pkgver}" - cp -av "${pkgname[0]}-${pkgver}" "${pkgname[1]}-${pkgver}" -} - build() { - cd "${pkgname[0]}-${pkgver}" + cd "${_name}-${pkgver}" python setup.py build - cd ../"${pkgname[1]}-${pkgver}" python2 setup.py build } check() { - cd "${pkgname[0]}-${pkgver}" + cd "${_name}-${pkgver}" python -m pytest - - cd ../"${pkgname[1]}-${pkgver}" python2 -m pytest } package_python-libtmux() { depends=('python' 'tmux') - cd "${pkgname[0]}-${pkgver}" + cd "${_name}-${pkgver}" python setup.py install --skip-build \ --optimize=1 \ --prefix=/usr \ --root="${pkgdir}" # license - install -vDm644 LICENSE \ + install -vDm 644 LICENSE \ "${pkgdir}/usr/share/licenses/${pkgname[0]}/LICENSE" # docs install -t "${pkgdir}/usr/share/doc/${pkgname[0]}" \ --vDm644 {CHANGES,README.rst,TODO} +-vDm 644 {CHANGES,README.rst,TODO} } package_python2-libtmux() { depends=('python2' 'tmux') - cd "${pkgname[1]}-${pkgver}" + cd "${_name}-${pkgver}" python2 setup.py install --skip-build \ --optimize=1 \ --prefix=/usr \ --root="${pkgdir}" # license - install -vDm644 LICENSE \ + install -vDm 644 LICENSE \ "${pkgdir}/usr/share/licenses/${pkgname[1]}/LICENSE" # docs install -t "${pkgdir}/usr/share/doc/${pkgname[1]}" \ --vDm644 {CHANGES,README.rst,TODO} +-vDm 644 {CHANGES,README.rst,TODO} } # vim:set ts=2 sw=2 et:
[arch-commits] Commit in python-libtmux/trunk (PKGBUILD)
Date: Wednesday, July 4, 2018 @ 00:17:32 Author: eschwartz Revision: 351561 upgpkg: python-libtmux 0.8.0-2 python 3.7 rebuild fix tests failing with tmux 2.7 Modified: python-libtmux/trunk/PKGBUILD --+ PKGBUILD | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-03 22:54:02 UTC (rev 351560) +++ PKGBUILD2018-07-04 00:17:32 UTC (rev 351561) @@ -3,7 +3,7 @@ pkgbase=python-libtmux pkgname=('python-libtmux' 'python2-libtmux') pkgver=0.8.0 -pkgrel=1 +pkgrel=2 pkgdesc="Python api for tmux" arch=('any') url="https://libtmux.git-pull.com/"; @@ -10,10 +10,14 @@ license=('BSD') makedepends=('python-setuptools' 'python2-setuptools' 'tmux') checkdepends=('python-pytest' 'python2-pytest' 'procps-ng') -source=("$pkgname-$pkgver.tar.gz::https://github.com/tony/${_name}/archive/v${pkgver}.tar.gz";) -sha512sums=('9828e8d7c471b9f228c8a9e4e4369478a445ce4e25dece2a9f50652d30f4a778f9e769440fd34f582ab43436003bb06ae201475ba4116f5844bc44dc7f558874') +source=("$pkgname-$pkgver.tar.gz::https://github.com/tony/${_name}/archive/v${pkgver}.tar.gz"; + "https://github.com/tmux-python/libtmux/commit/7443b60f6df60335bf2ecb199f25e57ec888fe65.patch";) +sha512sums=('9828e8d7c471b9f228c8a9e4e4369478a445ce4e25dece2a9f50652d30f4a778f9e769440fd34f582ab43436003bb06ae201475ba4116f5844bc44dc7f558874' + '55f8290ee7367b22282df57c1fa27dea20197003157d0c57270e3754ee2212588d09b3b09993205c0a2420c86185db142ae39cb51232c7cf6b893396d795ec4d') prepare() { + # https://github.com/tmux-python/libtmux/issues/117 is not BSD-specific + patch -p1 -d "${_name}-${pkgver}" < 7443b60f6df60335bf2ecb199f25e57ec888fe65.patch mv -v "${_name}-${pkgver}" "${pkgname[0]}-${pkgver}" cp -av "${pkgname[0]}-${pkgver}" "${pkgname[1]}-${pkgver}" } @@ -27,12 +31,10 @@ check() { cd "${pkgname[0]}-${pkgver}" - export PYTHONPATH=build:${PYTHONPATH} - py.test + python -m pytest cd ../"${pkgname[1]}-${pkgver}" - export PYTHONPATH=build:${PYTHONPATH} - py.test2 + python2 -m pytest } package_python-libtmux() {
[arch-commits] Commit in python-libtmux/trunk (PKGBUILD)
Date: Monday, March 12, 2018 @ 03:23:58 Author: dvzrv Revision: 306257 upgpkg: python-libtmux 0.8.0-1 Upgrading to 0.8.0. Modified: python-libtmux/trunk/PKGBUILD --+ PKGBUILD |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-03-12 03:15:19 UTC (rev 306256) +++ PKGBUILD2018-03-12 03:23:58 UTC (rev 306257) @@ -2,17 +2,16 @@ _name=libtmux pkgbase=python-libtmux pkgname=('python-libtmux' 'python2-libtmux') -pkgver=0.7.8 +pkgver=0.8.0 pkgrel=1 pkgdesc="Python api for tmux" arch=('any') url="https://libtmux.git-pull.com/"; license=('BSD') -#makedepends=('flake8' 'python-setuptools' 'python-isort' 'python2-flake8' 'python2-setuptools' 'python2-isort' ) makedepends=('python-setuptools' 'python2-setuptools' 'tmux') checkdepends=('python-pytest' 'python2-pytest' 'procps-ng') source=("$pkgname-$pkgver.tar.gz::https://github.com/tony/${_name}/archive/v${pkgver}.tar.gz";) -sha512sums=('54c1718211e861666f8d3ab6a9e7b09e2b174f25b20b11744c7e19fbf3eb3de7b4623a35237af0175ea56f20d1b9f86a66f4b72b89418b693851b15acedcac76') +sha512sums=('9828e8d7c471b9f228c8a9e4e4369478a445ce4e25dece2a9f50652d30f4a778f9e769440fd34f582ab43436003bb06ae201475ba4116f5844bc44dc7f558874') prepare() { mv -v "${_name}-${pkgver}" "${pkgname[0]}-${pkgver}"