[arch-commits] Commit in python-openpyxl/repos (3 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 4 05:05:13 UTC 2019


    Date: Monday, November 4, 2019 @ 05:05:12
  Author: felixonmars
Revision: 523168

archrelease: copy trunk to community-staging-any

Added:
  python-openpyxl/repos/community-staging-any/
  python-openpyxl/repos/community-staging-any/LICENCE
    (from rev 523167, python-openpyxl/trunk/LICENCE)
  python-openpyxl/repos/community-staging-any/PKGBUILD
    (from rev 523167, python-openpyxl/trunk/PKGBUILD)

----------+
 LICENCE  |   23 +++++++++++++++++++++++
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

Copied: python-openpyxl/repos/community-staging-any/LICENCE (from rev 523167, python-openpyxl/trunk/LICENCE)
===================================================================
--- community-staging-any/LICENCE	                        (rev 0)
+++ community-staging-any/LICENCE	2019-11-04 05:05:12 UTC (rev 523168)
@@ -0,0 +1,23 @@
+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.

Copied: python-openpyxl/repos/community-staging-any/PKGBUILD (from rev 523167, python-openpyxl/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 05:05:12 UTC (rev 523168)
@@ -0,0 +1,33 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Nishit Joseph (reachjlight at gmail dot com)
+# Contributor: Martin Corley <Martin.Corley at ed.ac.uk>
+
+pkgname='python-openpyxl'
+pkgver=3.0.0
+_pkgtag='5eaaf27880d0'
+pkgrel=2
+pkgdesc="A Python library to read/write Excel 2007 xlsx/xlsm files"
+arch=('any')
+url="https://openpyxl.readthedocs.org/"
+license=('MIT')
+depends=('python-jdcal' 'python-et-xmlfile')
+makedepends=('python-setuptools')
+optdepends=('python-pillow: needed to include images'
+            'python-lxml: alternative XML backend'
+            'python-defusedxml: guard against various XML vulnerabilities'
+            'python-pandas: for iteration over Pandas DataFrames')
+source=("https://bitbucket.org/openpyxl/openpyxl/get/${pkgver}.tar.bz2"
+        "LICENCE")
+sha256sums=('f0dc42db9ac0b780b9b9aa642774a7918d116db98e1418b488430d4b94fd2280'
+            '0c84bb42f5d367e5ebf9fc2dde35b16141df5ee0fdc189250858bc6c5560f69e')
+
+build() {
+  cd "$srcdir"/openpyxl-openpyxl-${_pkgtag}
+  python setup.py build
+}
+
+package() {
+  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