Date: Monday, December 7, 2015 @ 10:09:11 Author: fyan Revision: 149784
archrelease: copy trunk to community-any Added: python-qiniu/repos/community-any/LICENSE (from rev 149783, python-qiniu/trunk/LICENSE) python-qiniu/repos/community-any/PKGBUILD (from rev 149783, python-qiniu/trunk/PKGBUILD) Deleted: python-qiniu/repos/community-any/LICENSE python-qiniu/repos/community-any/PKGBUILD ----------+ LICENSE | 44 +++++++++++++++---------------- PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 2 files changed, 64 insertions(+), 64 deletions(-) Deleted: LICENSE =================================================================== --- LICENSE 2015-12-07 09:08:48 UTC (rev 149783) +++ LICENSE 2015-12-07 09:09:11 UTC (rev 149784) @@ -1,22 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 Qiniu, Ltd.<s...@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 149783, python-qiniu/trunk/LICENSE) =================================================================== --- LICENSE (rev 0) +++ LICENSE 2015-12-07 09:09:11 UTC (rev 149784) @@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2014 Qiniu, Ltd.<s...@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 2015-12-07 09:08:48 UTC (rev 149783) +++ PKGBUILD 2015-12-07 09:09:11 UTC (rev 149784) @@ -1,42 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgbase=python-qiniu -pkgname=(python-qiniu python2-qiniu) -_pkgname=qiniu -pkgver=7.0.5 -pkgrel=2 -pkgdesc="Qiniu Resource Storage SDK for Python" -arch=('any') -url='https://github.com/qiniu/python-sdk' -license=('MIT') -makedepends=('python-setuptools' 'python2-setuptools') -source=("https://pypi.python.org/packages/source/q/qiniu/qiniu-$pkgver.tar.gz" - LICENSE) -sha512sums=('7ac090fd910e9556eb666ae935b30def4797ed52635413c689da6c20122f4195d4d587bc39765e7f0d4d1bc521cce86c6a9ec0525ef9ff34294dad14d24477c2' - '4fbb1090b3ee0d230d40b45db7bcd164873872d1860bd83b51197ed5d03e9d4be7785a400f1d314d6e3c0a6fcba7e1afdf3fdab04ae9970df59f96b18862c529') - -prepare() { - cp -a ${_pkgname}-$pkgver{,-py2} -} - -package_python-qiniu() { - depends=('python-requests' 'python-setuptools') - - cd ${_pkgname}-$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 ${_pkgname}-$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 149783, python-qiniu/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2015-12-07 09:09:11 UTC (rev 149784) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgbase=python-qiniu +pkgname=(python-qiniu python2-qiniu) +_pkgname=qiniu +pkgver=7.0.6 +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') +source=("https://pypi.python.org/packages/source/q/qiniu/qiniu-$pkgver.tar.gz" + LICENSE) +sha512sums=('d57b803862b8359b523da484af4375bdd229193e3957fa077d6f36f36a3aa0359847441bf0b8b7128921695abf60b031f78b275b84017784f077e111c1d2a165' + '4fbb1090b3ee0d230d40b45db7bcd164873872d1860bd83b51197ed5d03e9d4be7785a400f1d314d6e3c0a6fcba7e1afdf3fdab04ae9970df59f96b18862c529') + +prepare() { + cp -a ${_pkgname}-$pkgver{,-py2} +} + +package_python-qiniu() { + depends=('python-requests' 'python-setuptools') + + cd ${_pkgname}-$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 ${_pkgname}-$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} +}