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

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Sun Aug 18 14:17:59 UTC 2013


    Date: Sunday, August 18, 2013 @ 16:17:59
  Author: bpiotrowski
Revision: 95897

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

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

-----------------------------------+
 community-testing-i686/LICENSE    |   19 +++++++++++++
 community-testing-i686/PKGBUILD   |   51 ++++++++++++++++++++++++++++++++++++
 community-testing-x86_64/LICENSE  |   19 +++++++++++++
 community-testing-x86_64/PKGBUILD |   51 ++++++++++++++++++++++++++++++++++++
 4 files changed, 140 insertions(+)

Copied: python-bsddb/repos/community-testing-i686/LICENSE (from rev 95896, python-bsddb/trunk/LICENSE)
===================================================================
--- community-testing-i686/LICENSE	                        (rev 0)
+++ community-testing-i686/LICENSE	2013-08-18 14:17:59 UTC (rev 95897)
@@ -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-testing-i686/PKGBUILD (from rev 95896, python-bsddb/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2013-08-18 14:17:59 UTC (rev 95897)
@@ -0,0 +1,51 @@
+# $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.0.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')
+
+prepare() {
+  cp -r bsddb3-${pkgver}{,-python2}
+}
+
+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
+  sed -i 's|/usr/bin/env python|/usr/bin/env python2|' \
+    "${pkgdir}"/usr/lib/python2.7/site-packages/bsddb3/{dbshelve.py,tests/test_dbtables.py}
+  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-testing-x86_64/LICENSE (from rev 95896, python-bsddb/trunk/LICENSE)
===================================================================
--- community-testing-x86_64/LICENSE	                        (rev 0)
+++ community-testing-x86_64/LICENSE	2013-08-18 14:17:59 UTC (rev 95897)
@@ -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-testing-x86_64/PKGBUILD (from rev 95896, python-bsddb/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2013-08-18 14:17:59 UTC (rev 95897)
@@ -0,0 +1,51 @@
+# $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.0.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')
+
+prepare() {
+  cp -r bsddb3-${pkgver}{,-python2}
+}
+
+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
+  sed -i 's|/usr/bin/env python|/usr/bin/env python2|' \
+    "${pkgdir}"/usr/lib/python2.7/site-packages/bsddb3/{dbshelve.py,tests/test_dbtables.py}
+  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