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

Jelle van der Waa jelle at archlinux.org
Tue Mar 3 19:50:02 UTC 2020


    Date: Tuesday, March 3, 2020 @ 19:50:02
  Author: jelle
Revision: 589809

archrelease: copy trunk to community-any

Added:
  python-decorator/repos/community-any/LICENSE.txt
    (from rev 589808, python-decorator/trunk/LICENSE.txt)
  python-decorator/repos/community-any/PKGBUILD
    (from rev 589808, python-decorator/trunk/PKGBUILD)
Deleted:
  python-decorator/repos/community-any/LICENSE.txt
  python-decorator/repos/community-any/PKGBUILD

-------------+
 LICENSE.txt |   52 ++++++++++++-------------
 PKGBUILD    |  118 +++++++++++++++++++++++++++++-----------------------------
 2 files changed, 85 insertions(+), 85 deletions(-)

Deleted: LICENSE.txt
===================================================================
--- LICENSE.txt	2020-03-03 19:49:50 UTC (rev 589808)
+++ LICENSE.txt	2020-03-03 19:50:02 UTC (rev 589809)
@@ -1,26 +0,0 @@
-Copyright (c) 2007, Michele Simionato
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
-
-  Redistributions of source code must retain the above copyright 
-  notice, this list of conditions and the following disclaimer.
-  Redistributions in bytecode form must reproduce the above copyright
-  notice, this list of conditions and the following disclaimer in
-  the documentation and/or other materials provided with the
-  distribution. 
-
-  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-  HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
-  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
-  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
-  OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
-  TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
-  USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
-  DAMAGE.

Copied: python-decorator/repos/community-any/LICENSE.txt (from rev 589808, python-decorator/trunk/LICENSE.txt)
===================================================================
--- LICENSE.txt	                        (rev 0)
+++ LICENSE.txt	2020-03-03 19:50:02 UTC (rev 589809)
@@ -0,0 +1,26 @@
+Copyright (c) 2007, Michele Simionato
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+  Redistributions of source code must retain the above copyright 
+  notice, this list of conditions and the following disclaimer.
+  Redistributions in bytecode form must reproduce the above copyright
+  notice, this list of conditions and the following disclaimer in
+  the documentation and/or other materials provided with the
+  distribution. 
+
+  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+  HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+  INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+  BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
+  OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
+  TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
+  USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+  DAMAGE.

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-03 19:49:50 UTC (rev 589808)
+++ PKGBUILD	2020-03-03 19:50:02 UTC (rev 589809)
@@ -1,59 +0,0 @@
-# Maintainer: Thomas Dziedzic < gostrc at gmail >
-# Contributor: Pierre Chapuis <catwell at archlinux dot us>
-
-_name=decorator
-pkgname=('python-decorator' 'python2-decorator')
-pkgver=4.4.1
-pkgrel=1
-pkgdesc='Python Decorator module'
-arch=('any')
-url='https://pypi.python.org/pypi/decorator'
-license=('BSD')
-makedepends=('python2' 'python' 'python-setuptools' 'python2-setuptools')
-source=("https://pypi.python.org/packages/source/${_name:0:1}/${_name}/${_name}-${pkgver}.tar.gz"
-        'LICENSE.txt')
-sha512sums=('12378702246b212d5fe0153dc97cafdb2afd4779c51fd224385e3c3562e1a1e3439574aa7c37c8521fe5f86a5f0b4d4b3075e0407cc249f8fa4b341e1ebe06e0'
-            '0a06dfb3f470b8d3b056bd4e4776df715876d04d0acc86dec536fa7cff0214ba5255833923558d1778db730d080960f31d5e12f939e761530823b6e70646b5c2')
-
-build() {
-  # Make python and python2 builds possible
-  cp -r decorator-$pkgver decorator2-$pkgver
-
-  cd "$srcdir/$_name-$pkgver"
-
-  python3 setup.py build
-
-  cd "$srcdir/${_name}2-$pkgver"
-
-  python2 setup.py build
-}
-
-package_python2-decorator() {
-depends=('python2')
-replaces=('python-decorator<=3.3.2-1')
-  cd "${srcdir}/${_name}2-${pkgver}"
-
-  python2 setup.py install --root="${pkgdir}" --optimize=1
-
-  install -D -m644 "${srcdir}/LICENSE.txt" \
-    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-package_python-decorator() {
-depends=('python')
-  cd "${srcdir}/${_name}-${pkgver}"
-
-  python3 setup.py install --root="${pkgdir}" --optimize=1
-
-  install -D -m644 "${srcdir}/LICENSE.txt" \
-    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-check() {
-  cd "$srcdir/${_name}-$pkgver"
-
-  python3 setup.py test
-
-  cd "$srcdir/${_name}2-$pkgver"
-
-  python2 setup.py test
-}

Copied: python-decorator/repos/community-any/PKGBUILD (from rev 589808, python-decorator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-03 19:50:02 UTC (rev 589809)
@@ -0,0 +1,59 @@
+# Maintainer: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Pierre Chapuis <catwell at archlinux dot us>
+
+_name=decorator
+pkgname=('python-decorator' 'python2-decorator')
+pkgver=4.4.2
+pkgrel=1
+pkgdesc='Python Decorator module'
+arch=('any')
+url='https://pypi.python.org/pypi/decorator'
+license=('BSD')
+makedepends=('python2' 'python' 'python-setuptools' 'python2-setuptools')
+source=("https://pypi.python.org/packages/source/${_name:0:1}/${_name}/${_name}-${pkgver}.tar.gz"
+        'LICENSE.txt')
+sha512sums=('c068efd4e70764ac447b772c9c29625c2180dad256b2b4e46a50a8479fc1d7de09b114c2ba11bb37dd58774ed9460d2e0ea9fa76061833a2d3c2676ac91a0db1'
+            '0a06dfb3f470b8d3b056bd4e4776df715876d04d0acc86dec536fa7cff0214ba5255833923558d1778db730d080960f31d5e12f939e761530823b6e70646b5c2')
+
+build() {
+  # Make python and python2 builds possible
+  cp -r decorator-$pkgver decorator2-$pkgver
+
+  cd "$srcdir/$_name-$pkgver"
+
+  python3 setup.py build
+
+  cd "$srcdir/${_name}2-$pkgver"
+
+  python2 setup.py build
+}
+
+package_python2-decorator() {
+depends=('python2')
+replaces=('python-decorator<=3.3.2-1')
+  cd "${srcdir}/${_name}2-${pkgver}"
+
+  python2 setup.py install --root="${pkgdir}" --optimize=1
+
+  install -D -m644 "${srcdir}/LICENSE.txt" \
+    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+package_python-decorator() {
+depends=('python')
+  cd "${srcdir}/${_name}-${pkgver}"
+
+  python3 setup.py install --root="${pkgdir}" --optimize=1
+
+  install -D -m644 "${srcdir}/LICENSE.txt" \
+    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+check() {
+  cd "$srcdir/${_name}-$pkgver"
+
+  python3 setup.py test
+
+  cd "$srcdir/${_name}2-$pkgver"
+
+  python2 setup.py test
+}



More information about the arch-commits mailing list