[arch-commits] Commit in python-prettytable/repos/community-any (4 files)

Felix Yan felixonmars at gemini.archlinux.org
Mon Feb 28 07:43:41 UTC 2022


    Date: Monday, February 28, 2022 @ 07:43:40
  Author: felixonmars
Revision: 1138194

archrelease: copy trunk to community-any

Added:
  python-prettytable/repos/community-any/0001-Fix-column-spacing-with-xterm-reset-escape-sequence.patch
    (from rev 1138193, python-prettytable/trunk/0001-Fix-column-spacing-with-xterm-reset-escape-sequence.patch)
  python-prettytable/repos/community-any/PKGBUILD
    (from rev 1138193, 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                                                       |   72 +++++-----
 2 files changed, 66 insertions(+), 66 deletions(-)

Deleted: 0001-Fix-column-spacing-with-xterm-reset-escape-sequence.patch
===================================================================
--- 0001-Fix-column-spacing-with-xterm-reset-escape-sequence.patch	2022-02-28 07:43:29 UTC (rev 1138193)
+++ 0001-Fix-column-spacing-with-xterm-reset-escape-sequence.patch	2022-02-28 07:43:40 UTC (rev 1138194)
@@ -1,30 +0,0 @@
-From 9e291735c8e89879451c2feebda8f851dfa6e32c Mon Sep 17 00:00:00 2001
-From: Daniel Albers <daniel at lbe.rs>
-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 1138193, 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	2022-02-28 07:43:40 UTC (rev 1138194)
@@ -0,0 +1,30 @@
+From 9e291735c8e89879451c2feebda8f851dfa6e32c Mon Sep 17 00:00:00 2001
+From: Daniel Albers <daniel at lbe.rs>
+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	2022-02-28 07:43:29 UTC (rev 1138193)
+++ PKGBUILD	2022-02-28 07:43:40 UTC (rev 1138194)
@@ -1,36 +0,0 @@
-# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Contributor: Sebastien Leduc <sebastien at sleduc.fr>
-# Contributor: Emmanuel Gil Peyrot <linkmauve at linkmauve.fr>
-
-_pkgname=prettytable
-pkgname=python-prettytable
-pkgver=2.2.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-setuptools-scm')
-checkdepends=('python-pytest')
-conflicts=('python-ptable')
-source=("https://files.pythonhosted.org/packages/source/p/prettyTable/prettytable-${pkgver}.tar.gz")
-sha512sums=('df8ae2a1103a4965a351ba16a95ef9659107075bb023090bd9bffd69805ce647dcb26f49164f07f5af0c0b03503373c0353935b32a0fb18edf969dc984aecda7')
-
-export SETUPTOOLSA_SCM_PRETEND_VERSION=$pkgver
-
-build() {
-  cd prettytable-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd prettytable-$pkgver
-  python setup.py egg_info
-  PYTHONPATH="$PWD/src" pytest
-}
-
-package() {
-  cd prettytable-$pkgver
-  python setup.py install --root="$pkgdir/"
-}

Copied: python-prettytable/repos/community-any/PKGBUILD (from rev 1138193, python-prettytable/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-28 07:43:40 UTC (rev 1138194)
@@ -0,0 +1,36 @@
+# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Sebastien Leduc <sebastien at sleduc.fr>
+# Contributor: Emmanuel Gil Peyrot <linkmauve at linkmauve.fr>
+
+_pkgname=prettytable
+pkgname=python-prettytable
+pkgver=2.2.1
+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-setuptools-scm')
+checkdepends=('python-pytest')
+conflicts=('python-ptable')
+source=("https://files.pythonhosted.org/packages/source/p/prettyTable/prettytable-${pkgver}.tar.gz")
+sha512sums=('5496b1525342b9df4b88cc2cd6079d8c329787b20f7e581465dcdf447b90f78aad764c6505aab8a0e3c4cbb44c943720672373cf754d6f7313b68c28005a707c')
+
+export SETUPTOOLSA_SCM_PRETEND_VERSION=$pkgver
+
+build() {
+  cd prettytable-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd prettytable-$pkgver
+  python setup.py egg_info
+  PYTHONPATH="$PWD/src" pytest
+}
+
+package() {
+  cd prettytable-$pkgver
+  python setup.py install --root="$pkgdir/"
+}



More information about the arch-commits mailing list