Date: Wednesday, January 31, 2018 @ 11:52:28 Author: eschwartz Revision: 288385
archrelease: copy trunk to community-x86_64 Added: python-apsw/repos/community-x86_64/LICENSE (from rev 288384, python-apsw/trunk/LICENSE) python-apsw/repos/community-x86_64/PKGBUILD (from rev 288384, python-apsw/trunk/PKGBUILD) Deleted: python-apsw/repos/community-x86_64/LICENSE python-apsw/repos/community-x86_64/PKGBUILD ----------+ LICENSE | 54 +++++++++++++++---------------- PKGBUILD | 104 ++++++++++++++++++++++++++++++------------------------------- 2 files changed, 79 insertions(+), 79 deletions(-) Deleted: LICENSE =================================================================== --- LICENSE 2018-01-31 11:52:10 UTC (rev 288384) +++ LICENSE 2018-01-31 11:52:28 UTC (rev 288385) @@ -1,27 +0,0 @@ -Copyright (c) 2004-2014 Roger Binns <rog...@rogerbinns.com> -See src/traceback.c for code by Greg Ewing. - -All code and documentation is provided under this license: - -This software is provided 'as-is', without any express or implied -warranty. In no event will the authors be held liable for any damages -arising from the use of this software. - -Permission is granted to anyone to use this software for any purpose, -including commercial applications, and to alter it and redistribute it -freely, subject to the following restrictions: - - 1. The origin of this software must not be misrepresented; you must not - claim that you wrote the original software. If you use this software - in a product, an acknowledgment in the product documentation would be - appreciated but is not required. - - 2. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - - 3. This notice may not be removed or altered from any source - distribution. - -Alternatively you may strike the license above and use it under any -OSI approved open source license such as those listed at -http://opensource.org/licenses/alphabetical Copied: python-apsw/repos/community-x86_64/LICENSE (from rev 288384, python-apsw/trunk/LICENSE) =================================================================== --- LICENSE (rev 0) +++ LICENSE 2018-01-31 11:52:28 UTC (rev 288385) @@ -0,0 +1,27 @@ +Copyright (c) 2004-2014 Roger Binns <rog...@rogerbinns.com> +See src/traceback.c for code by Greg Ewing. + +All code and documentation is provided under this license: + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + + 3. This notice may not be removed or altered from any source + distribution. + +Alternatively you may strike the license above and use it under any +OSI approved open source license such as those listed at +http://opensource.org/licenses/alphabetical Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-01-31 11:52:10 UTC (rev 288384) +++ PKGBUILD 2018-01-31 11:52:28 UTC (rev 288385) @@ -1,52 +0,0 @@ -# Maintainer: Brendan MacDonell <macdonellba at gmail dot com> -# Former Maintainer: Linmiao Xu <linmiao...@gmail.com> -# Contributor: Juan Miguel Cejuela <jua...@jmcejuela.net> - -pkgbase=python-apsw -pkgname=('python-apsw' 'python2-apsw') -pkgver=3.15.2 -pkgrel=1 -arch=('i686' 'x86_64') -url="https://github.com/rogerbinns/apsw" -license=('MIT') -makedepends=('python' 'python2') -source=("https://github.com/rogerbinns/apsw/archive/$pkgver-r1.tar.gz" "LICENSE") -md5sums=('86bc8bae7898042548b50a903286bce6' - '9be3fbee1bae6c66d658a157c67943c0') - -build() { - cp -rf apsw-${pkgver}-r1 apsw2 - - cd apsw-${pkgver}-r1 - python setup.py build --enable=load_extension - cd $srcdir/apsw2 - python2 setup.py build --enable=load_extension -} - -package_python-apsw() { -depends=('python' 'sqlite3>=3.7.5') -pkgdesc="Python wrapper for SQLite" - cd $srcdir/apsw-${pkgver}-r1 - python setup.py install --root=$pkgdir/ - - install -D -m644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-apsw() { -depends=('python2' 'sqlite3>=3.7.5') -pkgdesc="Python2 wrapper for SQLite" - cd $srcdir/apsw2 - python2 setup.py install --root=$pkgdir/ - - install -D -m644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE -} - -check() { - cd $srcdir/apsw2 - export PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" - python2 setup.py test - - cd $srcdir/apsw-${pkgver}-r1 - export PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.6:$PYTHONPATH" - python setup.py test -} Copied: python-apsw/repos/community-x86_64/PKGBUILD (from rev 288384, python-apsw/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-01-31 11:52:28 UTC (rev 288385) @@ -0,0 +1,52 @@ +# Maintainer: Brendan MacDonell <macdonellba at gmail dot com> +# Former Maintainer: Linmiao Xu <linmiao...@gmail.com> +# Contributor: Juan Miguel Cejuela <jua...@jmcejuela.net> + +pkgbase=python-apsw +pkgname=('python-apsw' 'python2-apsw') +pkgver=3.21.0 +pkgrel=1 +arch=('x86_64') +url="https://github.com/rogerbinns/apsw" +license=('MIT') +depends=('sqlite') +makedepends=('python' 'python2') +source=("apsw-$pkgver-r1.tar.gz::https://github.com/rogerbinns/apsw/archive/$pkgver-r1.tar.gz") +md5sums=('1500e6b9c7e1c5d7d86edc6d25e8f05e') + +build() { + cp -rf apsw-${pkgver}-r1 apsw2 + + cd apsw-${pkgver}-r1 + python setup.py build --enable=load_extension + cd "$srcdir"/apsw2 + python2 setup.py build --enable=load_extension +} + +check() { + cd "$srcdir"/apsw2 + export PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" + python2 setup.py test + + cd "$srcdir"/apsw-${pkgver}-r1 + export PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.6:$PYTHONPATH" + python setup.py test +} + +package_python-apsw() { +depends+=('python') +pkgdesc="Python wrapper for SQLite" + cd "$srcdir"/apsw-${pkgver}-r1 + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-apsw() { +depends+=('python2') +pkgdesc="Python2 wrapper for SQLite" + cd "$srcdir"/apsw2 + python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build + + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}