[arch-commits] Commit in python2-futures/repos (3 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 14:12:14 UTC 2020


    Date: Tuesday, July 7, 2020 @ 14:12:13
  Author: felixonmars
Revision: 658752

archrelease: copy trunk to community-staging-any

Added:
  python2-futures/repos/community-staging-any/
  python2-futures/repos/community-staging-any/LICENSE
    (from rev 658751, python2-futures/trunk/LICENSE)
  python2-futures/repos/community-staging-any/PKGBUILD
    (from rev 658751, python2-futures/trunk/PKGBUILD)

----------+
 LICENSE  |   21 +++++++++++++++++++++
 PKGBUILD |   29 +++++++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

Copied: python2-futures/repos/community-staging-any/LICENSE (from rev 658751, python2-futures/trunk/LICENSE)
===================================================================
--- community-staging-any/LICENSE	                        (rev 0)
+++ community-staging-any/LICENSE	2020-07-07 14:12:13 UTC (rev 658752)
@@ -0,0 +1,21 @@
+Copyright 2009 Brian Quinlan. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+   1. Redistributions of source code must retain the above copyright notice,
+      this list of conditions and the following disclaimer.
+   2. Redistributions in binary 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 BRIAN QUINLAN "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
+HALL THE FREEBSD PROJECT 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.
\ No newline at end of file

Copied: python2-futures/repos/community-staging-any/PKGBUILD (from rev 658751, python2-futures/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 14:12:13 UTC (rev 658752)
@@ -0,0 +1,29 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+
+pkgname=python2-futures
+_pkgname=futures
+pkgver=3.3.0
+pkgrel=2
+pkgdesc="Backport of the concurrent.futures package from Python 3.2"
+arch=('any')
+url="https://github.com/agronholm/pythonfutures"
+license=('BSD')
+depends=('python2')
+source=("$_pkgname-$pkgver.tar.gz::https://github.com/agronholm/pythonfutures/archive/$pkgver.tar.gz"
+         LICENSE)
+md5sums=('f27b1e0bd1fb32b2b2c79cb0823f2a2d'
+         'dd6708d05936d3f6c4e20ed14c87b5e3')
+
+build() {
+  cd "python$_pkgname-$pkgver"
+  python2 setup.py build
+}
+
+package() {
+  cd "python$_pkgname-$pkgver"
+  python2 setup.py install --root "$pkgdir" --optimize=1
+
+  install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list