[arch-commits] Commit in python-openpyxl/repos/community-any (4 files)
Andrzej Giniewicz
aginiewicz at archlinux.org
Wed Oct 5 18:50:29 UTC 2016
Date: Wednesday, October 5, 2016 @ 18:50:29
Author: aginiewicz
Revision: 191420
archrelease: copy trunk to community-any
Added:
python-openpyxl/repos/community-any/LICENCE
(from rev 191419, python-openpyxl/trunk/LICENCE)
python-openpyxl/repos/community-any/PKGBUILD
(from rev 191419, python-openpyxl/trunk/PKGBUILD)
Deleted:
python-openpyxl/repos/community-any/LICENCE
python-openpyxl/repos/community-any/PKGBUILD
----------+
LICENCE | 70 +++++++++++++++++-----------------
PKGBUILD | 125 ++++++++++++++++++++++++++++++-------------------------------
2 files changed, 98 insertions(+), 97 deletions(-)
Deleted: LICENCE
===================================================================
--- LICENCE 2016-10-05 18:50:25 UTC (rev 191419)
+++ LICENCE 2016-10-05 18:50:29 UTC (rev 191420)
@@ -1,35 +0,0 @@
-This software is under the MIT Licence
-======================================
-
-Copyright (c) 2010 openpyxl
-
-Permission is hereby granted, free of charge, to any person obtaining a
-copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be included
-in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Odict implementation in openpyxl/writer/odict.py uses the following licence:
-
-Copyright (c) 2001-2011 Python Software Foundation
- 2011 Raymond Hettinger
-License: PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
- See http://www.opensource.org/licenses/Python-2.0 for full terms
-Note: backport changes by Raymond were originally distributed under MIT
- license, but since the original license for Python is more
- restrictive than MIT, code cannot be released under its terms and
- still adheres to the limitations of Python license.
-
Copied: python-openpyxl/repos/community-any/LICENCE (from rev 191419, python-openpyxl/trunk/LICENCE)
===================================================================
--- LICENCE (rev 0)
+++ LICENCE 2016-10-05 18:50:29 UTC (rev 191420)
@@ -0,0 +1,35 @@
+This software is under the MIT Licence
+======================================
+
+Copyright (c) 2010 openpyxl
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be included
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+Odict implementation in openpyxl/writer/odict.py uses the following licence:
+
+Copyright (c) 2001-2011 Python Software Foundation
+ 2011 Raymond Hettinger
+License: PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
+ See http://www.opensource.org/licenses/Python-2.0 for full terms
+Note: backport changes by Raymond were originally distributed under MIT
+ license, but since the original license for Python is more
+ restrictive than MIT, code cannot be released under its terms and
+ still adheres to the limitations of Python license.
+
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-05 18:50:25 UTC (rev 191419)
+++ PKGBUILD 2016-10-05 18:50:29 UTC (rev 191420)
@@ -1,62 +0,0 @@
-# $Id$
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-# Contributor: Nishit Joseph (reachjlight at gmail dot com)
-# Contributor: Martin Corley <Martin.Corley at ed.ac.uk>
-
-pkgbase=python-openpyxl
-pkgname=('python2-openpyxl' 'python-openpyxl')
-pkgver=2.3.5
-pkgrel=1
-pkgdesc="A Python library to read/write Excel 2007 xlsx/xlsm files"
-arch=('any')
-url="http://openpyxl.readthedocs.org/"
-license=('MIT')
-makedepends=('python2-setuptools' 'python-setuptools' 'python-jdcal' 'python2-jdcal' 'python-et-xmlfile' 'python2-et-xmlfile')
-source=("https://pypi.python.org/packages/source/o/openpyxl/openpyxl-${pkgver}.tar.gz"
- "LICENCE")
-md5sums=('425a8aee5dc9fcc25e6ffd8d4babb93a'
- 'c8afe530744e932b892358e6eb5bea9b')
-
-prepare() {
- cd "$srcdir"
- cp -a openpyxl-${pkgver} openpyxl-py2-${pkgver}
- cd openpyxl-py2-${pkgver}
-
- sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
- -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
- -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
- -i $(find . -name '*.py')
-}
-
-build() {
- msg "Building Python2"
- cd "$srcdir"/openpyxl-py2-${pkgver}
- python2 setup.py build
-
- msg "Building Python3"
- cd "$srcdir"/openpyxl-${pkgver}
- python setup.py build
-}
-
-package_python2-openpyxl() {
- depends=('python2' 'python2-jdcal' 'python2-et-xmlfile')
- optdepends=('python2-pillow: needed to include images')
-
- cd "$srcdir"/openpyxl-py2-${pkgver}
-
- python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
-
- install -Dm644 "$srcdir"/LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
-}
-
-package_python-openpyxl() {
- depends=('python' 'python-jdcal' 'python-et-xmlfile')
- optdepends=('python-pillow: needed to include images')
-
- cd "$srcdir"/openpyxl-${pkgver}
-
- python setup.py install --skip-build --root="$pkgdir" --optimize=1
-
- install -Dm644 "$srcdir"/LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
-}
-
Copied: python-openpyxl/repos/community-any/PKGBUILD (from rev 191419, python-openpyxl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-10-05 18:50:29 UTC (rev 191420)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Nishit Joseph (reachjlight at gmail dot com)
+# Contributor: Martin Corley <Martin.Corley at ed.ac.uk>
+
+pkgbase=python-openpyxl
+pkgname=('python2-openpyxl' 'python-openpyxl')
+pkgver=2.4.0
+_pkgtag='571d0a60d874'
+pkgrel=1
+pkgdesc="A Python library to read/write Excel 2007 xlsx/xlsm files"
+arch=('any')
+url="http://openpyxl.readthedocs.org/"
+license=('MIT')
+makedepends=('python2-setuptools' 'python-setuptools' 'python-jdcal' 'python2-jdcal' 'python-et-xmlfile' 'python2-et-xmlfile')
+source=("https://bitbucket.org/openpyxl/openpyxl/get/${pkgver}.tar.bz2"
+ "LICENCE")
+md5sums=('30085e87610e6e4fc0e4c68364b52365'
+ 'c8afe530744e932b892358e6eb5bea9b')
+
+prepare() {
+ cd "$srcdir"
+ cp -a openpyxl-openpyxl-${_pkgtag} openpyxl-openpyxl-py2-${_pkgtag}
+ cd openpyxl-openpyxl-py2-${_pkgtag}
+
+ sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
+ -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+ -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
+ -i $(find . -name '*.py')
+}
+
+build() {
+ msg "Building Python2"
+ cd "$srcdir"/openpyxl-openpyxl-py2-${_pkgtag}
+ python2 setup.py build
+
+ msg "Building Python3"
+ cd "$srcdir"/openpyxl-openpyxl-${_pkgtag}
+ python setup.py build
+}
+
+package_python2-openpyxl() {
+ depends=('python2-jdcal' 'python2-et-xmlfile')
+ optdepends=('python2-pillow: needed to include images')
+
+ cd "$srcdir"/openpyxl-openpyxl-py2-${_pkgtag}
+
+ python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
+
+ install -Dm644 "$srcdir"/LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
+}
+
+package_python-openpyxl() {
+ depends=('python-jdcal' 'python-et-xmlfile')
+ optdepends=('python-pillow: needed to include images')
+
+ cd "$srcdir"/openpyxl-openpyxl-${_pkgtag}
+
+ python setup.py install --skip-build --root="$pkgdir" --optimize=1
+
+ install -Dm644 "$srcdir"/LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
+}
+
More information about the arch-commits
mailing list