Date: Thursday, June 11, 2020 @ 00:12:59 Author: eschwartz Revision: 641866
archrelease: copy trunk to community-x86_64 Added: python-apsw/repos/community-x86_64/LICENSE (from rev 641865, python-apsw/trunk/LICENSE) python-apsw/repos/community-x86_64/PKGBUILD (from rev 641865, python-apsw/trunk/PKGBUILD) Deleted: python-apsw/repos/community-x86_64/LICENSE python-apsw/repos/community-x86_64/PKGBUILD ----------+ LICENSE | 54 ++++++++++++++++---------------- PKGBUILD | 102 ++++++++++++++++++++++++++++++------------------------------- 2 files changed, 78 insertions(+), 78 deletions(-) Deleted: LICENSE =================================================================== --- LICENSE 2020-06-11 00:12:38 UTC (rev 641865) +++ LICENSE 2020-06-11 00:12:59 UTC (rev 641866) @@ -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 641865, python-apsw/trunk/LICENSE) =================================================================== --- LICENSE (rev 0) +++ LICENSE 2020-06-11 00:12:59 UTC (rev 641866) @@ -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 2020-06-11 00:12:38 UTC (rev 641865) +++ PKGBUILD 2020-06-11 00:12:59 UTC (rev 641866) @@ -1,51 +0,0 @@ -# Maintainer: Eli Schwartz <eschwa...@archlinux.org> -# Contributor: Brendan MacDonell <macdonellba at gmail dot com> -# Contributor: Linmiao Xu <linmiao...@gmail.com> -# Contributor: Juan Miguel Cejuela <jua...@jmcejuela.net> - -pkgbase=python-apsw -pkgname=('python-apsw' 'python2-apsw') -pkgver=3.31.1 -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") -sha512sums=('5dbf770f33d35402e36ab79e167c48742b257cd14c95df5d22f1fe172b07ddf2419cf02fb4e0700732c4dd6a90d145415f2baed92063fd9d80f77db8a28ef83f') -b2sums=('1541223ca52051277424f753b7f17ab89f19db053f68c1c05d5aab018a32fb15a87b393fcefe5040d2c2bb0ec6ee1aa9f3217a37bae7c6d27a23d9d81828e0cc') - -build() { - cd apsw-${pkgver}-r1 - - python setup.py build --enable=load_extension - python2 setup.py build --enable=load_extension -} - -check() { - cd "$srcdir"/apsw-${pkgver}-r1 - - # do glob expansion in variable assignment - pythonpaths=("$PWD/build/lib.linux-$CARCH"-3* "$PWD/build/lib.linux-$CARCH-"2*) - PYTHONPATH="${pythonpaths[0]}" python setup.py test - PYTHONPATH="${pythonpaths[1]}" python2 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"/apsw-${pkgver}-r1 - python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build - - install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: python-apsw/repos/community-x86_64/PKGBUILD (from rev 641865, python-apsw/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-06-11 00:12:59 UTC (rev 641866) @@ -0,0 +1,51 @@ +# Maintainer: Eli Schwartz <eschwa...@archlinux.org> +# Contributor: Brendan MacDonell <macdonellba at gmail dot com> +# Contributor: Linmiao Xu <linmiao...@gmail.com> +# Contributor: Juan Miguel Cejuela <jua...@jmcejuela.net> + +pkgbase=python-apsw +pkgname=('python-apsw' 'python2-apsw') +pkgver=3.32.2 +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") +sha512sums=('f3412846d7ae2bf27cccf5a69217bc53ac1c321e0ce4ba3e2c47a302d58d7de6816fcc2a68746407bb963fa402064e7ff22ef8cba5ae2e8a415543715ffc510a') +b2sums=('a84f273dda33edcaa8ecb9f269e2959ea133cab8f93acc35faa5eb737149a108b0aa30120b6d4b838afe08451ab9619d86441ca82ecfa54be7ed62432a0d8131') + +build() { + cd apsw-${pkgver}-r1 + + python setup.py build --enable=load_extension + python2 setup.py build --enable=load_extension +} + +check() { + cd "$srcdir"/apsw-${pkgver}-r1 + + # do glob expansion in variable assignment + pythonpaths=("$PWD/build/lib.linux-$CARCH"-3* "$PWD/build/lib.linux-$CARCH-"2*) + PYTHONPATH="${pythonpaths[0]}" python setup.py test + PYTHONPATH="${pythonpaths[1]}" python2 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"/apsw-${pkgver}-r1 + python2 setup.py install --root="$pkgdir" --optimize=1 --skip-build + + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}