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

Jelle van der Waa jelle at archlinux.org
Thu Dec 10 20:24:39 UTC 2015


    Date: Thursday, December 10, 2015 @ 21:24:39
  Author: jelle
Revision: 152577

archrelease: copy trunk to community-any

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

----------------------+
 LICENSE.txt          |   52 ++++++++++----------
 PKGBUILD             |  122 ++++++++++++++++++++++++-------------------------
 print_unittest.patch |   18 +++----
 3 files changed, 96 insertions(+), 96 deletions(-)

Deleted: LICENSE.txt
===================================================================
--- LICENSE.txt	2015-12-10 20:24:24 UTC (rev 152576)
+++ LICENSE.txt	2015-12-10 20:24:39 UTC (rev 152577)
@@ -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 152576, python-decorator/trunk/LICENSE.txt)
===================================================================
--- LICENSE.txt	                        (rev 0)
+++ LICENSE.txt	2015-12-10 20:24:39 UTC (rev 152577)
@@ -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	2015-12-10 20:24:24 UTC (rev 152576)
+++ PKGBUILD	2015-12-10 20:24:39 UTC (rev 152577)
@@ -1,61 +0,0 @@
-# $Id$
-# Maintainer: Thomas Dziedzic < gostrc at gmail >
-# Contributor: Pierre Chapuis <catwell at archlinux dot us>
-
-pkgname=('python-decorator' 'python2-decorator')
-pkgver=4.0.4
-pkgrel=1
-pkgdesc='Python Decorator module'
-arch=('any')
-url='http://pypi.python.org/pypi/decorator'
-license=('BSD')
-makedepends=('python2' 'python' 'python-setuptools' 'python2-setuptools')
-source=("http://pypi.python.org/packages/source/d/decorator/decorator-${pkgver}.tar.gz"
-        'LICENSE.txt' 'print_unittest.patch')
-md5sums=('dd3a0669e1e6f09699eefa2c7fbd9756'
-         '0ca76d2c707f09dbb04acc425ea1a08b'
-         'ce7b145ff6b667a84d7e9004095a9c15')
-
-build() {
-  # Make python and python2 builds possible
-  cp -r decorator-$pkgver decorator2-$pkgver
-
-  cd "$srcdir/decorator-$pkgver"
-
-  python3 setup.py build
-
-  cd "$srcdir/decorator2-$pkgver"
-
-  python2 setup.py build
-}
-
-package_python2-decorator() {
-depends=('python2')
-replaces=('python-decorator<=3.3.2-1')
-  cd "${srcdir}/decorator2-${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}/decorator-${pkgver}"
-
-  python3 setup.py install --root="${pkgdir}" --optimize=1
-
-  install -D -m644 "${srcdir}/LICENSE.txt" \
-    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-check() {
-  cd "$srcdir/decorator-$pkgver"
-  patch -Np1 -i $srcdir/print_unittest.patch
-
-  python3 setup.py test
-
-  cd "$srcdir/decorator2-$pkgver"
-
-  python2 setup.py test
-}

Copied: python-decorator/repos/community-any/PKGBUILD (from rev 152576, python-decorator/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-12-10 20:24:39 UTC (rev 152577)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Pierre Chapuis <catwell at archlinux dot us>
+
+pkgname=('python-decorator' 'python2-decorator')
+pkgver=4.0.5
+pkgrel=1
+pkgdesc='Python Decorator module'
+arch=('any')
+url='http://pypi.python.org/pypi/decorator'
+license=('BSD')
+makedepends=('python2' 'python' 'python-setuptools' 'python2-setuptools')
+source=("http://pypi.python.org/packages/source/d/decorator/decorator-${pkgver}.tar.gz"
+        'LICENSE.txt' 'print_unittest.patch')
+md5sums=('1dc49f53cede079788fa8db0e1c561df'
+         '0ca76d2c707f09dbb04acc425ea1a08b'
+         'ce7b145ff6b667a84d7e9004095a9c15')
+
+build() {
+  # Make python and python2 builds possible
+  cp -r decorator-$pkgver decorator2-$pkgver
+
+  cd "$srcdir/decorator-$pkgver"
+
+  python3 setup.py build
+
+  cd "$srcdir/decorator2-$pkgver"
+
+  python2 setup.py build
+}
+
+package_python2-decorator() {
+depends=('python2')
+replaces=('python-decorator<=3.3.2-1')
+  cd "${srcdir}/decorator2-${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}/decorator-${pkgver}"
+
+  python3 setup.py install --root="${pkgdir}" --optimize=1
+
+  install -D -m644 "${srcdir}/LICENSE.txt" \
+    "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+check() {
+  cd "$srcdir/decorator-$pkgver"
+  patch -Np1 -i $srcdir/print_unittest.patch
+
+  python3 setup.py test
+
+  cd "$srcdir/decorator2-$pkgver"
+
+  python2 setup.py test
+}

Deleted: print_unittest.patch
===================================================================
--- print_unittest.patch	2015-12-10 20:24:24 UTC (rev 152576)
+++ print_unittest.patch	2015-12-10 20:24:39 UTC (rev 152577)
@@ -1,9 +0,0 @@
-diff -aur decorator-4.0.4/src/tests/x.py decorator-4.0.4.new/src/tests/x.py
---- decorator-4.0.4/src/tests/x.py	2015-09-21 16:59:07.000000000 +0200
-+++ decorator-4.0.4.new/src/tests/x.py	2015-10-03 12:25:25.140912675 +0200
-@@ -31,4 +31,4 @@
-     for instance in instances:
-         instance.f()
-     del instances
--    print C.f.cache
-+    print(C.f.cache)

Copied: python-decorator/repos/community-any/print_unittest.patch (from rev 152576, python-decorator/trunk/print_unittest.patch)
===================================================================
--- print_unittest.patch	                        (rev 0)
+++ print_unittest.patch	2015-12-10 20:24:39 UTC (rev 152577)
@@ -0,0 +1,9 @@
+diff -aur decorator-4.0.4/src/tests/x.py decorator-4.0.4.new/src/tests/x.py
+--- decorator-4.0.4/src/tests/x.py	2015-09-21 16:59:07.000000000 +0200
++++ decorator-4.0.4.new/src/tests/x.py	2015-10-03 12:25:25.140912675 +0200
+@@ -31,4 +31,4 @@
+     for instance in instances:
+         instance.f()
+     del instances
+-    print C.f.cache
++    print(C.f.cache)



More information about the arch-commits mailing list