Date: Thursday, February 20, 2014 @ 12:57:35 Author: arodseth Revision: 105976
upgpkg: python-configobj 5.0.1-1 Modified: python-configobj/trunk/PKGBUILD Deleted: python-configobj/trunk/voidspace-license.txt -----------------------+ PKGBUILD | 32 ++++++++++++++++++-------------- voidspace-license.txt | 32 -------------------------------- 2 files changed, 18 insertions(+), 46 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-02-20 09:03:10 UTC (rev 105975) +++ PKGBUILD 2014-02-20 11:57:35 UTC (rev 105976) @@ -5,25 +5,29 @@ # Contributor: Manuel "ekerazha" C. (www.ekerazha.com) pkgbase=python-configobj -pkgname=('python2-configobj') -pkgver=4.7.2 -pkgrel=6 +pkgname=('python-configobj' 'python2-configobj') +pkgver=5.0.1 +pkgrel=1 pkgdesc='Simple but powerful config file reader and writer for Python' arch=('any') -url='http://www.voidspace.org.uk/python/configobj.html' -license=('custom:voidspace') -depends=('python2') -conflicts=('python-configobj') -source=("http://www.voidspace.org.uk/downloads/configobj-$pkgver.zip" - 'voidspace-license.txt') -sha256sums=('332a0d20d4d736d521d95cb2cf069b1ac7c858985207db4296f4050396558c49' - '4420970e122ca521069ee3c57d4e40b5effb6b003bb0c215a3e4ef8378c3d6ba') +url='https://github.com/DiffSK/configobj' +license=('BSD') +makedepends=('python' 'python2') +source=("https://github.com/DiffSK/configobj/archive/v$pkgver.zip") +sha256sums=('c81c17c3dac59c7abb079d3f51ad6242e478b57656b1f8c346f3f5e802355b58') +package_python-configobj() { + cd "configobj-$pkgver" + + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + package_python2-configobj() { - cd $srcdir/configobj-$pkgver + cd "configobj-$pkgver" - python2 setup.py install --root=$pkgdir --optimize=1 - install -Dm644 $srcdir/voidspace-license.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE + python2 setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } # vim:set ts=2 sw=2 et: Deleted: voidspace-license.txt =================================================================== --- voidspace-license.txt 2014-02-20 09:03:10 UTC (rev 105975) +++ voidspace-license.txt 2014-02-20 11:57:35 UTC (rev 105976) @@ -1,32 +0,0 @@ -Copyright (c) 2003-2009, Michael Foord -All rights reserved. -E-mail : fuzzyman AT voidspace DOT org DOT uk - -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 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. - - * Neither the name of Michael Foord nor the name of Voidspace - may be used to endorse or promote products derived from this - software without specific prior written permission. - -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 -OWNER 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.