[arch-commits] Commit in python-openpyxl/repos/community-any (3 files)
Chih-Hsuan Yen
yan12125 at gemini.archlinux.org
Mon May 30 04:25:22 UTC 2022
Date: Monday, May 30, 2022 @ 04:25:21
Author: yan12125
Revision: 1214780
archrelease: copy trunk to community-any
Added:
python-openpyxl/repos/community-any/PKGBUILD
(from rev 1214779, python-openpyxl/trunk/PKGBUILD)
Deleted:
python-openpyxl/repos/community-any/LICENCE
python-openpyxl/repos/community-any/PKGBUILD
----------+
LICENCE | 23 --------------------
PKGBUILD | 67 +++++++++++++++++++++++++++++++++----------------------------
2 files changed, 37 insertions(+), 53 deletions(-)
Deleted: LICENCE
===================================================================
--- LICENCE 2022-05-30 04:25:10 UTC (rev 1214779)
+++ LICENCE 2022-05-30 04:25:21 UTC (rev 1214780)
@@ -1,23 +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.
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-30 04:25:10 UTC (rev 1214779)
+++ PKGBUILD 2022-05-30 04:25:21 UTC (rev 1214780)
@@ -1,30 +0,0 @@
-# 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.9
-pkgrel=3
-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://foss.heptapod.net/openpyxl/openpyxl/-/archive/${pkgver}/openpyxl-${pkgver}.tar.bz2")
-sha256sums=('351d38f1bba45a4a3cdcdc626d6c3f815677f5f0bc218315664678efe47e4e3f')
-
-build() {
- cd "$srcdir"/openpyxl-${pkgver}
- python setup.py build
-}
-
-package() {
- cd "$srcdir"/openpyxl-${pkgver}
- python setup.py install --skip-build --root="$pkgdir" --optimize=1
- install -Dm644 LICENCE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
-}
Copied: python-openpyxl/repos/community-any/PKGBUILD (from rev 1214779, python-openpyxl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-30 04:25:21 UTC (rev 1214780)
@@ -0,0 +1,37 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+# Contributor: 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.10
+pkgrel=1
+pkgdesc="A Python library to read/write Excel 2007 xlsx/xlsm files"
+arch=('any')
+url="https://openpyxl.readthedocs.org/"
+license=('MIT')
+depends=('python-et-xmlfile')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-lxml' 'python-pandas' 'python-pillow')
+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://foss.heptapod.net/openpyxl/openpyxl/-/archive/${pkgver}/openpyxl-${pkgver}.tar.bz2")
+sha256sums=('265ae51674a0b30d5394a437a2c96c520c6cfcaf479a4d3e0f75d829d172664e')
+
+build() {
+ cd "$srcdir"/openpyxl-${pkgver}
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/openpyxl-${pkgver}
+ pytest
+}
+
+package() {
+ cd "$srcdir"/openpyxl-${pkgver}
+ python setup.py install --skip-build --root="$pkgdir" --optimize=1
+ install -Dm644 LICENCE.rst "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
+}
More information about the arch-commits
mailing list