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

Felix Yan felixonmars at archlinux.org
Sat Aug 26 13:44:44 UTC 2017


    Date: Saturday, August 26, 2017 @ 13:44:43
  Author: felixonmars
Revision: 254033

archrelease: copy trunk to community-any

Added:
  python-qiniu/repos/community-any/LICENSE
    (from rev 254031, python-qiniu/trunk/LICENSE)
  python-qiniu/repos/community-any/PKGBUILD
    (from rev 254032, python-qiniu/trunk/PKGBUILD)
Deleted:
  python-qiniu/repos/community-any/LICENSE
  python-qiniu/repos/community-any/PKGBUILD

----------+
 LICENSE  |   44 ++++++++++++------------
 PKGBUILD |  110 ++++++++++++++++++++++++++++++-------------------------------
 2 files changed, 77 insertions(+), 77 deletions(-)

Deleted: LICENSE
===================================================================
--- LICENSE	2017-08-26 13:44:29 UTC (rev 254032)
+++ LICENSE	2017-08-26 13:44:43 UTC (rev 254033)
@@ -1,22 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2014 Qiniu, Ltd.<sdk at qiniu.com>
-
-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.
-

Copied: python-qiniu/repos/community-any/LICENSE (from rev 254031, python-qiniu/trunk/LICENSE)
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2017-08-26 13:44:43 UTC (rev 254033)
@@ -0,0 +1,22 @@
+The MIT License (MIT)
+
+Copyright (c) 2014 Qiniu, Ltd.<sdk at qiniu.com>
+
+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	2017-08-26 13:44:29 UTC (rev 254032)
+++ PKGBUILD	2017-08-26 13:44:43 UTC (rev 254033)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-qiniu
-pkgname=(python-qiniu python2-qiniu)
-pkgver=7.1.4
-pkgrel=1
-pkgdesc="Qiniu Resource Storage SDK for Python"
-arch=('any')
-url='https://github.com/qiniu/python-sdk'
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/qiniu/python-sdk/archive/v$pkgver.tar.gz")
-sha512sums=('6a924288b4809b836c7363558a27b1970dc4fd6171a66f9e048a273f423a3670a2f9a8acfb641c2fa5bada2b1681ce90f8b28694cbc01442effb553c4a6390b2')
-
-prepare() {
-  cp -a python-sdk-$pkgver{,-py2}
-}
-
-check() {
-  # Extracted from .travis.yml
-  export QINIU_ACCESS_KEY="QWYn5TFQsLLU1pL5MFEmX3s5DmHdUThav9WyOWOm"
-  export QINIU_SECRET_KEY="Bxckh6FA-Fbs9Yt3i3cbKVK22UPBmAOHJcL95pGz"
-  export QINIU_TEST_BUCKET="pythonsdk"
-  export QINIU_TEST_DOMAIN="pythonsdk.qiniudn.com"
-  export QINIU_TEST_ENV="travis"
-
-  cd "$srcdir"/python-sdk-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/python-sdk-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-qiniu() {
-  depends=('python-requests' 'python-setuptools')
-
-  cd python-sdk-$pkgver
-  python setup.py install -O1 --root "$pkgdir"
-
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-qiniu() {
-  depends=('python2-requests' 'python2-setuptools')
-
-  cd python-sdk-$pkgver-py2
-  python2 setup.py install -O1 --root "$pkgdir"
-
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-  # Don't conflict with python 3.x version
-  mv "$pkgdir"/usr/bin/qiniupy{,2}
-}

Copied: python-qiniu/repos/community-any/PKGBUILD (from rev 254032, python-qiniu/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-08-26 13:44:43 UTC (rev 254033)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-qiniu
+pkgname=(python-qiniu python2-qiniu)
+pkgver=7.1.5
+pkgrel=1
+pkgdesc="Qiniu Resource Storage SDK for Python"
+arch=('any')
+url='https://github.com/qiniu/python-sdk'
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-requests' 'python2-requests')
+checkdepends=('python-pytest-runner' 'python2-pytest-runner')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/qiniu/python-sdk/archive/v$pkgver.tar.gz")
+sha512sums=('51d14a85673b0bb3398a0ca907876655a75ad3ab747f901cc394eecbda311c048c59a07cd3c412b87a681f81b819c16d10046aaace15434c4d92d4c364bb7532')
+
+prepare() {
+  cp -a python-sdk-$pkgver{,-py2}
+}
+
+check() {
+  # Extracted from .travis.yml
+  export QINIU_ACCESS_KEY="QWYn5TFQsLLU1pL5MFEmX3s5DmHdUThav9WyOWOm"
+  export QINIU_SECRET_KEY="Bxckh6FA-Fbs9Yt3i3cbKVK22UPBmAOHJcL95pGz"
+  export QINIU_TEST_BUCKET="pythonsdk"
+  export QINIU_TEST_DOMAIN="pythonsdk.qiniudn.com"
+  export QINIU_TEST_ENV="travis"
+
+  cd "$srcdir"/python-sdk-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/python-sdk-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-qiniu() {
+  depends=('python-requests' 'python-setuptools')
+
+  cd python-sdk-$pkgver
+  python setup.py install -O1 --root "$pkgdir"
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-qiniu() {
+  depends=('python2-requests' 'python2-setuptools')
+
+  cd python-sdk-$pkgver-py2
+  python2 setup.py install -O1 --root "$pkgdir"
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+
+  # Don't conflict with python 3.x version
+  mv "$pkgdir"/usr/bin/qiniupy{,2}
+}



More information about the arch-commits mailing list