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

Andrzej Giniewicz aginiewicz at archlinux.org
Thu Oct 3 18:30:55 UTC 2019


    Date: Thursday, October 3, 2019 @ 18:30:54
  Author: aginiewicz
Revision: 512535

archrelease: copy trunk to community-any

Added:
  python-et-xmlfile/repos/community-any/LICENCE
    (from rev 512534, python-et-xmlfile/trunk/LICENCE)
  python-et-xmlfile/repos/community-any/PKGBUILD
    (from rev 512534, python-et-xmlfile/trunk/PKGBUILD)
Deleted:
  python-et-xmlfile/repos/community-any/LICENCE
  python-et-xmlfile/repos/community-any/PKGBUILD

----------+
 LICENCE  |   70 +++++++++++++++++++++++++--------------------------
 PKGBUILD |   83 +++++++++++++++++++------------------------------------------
 2 files changed, 61 insertions(+), 92 deletions(-)

Deleted: LICENCE
===================================================================
--- LICENCE	2019-10-03 18:30:51 UTC (rev 512534)
+++ LICENCE	2019-10-03 18:30:54 UTC (rev 512535)
@@ -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-et-xmlfile/repos/community-any/LICENCE (from rev 512534, python-et-xmlfile/trunk/LICENCE)
===================================================================
--- LICENCE	                        (rev 0)
+++ LICENCE	2019-10-03 18:30:54 UTC (rev 512535)
@@ -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	2019-10-03 18:30:51 UTC (rev 512534)
+++ PKGBUILD	2019-10-03 18:30:54 UTC (rev 512535)
@@ -1,57 +0,0 @@
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-
-pkgbase=python-et-xmlfile
-pkgname=('python2-et-xmlfile' 'python-et-xmlfile')
-pkgver=1.0.1
-pkgrel=4
-pkgdesc="A low memory library for creating large XML files."
-arch=('any')
-url="https://et-xmlfile.readthedocs.io/"
-license=('MIT')
-makedepends=('python2-setuptools' 'python-setuptools' 'python-lxml' 'python2-lxml')
-source=("https://pypi.python.org/packages/source/e/et_xmlfile/et_xmlfile-${pkgver}.tar.gz"
-        "LICENCE")
-sha1sums=('a3e502098bcb7fff22857882d80813c1b6db7608'
-          '8b67150a9c68fa385ebe71453141020860a72ff4')
-
-prepare() {
-  cd "$srcdir"
-  cp -a et_xmlfile-${pkgver} et_xmlfile-py2-${pkgver}
-  cd et_xmlfile-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() {
-  # "Building Python2"
-  cd "$srcdir"/et_xmlfile-py2-${pkgver}
-  python2 setup.py build
-
-  # "Building Python3"
-  cd "$srcdir"/et_xmlfile-${pkgver}
-  python setup.py build
-}
-
-package_python2-et-xmlfile() {
-  depends=('python2' 'python2-lxml')
-
-  cd "$srcdir"/et_xmlfile-py2-${pkgver}
-
-  python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
-
-  install -Dm644 "$srcdir"/LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
-}
-
-package_python-et-xmlfile() {
-  depends=('python' 'python-lxml')
-
-  cd "$srcdir"/et_xmlfile-${pkgver}
-
-  python setup.py install --skip-build --root="$pkgdir" --optimize=1
-
-  install -Dm644 "$srcdir"/LICENCE "$pkgdir"/usr/share/licenses/$pkgname/LICENCE
-}
-

Copied: python-et-xmlfile/repos/community-any/PKGBUILD (from rev 512534, python-et-xmlfile/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-10-03 18:30:54 UTC (rev 512535)
@@ -0,0 +1,26 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+pkgname='python-et-xmlfile'
+pkgver=1.0.1
+pkgrel=5
+pkgdesc="A low memory library for creating large XML files."
+arch=('any')
+url="https://et-xmlfile.readthedocs.io/"
+license=('MIT')
+depends=('python-lxml')
+makedepends=('python-setuptools')
+source=("https://pypi.python.org/packages/source/e/et_xmlfile/et_xmlfile-${pkgver}.tar.gz"
+        "LICENCE")
+sha256sums=('614d9722d572f6246302c4491846d2c393c199cfa4edc9af593437691683335b'
+            '661ec7386be2767e08c469d039de4918c91b5223b6fd8b19961377977bc0652d')
+
+build() {
+  cd "$srcdir"/et_xmlfile-${pkgver}
+  python setup.py build
+}
+
+package() {
+  cd "$srcdir"/et_xmlfile-${pkgver}
+  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