Date: Sunday, January 8, 2023 @ 19:38:06
Author: felixonmars
Revision: 1382046
archrelease: copy trunk to community-any
Added:
python-prettytable/repos/community-any/0001-Fix-column-spacing-with-xterm-reset-escape-sequence.patch
(from rev 1382045,
python-prettytable/trunk/0001-Fix-column-spacing-with-xterm-reset-escape-sequence.patch)
python-prettytable/repos/community-any/PKGBUILD
(from rev 1382045, python-prettytable/trunk/PKGBUILD)
Deleted:
python-prettytable/repos/community-any/0001-Fix-column-spacing-with-xterm-reset-escape-sequence.patch
python-prettytable/repos/community-any/PKGBUILD
----------------------------------------------------------------+
0001-Fix-column-spacing-with-xterm-reset-escape-sequence.patch | 60 ++++----
PKGBUILD | 74
+++++-----
2 files changed, 67 insertions(+), 67 deletions(-)
Deleted: 0001-Fix-column-spacing-with-xterm-reset-escape-sequence.patch
===================================================================
--- 0001-Fix-column-spacing-with-xterm-reset-escape-sequence.patch
2023-01-08 19:37:50 UTC (rev 1382045)
+++ 0001-Fix-column-spacing-with-xterm-reset-escape-sequence.patch
2023-01-08 19:38:06 UTC (rev 1382046)
@@ -1,30 +0,0 @@
-From 9e291735c8e89879451c2feebda8f851dfa6e32c Mon Sep 17 00:00:00 2001
-From: Daniel Albers <[email protected]>
-Date: Tue, 9 Dec 2014 17:47:50 +0100
-Subject: [PATCH] Fix column spacing with xterm reset escape sequence
-
-Change _re to also match \E(B\E[m as defined by terminfo for xterm:
-
-$ TERM=xterm tput sgr0 | od -xa
-0000000 281b 1b42 6d5b
- esc ( B esc [ m
----
- prettytable.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/prettytable.py b/prettytable.py
-index a619659..3f6fb99 100644
---- a/prettytable.py
-+++ b/prettytable.py
-@@ -79,7 +79,7 @@ MARKDOWN = 13
- ORGMODE = 14
- RANDOM = 20
-
--_re = re.compile(r"\033\[[0-9;]*m")
-+_re = re.compile(r"\033(\[[0-9;]*m|\(B)")
-
-
- def _get_size(text):
---
-2.2.0.rc0.207.ga3a616c
-
Copied:
python-prettytable/repos/community-any/0001-Fix-column-spacing-with-xterm-reset-escape-sequence.patch
(from rev 1382045,
python-prettytable/trunk/0001-Fix-column-spacing-with-xterm-reset-escape-sequence.patch)
===================================================================
--- 0001-Fix-column-spacing-with-xterm-reset-escape-sequence.patch
(rev 0)
+++ 0001-Fix-column-spacing-with-xterm-reset-escape-sequence.patch
2023-01-08 19:38:06 UTC (rev 1382046)
@@ -0,0 +1,30 @@
+From 9e291735c8e89879451c2feebda8f851dfa6e32c Mon Sep 17 00:00:00 2001
+From: Daniel Albers <[email protected]>
+Date: Tue, 9 Dec 2014 17:47:50 +0100
+Subject: [PATCH] Fix column spacing with xterm reset escape sequence
+
+Change _re to also match \E(B\E[m as defined by terminfo for xterm:
+
+$ TERM=xterm tput sgr0 | od -xa
+0000000 281b 1b42 6d5b
+ esc ( B esc [ m
+---
+ prettytable.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/prettytable.py b/prettytable.py
+index a619659..3f6fb99 100644
+--- a/prettytable.py
++++ b/prettytable.py
+@@ -79,7 +79,7 @@ MARKDOWN = 13
+ ORGMODE = 14
+ RANDOM = 20
+
+-_re = re.compile(r"\033\[[0-9;]*m")
++_re = re.compile(r"\033(\[[0-9;]*m|\(B)")
+
+
+ def _get_size(text):
+--
+2.2.0.rc0.207.ga3a616c
+
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-08 19:37:50 UTC (rev 1382045)
+++ PKGBUILD 2023-01-08 19:38:06 UTC (rev 1382046)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Contributor: Sebastien Leduc <[email protected]>
-# Contributor: Emmanuel Gil Peyrot <[email protected]>
-
-pkgname=python-prettytable
-pkgver=3.5.0
-pkgrel=1
-pkgdesc="A simple Python library for easily displaying tabular data"
-url="https://github.com/jazzband/prettytable"
-arch=('any')
-license=('BSD')
-depends=('python-wcwidth')
-makedepends=('python-build' 'python-installer' 'python-hatchling'
'python-hatch-vcs')
-checkdepends=('python-pytest-lazy-fixture')
-conflicts=('python-ptable')
-source=("https://github.com/jazzband/prettytable/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('24ef28a42365568bf68a974afd42fcc1bfb9208e1cb75fc1b2890bc2253487afa6536e778b58e320e952ca8bf9b69193bd1293bb7615628d03765ee24c44edff')
-
-export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
-
-build() {
- cd prettytable-$pkgver
- python -m build -nw
-}
-
-check() {
- cd prettytable-$pkgver
- python -m installer --destdir="$PWD/tmp_install" dist/*.whl
- PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages" pytest
-}
-
-package() {
- cd prettytable-$pkgver
- python -m installer -d "$pkgdir" dist/*.whl
- install -Dm644 COPYING -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
Copied: python-prettytable/repos/community-any/PKGBUILD (from rev 1382045,
python-prettytable/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-08 19:38:06 UTC (rev 1382046)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Sebastien Leduc <[email protected]>
+# Contributor: Emmanuel Gil Peyrot <[email protected]>
+
+pkgname=python-prettytable
+pkgver=3.6.0
+pkgrel=1
+pkgdesc="A simple Python library for easily displaying tabular data"
+url="https://github.com/jazzband/prettytable"
+arch=('any')
+license=('BSD')
+depends=('python-wcwidth')
+makedepends=('python-build' 'python-installer' 'python-hatchling'
'python-hatch-vcs')
+checkdepends=('python-pytest-lazy-fixture')
+conflicts=('python-ptable')
+source=("https://github.com/jazzband/prettytable/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('b4693a3d30555f598cb955923560d02ce7c757e87ee49bf09c8d50d3ce8bef67ebfad1c780914f488e89852c0e363c2cad098addc058a88864efb8eefa8e9cd8')
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+ cd prettytable-$pkgver
+ python -m build -nw
+}
+
+check() {
+ cd prettytable-$pkgver
+ python -m installer --destdir="$PWD/tmp_install" dist/*.whl
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python3.10/site-packages" pytest
+}
+
+package() {
+ cd prettytable-$pkgver
+ python -m installer -d "$pkgdir" dist/*.whl
+ install -Dm644 COPYING -t "$pkgdir"/usr/share/licenses/$pkgname/
+}