[arch-commits] Commit in python-bsddb/repos (6 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Sep 19 16:39:51 UTC 2015


    Date: Saturday, September 19, 2015 @ 18:39:51
  Author: foutrelis
Revision: 140965

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  python-bsddb/repos/community-staging-i686/
  python-bsddb/repos/community-staging-i686/LICENSE
    (from rev 140964, python-bsddb/trunk/LICENSE)
  python-bsddb/repos/community-staging-i686/PKGBUILD
    (from rev 140964, python-bsddb/trunk/PKGBUILD)
  python-bsddb/repos/community-staging-x86_64/
  python-bsddb/repos/community-staging-x86_64/LICENSE
    (from rev 140964, python-bsddb/trunk/LICENSE)
  python-bsddb/repos/community-staging-x86_64/PKGBUILD
    (from rev 140964, python-bsddb/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/LICENSE    |   19 ++++++++++++
 community-staging-i686/PKGBUILD   |   56 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/LICENSE  |   19 ++++++++++++
 community-staging-x86_64/PKGBUILD |   56 ++++++++++++++++++++++++++++++++++++
 4 files changed, 150 insertions(+)

Copied: python-bsddb/repos/community-staging-i686/LICENSE (from rev 140964, python-bsddb/trunk/LICENSE)
===================================================================
--- community-staging-i686/LICENSE	                        (rev 0)
+++ community-staging-i686/LICENSE	2015-09-19 16:39:51 UTC (rev 140965)
@@ -0,0 +1,19 @@
+Copyright (c) 2008-2009 Jesus Cea Avion
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
\ No newline at end of file

Copied: python-bsddb/repos/community-staging-i686/PKGBUILD (from rev 140964, python-bsddb/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-09-19 16:39:51 UTC (rev 140965)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Kaiting Chen <kaitocracy at gmail.com>
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Douglas Soares de Andrade <dsandrade at gmail.com>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgbase=python-bsddb
+pkgname=('python2-bsddb' 'python-bsddb')
+pkgver=6.1.0
+pkgrel=2
+pkgdesc="Python interface for BerkeleyDB"
+license=('MIT')
+arch=('i686' 'x86_64')
+url="http://www.jcea.es/programacion/pybsddb.htm"
+makedepends=('python2-setuptools' 'python-setuptools')
+source=(http://pypi.python.org/packages/source/b/bsddb3/bsddb3-${pkgver}.tar.gz
+        LICENSE)
+sha1sums=('ca5c204b2c9cf4fff396ba3d49994fe1a95d669f'
+          'ef4e4caf618781104dbf5824279ed39d127b4713')
+sha1sums=('c12e47f7c21b4bc586c68cce64e0079d070312e8'
+          'ef4e4caf618781104dbf5824279ed39d127b4713')
+sha1sums=('9b22841ee74bc170f12e80e01567891e3432f442'
+          'ef4e4caf618781104dbf5824279ed39d127b4713')
+
+prepare() {
+  cp -r bsddb3-${pkgver}{,-python2}
+  cd bsddb3-${pkgver}-python2
+  sed -i 's|/usr/bin/env python|/usr/bin/env python2|' \
+    Lib{,3}/bsddb/{dbshelve.py,test/test_dbtables.py}
+}
+
+build () {
+  # Build python 3 module
+  cd bsddb3-${pkgver}
+  python3 setup.py --berkeley-db=/usr build
+
+  # Build python 2 module
+  cd ../bsddb3-${pkgver}-python2
+  python2 setup.py --berkeley-db=/usr build
+}
+
+package_python2-bsddb() {
+  depends=('db' 'python2>=2.7')
+  cd bsddb3-${pkgver}-python2
+
+  python2 setup.py --berkeley-db=/usr install --root="${pkgdir}" --skip-build --optimize=1
+  install -Dm644 "${srcdir}"/LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+
+package_python-bsddb() {
+  depends=('db' 'python>=3.3')
+  cd bsddb3-${pkgver}
+
+  python3 setup.py --berkeley-db=/usr install --root="${pkgdir}" --skip-build --optimize=1
+  install -Dm644 "${srcdir}"/LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}

Copied: python-bsddb/repos/community-staging-x86_64/LICENSE (from rev 140964, python-bsddb/trunk/LICENSE)
===================================================================
--- community-staging-x86_64/LICENSE	                        (rev 0)
+++ community-staging-x86_64/LICENSE	2015-09-19 16:39:51 UTC (rev 140965)
@@ -0,0 +1,19 @@
+Copyright (c) 2008-2009 Jesus Cea Avion
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
\ No newline at end of file

Copied: python-bsddb/repos/community-staging-x86_64/PKGBUILD (from rev 140964, python-bsddb/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-09-19 16:39:51 UTC (rev 140965)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Kaiting Chen <kaitocracy at gmail.com>
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Douglas Soares de Andrade <dsandrade at gmail.com>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgbase=python-bsddb
+pkgname=('python2-bsddb' 'python-bsddb')
+pkgver=6.1.0
+pkgrel=2
+pkgdesc="Python interface for BerkeleyDB"
+license=('MIT')
+arch=('i686' 'x86_64')
+url="http://www.jcea.es/programacion/pybsddb.htm"
+makedepends=('python2-setuptools' 'python-setuptools')
+source=(http://pypi.python.org/packages/source/b/bsddb3/bsddb3-${pkgver}.tar.gz
+        LICENSE)
+sha1sums=('ca5c204b2c9cf4fff396ba3d49994fe1a95d669f'
+          'ef4e4caf618781104dbf5824279ed39d127b4713')
+sha1sums=('c12e47f7c21b4bc586c68cce64e0079d070312e8'
+          'ef4e4caf618781104dbf5824279ed39d127b4713')
+sha1sums=('9b22841ee74bc170f12e80e01567891e3432f442'
+          'ef4e4caf618781104dbf5824279ed39d127b4713')
+
+prepare() {
+  cp -r bsddb3-${pkgver}{,-python2}
+  cd bsddb3-${pkgver}-python2
+  sed -i 's|/usr/bin/env python|/usr/bin/env python2|' \
+    Lib{,3}/bsddb/{dbshelve.py,test/test_dbtables.py}
+}
+
+build () {
+  # Build python 3 module
+  cd bsddb3-${pkgver}
+  python3 setup.py --berkeley-db=/usr build
+
+  # Build python 2 module
+  cd ../bsddb3-${pkgver}-python2
+  python2 setup.py --berkeley-db=/usr build
+}
+
+package_python2-bsddb() {
+  depends=('db' 'python2>=2.7')
+  cd bsddb3-${pkgver}-python2
+
+  python2 setup.py --berkeley-db=/usr install --root="${pkgdir}" --skip-build --optimize=1
+  install -Dm644 "${srcdir}"/LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+
+package_python-bsddb() {
+  depends=('db' 'python>=3.3')
+  cd bsddb3-${pkgver}
+
+  python3 setup.py --berkeley-db=/usr install --root="${pkgdir}" --skip-build --optimize=1
+  install -Dm644 "${srcdir}"/LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}



More information about the arch-commits mailing list