[arch-commits] Commit in python-xlwt/repos/community-any (3 files)

Andrzej Giniewicz aginiewicz at archlinux.org
Sat Jan 21 12:34:02 UTC 2017


    Date: Saturday, January 21, 2017 @ 12:34:02
  Author: aginiewicz
Revision: 208261

archrelease: copy trunk to community-any

Added:
  python-xlwt/repos/community-any/PKGBUILD
    (from rev 208260, python-xlwt/trunk/PKGBUILD)
Deleted:
  python-xlwt/repos/community-any/PKGBUILD
  python-xlwt/repos/community-any/python3.6.patch

-----------------+
 PKGBUILD        |  103 ++++++++++++++++++++++++++----------------------------
 python3.6.patch |   36 ------------------
 2 files changed, 50 insertions(+), 89 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-21 12:33:57 UTC (rev 208260)
+++ PKGBUILD	2017-01-21 12:34:02 UTC (rev 208261)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-# Contributor: Aaron DeVore <aaron.devore at gmail.com>
-# Contributor: David Moore <davidm at sjsoft.com>
-
-pkgbase=python-xlwt
-pkgname=('python2-xlwt' 'python-xlwt')
-pkgver=1.1.2
-pkgrel=2
-pkgdesc="Library to create spreadsheet files compatible with MS Excel 97/2000/XP/2003 XLS files"
-arch=('any')
-url="http://www.python-excel.org/"
-license=('BSD')
-makedepends=('python2-setuptools' 'python-setuptools')
-source=("https://github.com/python-excel/xlwt/archive/${pkgver}.tar.gz"
-        python3.6.patch)
-md5sums=('7533c37c5908200627b754c135241b75'
-         '0c6581f27989b3c141d78b53b09092a1')
-
-build() {
-  cd "$srcdir"
-  (cd xlwt-${pkgver}; patch -p1 -i ../python3.6.patch)
-  cp -a xlwt-${pkgver} xlwt-py2-${pkgver}
-
-  msg "Building Python2"
-  cd "$srcdir"/xlwt-py2-${pkgver}
-  python2 setup.py build
-
-  msg "Building Python3"
-  cd "$srcdir"/xlwt-${pkgver}
-  python setup.py build
-}
-
-package_python2-xlwt() {
-  depends=('python2')
-
-  cd "$srcdir"/xlwt-py2-${pkgver}
-
-  python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
-
-  install -Dm644 docs/licenses.rst "$pkgdir/usr/share/licenses/$pkgname/licences.rst"
-}
-
-package_python-xlwt() {
-  depends=('python')
-
-  cd "$srcdir"/xlwt-${pkgver}
-
-  python setup.py install --skip-build --root="$pkgdir" --optimize=1
-
-  install -Dm644 docs/licenses.rst "$pkgdir/usr/share/licenses/$pkgname/licences.rst"
-}
-

Copied: python-xlwt/repos/community-any/PKGBUILD (from rev 208260, python-xlwt/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-01-21 12:34:02 UTC (rev 208261)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Aaron DeVore <aaron.devore at gmail.com>
+# Contributor: David Moore <davidm at sjsoft.com>
+
+pkgbase=python-xlwt
+pkgname=('python2-xlwt' 'python-xlwt')
+pkgver=1.2.0
+pkgrel=1
+pkgdesc="Library to create spreadsheet files compatible with MS Excel 97/2000/XP/2003 XLS files"
+arch=('any')
+url="http://www.python-excel.org/"
+license=('BSD')
+makedepends=('python2-setuptools' 'python-setuptools')
+source=("https://github.com/python-excel/xlwt/archive/${pkgver}.tar.gz")
+md5sums=('9af8df71cbd13911a89250dc374e613c')
+
+build() {
+  cd "$srcdir"
+  cp -a xlwt-${pkgver} xlwt-py2-${pkgver}
+
+  msg "Building Python2"
+  cd "$srcdir"/xlwt-py2-${pkgver}
+  python2 setup.py build
+
+  msg "Building Python3"
+  cd "$srcdir"/xlwt-${pkgver}
+  python setup.py build
+}
+
+package_python2-xlwt() {
+  depends=('python2')
+
+  cd "$srcdir"/xlwt-py2-${pkgver}
+
+  python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
+
+  install -Dm644 docs/licenses.rst "$pkgdir/usr/share/licenses/$pkgname/licences.rst"
+}
+
+package_python-xlwt() {
+  depends=('python')
+
+  cd "$srcdir"/xlwt-${pkgver}
+
+  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+
+  install -Dm644 docs/licenses.rst "$pkgdir/usr/share/licenses/$pkgname/licences.rst"
+}
+

Deleted: python3.6.patch
===================================================================
--- python3.6.patch	2017-01-21 12:33:57 UTC (rev 208260)
+++ python3.6.patch	2017-01-21 12:34:02 UTC (rev 208261)
@@ -1,36 +0,0 @@
-From 86564ef26341020316cd8a27c704ef1dc5a6129b Mon Sep 17 00:00:00 2001
-From: Jon Dufresne <jon.dufresne at gmail.com>
-Date: Thu, 18 Aug 2016 17:17:24 -0700
-Subject: [PATCH] Remove LOCALE from str regular expression
-
-Fixes warning:
-
-DeprecationWarning: LOCALE flag with a str pattern is deprecated. Will be an error in 3.6
-
-Fixes #90
----
- xlwt/ExcelFormulaLexer.py | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/xlwt/ExcelFormulaLexer.py b/xlwt/ExcelFormulaLexer.py
-index 46a2bff..8ff7386 100644
---- a/xlwt/ExcelFormulaLexer.py
-+++ b/xlwt/ExcelFormulaLexer.py
-@@ -3,7 +3,7 @@
- 
- from .antlr import EOF, CommonToken as Tok, TokenStream, TokenStreamException
- from . import ExcelFormulaParser
--from re import compile as recompile, LOCALE, IGNORECASE, VERBOSE
-+from re import compile as recompile, IGNORECASE, VERBOSE
- 
- 
- int_const_pattern = r"\d+\b"
-@@ -50,7 +50,7 @@
- 
- _re = recompile(
-     '(' + ')|('.join([i[0] for i in pattern_type_tuples]) + ')',
--    VERBOSE+LOCALE+IGNORECASE)
-+    VERBOSE+IGNORECASE)
- 
- _toktype = [None] + [i[1] for i in pattern_type_tuples]
- # need dummy at start because re.MatchObject.lastindex counts from 1



More information about the arch-commits mailing list