Date: Thursday, April 15, 2021 @ 01:52:03 Author: eschwartz Revision: 918934
archrelease: copy trunk to community-x86_64 Added: python-apsw/repos/community-x86_64/LICENSE (from rev 918933, python-apsw/trunk/LICENSE) python-apsw/repos/community-x86_64/PKGBUILD (from rev 918933, python-apsw/trunk/PKGBUILD) Deleted: python-apsw/repos/community-x86_64/LICENSE python-apsw/repos/community-x86_64/PKGBUILD ----------+ LICENSE | 54 +++++++++++++++++++++---------------------- PKGBUILD | 75 ++++++++++++++++++++++++++++++------------------------------- 2 files changed, 65 insertions(+), 64 deletions(-) Deleted: LICENSE =================================================================== --- LICENSE 2021-04-15 01:51:33 UTC (rev 918933) +++ LICENSE 2021-04-15 01:52:03 UTC (rev 918934) @@ -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 918933, python-apsw/trunk/LICENSE) =================================================================== --- LICENSE (rev 0) +++ LICENSE 2021-04-15 01:52:03 UTC (rev 918934) @@ -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 2021-04-15 01:51:33 UTC (rev 918933) +++ PKGBUILD 2021-04-15 01:52:03 UTC (rev 918934) @@ -1,37 +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> - -pkgname=python-apsw -pkgver=3.34.0 -pkgrel=1 -pkgdesc="Python wrapper for SQLite" -arch=('x86_64') -url="https://github.com/rogerbinns/apsw" -license=('MIT') -depends=('python' 'sqlite') -source=("apsw-$pkgver-r1.tar.gz::https://github.com/rogerbinns/apsw/archive/$pkgver-r1.tar.gz") -sha512sums=('0a41d8324480c9dcc7df6e570d0b3321bb07d07e97ebcc05207de8d707769e93b279da39ce14a12b46a8d999bfab19ecb1cd30149256316f5f9de43de6ed64ee') -b2sums=('8deeb11ee54553419e66a74d0886944ec24e4e39320836f4a1f98576ca3d0977b5eff59fe7140f6262e84981b080cbcdf4bdce0b85847d628f5d720fbcdf411f') - -build() { - cd apsw-${pkgver}-r1 - - python 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*) - PYTHONPATH="${pythonpaths[0]}" python setup.py test -} - -package() { - 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 -} Copied: python-apsw/repos/community-x86_64/PKGBUILD (from rev 918933, python-apsw/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-04-15 01:52:03 UTC (rev 918934) @@ -0,0 +1,38 @@ +# 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> + +pkgname=python-apsw +pkgver=3.35.4 +pkgrel=1 +pkgdesc="Python wrapper for SQLite" +arch=('x86_64') +url="https://github.com/rogerbinns/apsw" +license=('MIT') +depends=('python' 'sqlite') +source=("apsw-$pkgver-r1.tar.gz::https://github.com/rogerbinns/apsw/archive/$pkgver-r1.tar.gz") +sha512sums=('4a566e90b7faf6a42b95fc496f76535a92a872e58e395d299cf8f0e3498d5659ba9f0a27970562f61fafa1ffae349201edd0fd1daa06d793a715b7eb5f561ecb') +b2sums=('44f41546949c4e53e28d9ffbd5d31848594748b1fe159f96b02162a44e36aa16b359251b2311bb610ba736080ee241bc758b3268c17aa81a8dea210f6aae64b3') + +build() { + cd apsw-${pkgver}-r1 + + python setup.py build --enable=load_extension +} + +check() { + cd "$srcdir"/apsw-${pkgver}-r1 + + gcc ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -fPIC -shared -o testextension.sqlext src/testextension.c + # do glob expansion in variable assignment + pythonpaths=("$PWD/build/lib.linux-$CARCH"-3*) + PYTHONPATH="${pythonpaths[0]}" python setup.py test +} + +package() { + 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 +}