Date: Friday, November 11, 2022 @ 17:03:37
Author: jelle
Revision: 1346827
archrelease: copy trunk to community-x86_64
Added:
python-apsw/repos/community-x86_64/LICENSE
(from rev 1346826, python-apsw/trunk/LICENSE)
python-apsw/repos/community-x86_64/PKGBUILD
(from rev 1346826, python-apsw/trunk/PKGBUILD)
Deleted:
python-apsw/repos/community-x86_64/LICENSE
python-apsw/repos/community-x86_64/PKGBUILD
----------+
LICENSE | 54 +++++++++++++++++++++---------------------
PKGBUILD | 77 ++++++++++++++++++++++++++++++-------------------------------
2 files changed, 66 insertions(+), 65 deletions(-)
Deleted: LICENSE
===================================================================
--- LICENSE 2022-11-11 17:03:25 UTC (rev 1346826)
+++ LICENSE 2022-11-11 17:03:37 UTC (rev 1346827)
@@ -1,27 +0,0 @@
-Copyright (c) 2004-2014 Roger Binns <[email protected]>
-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 1346826,
python-apsw/trunk/LICENSE)
===================================================================
--- LICENSE (rev 0)
+++ LICENSE 2022-11-11 17:03:37 UTC (rev 1346827)
@@ -0,0 +1,27 @@
+Copyright (c) 2004-2014 Roger Binns <[email protected]>
+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 2022-11-11 17:03:25 UTC (rev 1346826)
+++ PKGBUILD 2022-11-11 17:03:37 UTC (rev 1346827)
@@ -1,38 +0,0 @@
-# Maintainer: Eli Schwartz <[email protected]>
-# Contributor: Brendan MacDonell <macdonellba at gmail dot com>
-# Contributor: Linmiao Xu <[email protected]>
-# Contributor: Juan Miguel Cejuela <[email protected]>
-
-pkgname=python-apsw
-pkgver=3.38.5
-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=('58331ca2db993f87316a55075ee9c440d4bd6e985e8ca11079391bd9cc2a907271ffe5c21d66840e336cd9e6568f6134c8b8fa5d28bbc7c77a1dddd48e8b99b7')
-b2sums=('145e38d4057be498f85a655ad7a437ec19a895769f58505b4b99093be30e67498faf9572494009db8e20e6700fa5e514605af131d045a4e8bb41587b828f5a88')
-
-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
-}
Copied: python-apsw/repos/community-x86_64/PKGBUILD (from rev 1346826,
python-apsw/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-11 17:03:37 UTC (rev 1346827)
@@ -0,0 +1,39 @@
+# Contributor: Eli Schwartz <[email protected]>
+# Contributor: Brendan MacDonell <macdonellba at gmail dot com>
+# Contributor: Linmiao Xu <[email protected]>
+# Contributor: Juan Miguel Cejuela <[email protected]>
+
+pkgname=python-apsw
+pkgver=3.39.4.0
+pkgrel=1
+pkgdesc="Python wrapper for SQLite"
+arch=('x86_64')
+url="https://github.com/rogerbinns/apsw"
+license=('MIT')
+makedepends=('python-setuptools')
+depends=('python' 'sqlite')
+source=("apsw-$pkgver.tar.gz::https://github.com/rogerbinns/apsw/archive/$pkgver.tar.gz")
+sha512sums=('c09b367fa5825300c4a4fb82916077208ebd5741f9be4814d33032349eacdd6c7d528430e6d85615c56aaea30995c2575bfbe02876dc8e95e2c337a811df07e7')
+b2sums=('223736e45b581f96cfcf4cd42f3aa278c0c3cc6b49188ac1979cc30835635f0f935eac8231d7ba0e1ae50f169095e672fe33c7938e6dbf94a7b82fc44d126002')
+
+build() {
+ cd apsw-${pkgver}
+
+ python setup.py build --enable=load_extension
+}
+
+check() {
+ cd "$srcdir"/apsw-${pkgver}
+
+ gcc ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -fPIC -shared -o testextension.sqlext
src/testextension.c
+ # do glob expansion in variable assignment
+ local python_version=$(python -c 'import sys; print("".join(map(str,
sys.version_info[:2])))')
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-${python_version}" python
setup.py test
+}
+
+package() {
+ cd "$srcdir"/apsw-${pkgver}
+
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}