[arch-commits] Commit in python-apsw/repos/community-x86_64 (4 files)

Eli Schwartz eschwartz at archlinux.org
Fri Sep 25 05:33:31 UTC 2020


    Date: Friday, September 25, 2020 @ 05:33:31
  Author: eschwartz
Revision: 711961

archrelease: copy trunk to community-x86_64

Added:
  python-apsw/repos/community-x86_64/LICENSE
    (from rev 711960, python-apsw/trunk/LICENSE)
  python-apsw/repos/community-x86_64/PKGBUILD
    (from rev 711960, python-apsw/trunk/PKGBUILD)
Deleted:
  python-apsw/repos/community-x86_64/LICENSE
  python-apsw/repos/community-x86_64/PKGBUILD

----------+
 LICENSE  |   54 ++++++++++++++++++-------------------
 PKGBUILD |   88 +++++++++++++++++++++++++------------------------------------
 2 files changed, 64 insertions(+), 78 deletions(-)

Deleted: LICENSE
===================================================================
--- LICENSE	2020-09-25 05:33:14 UTC (rev 711960)
+++ LICENSE	2020-09-25 05:33:31 UTC (rev 711961)
@@ -1,27 +0,0 @@
-Copyright (c) 2004-2014 Roger Binns <rogerb at 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 711960, python-apsw/trunk/LICENSE)
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2020-09-25 05:33:31 UTC (rev 711961)
@@ -0,0 +1,27 @@
+Copyright (c) 2004-2014 Roger Binns <rogerb at 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-09-25 05:33:14 UTC (rev 711960)
+++ PKGBUILD	2020-09-25 05:33:31 UTC (rev 711961)
@@ -1,51 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-# Contributor: Brendan MacDonell <macdonellba at gmail dot com>
-# Contributor: Linmiao Xu <linmiao.xu at gmail.com>
-# Contributor: Juan Miguel Cejuela <juanmi at jmcejuela.net>
-
-pkgbase=python-apsw
-pkgname=('python-apsw' 'python2-apsw')
-pkgver=3.33.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")
-sha512sums=('ff0a93e314531d8fe21969d3efc7ccaf2c1a11b2e1a14a46ef9e6325ca3e6a911edee29152a77a2482e7d59fc9f6dab97955daa33ea82df140c3bb6259b6ee67')
-b2sums=('01cb3eee3d3f4ccbef695292006b466bbb91ff9734ae61e2b41210b9fd7d7fc52242121fdfeea1fa2bda81712c94c3d584688cf6406951edad7a7fb4af7c222e')
-
-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 711960, python-apsw/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-25 05:33:31 UTC (rev 711961)
@@ -0,0 +1,37 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Brendan MacDonell <macdonellba at gmail dot com>
+# Contributor: Linmiao Xu <linmiao.xu at gmail.com>
+# Contributor: Juan Miguel Cejuela <juanmi at jmcejuela.net>
+
+pkgname=python-apsw
+pkgver=3.33.0
+pkgrel=2
+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=('ff0a93e314531d8fe21969d3efc7ccaf2c1a11b2e1a14a46ef9e6325ca3e6a911edee29152a77a2482e7d59fc9f6dab97955daa33ea82df140c3bb6259b6ee67')
+b2sums=('01cb3eee3d3f4ccbef695292006b466bbb91ff9734ae61e2b41210b9fd7d7fc52242121fdfeea1fa2bda81712c94c3d584688cf6406951edad7a7fb4af7c222e')
+
+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
+}


More information about the arch-commits mailing list