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

2016-12-25 Thread Felix Yan
Date: Sunday, December 25, 2016 @ 18:08:43
  Author: felixonmars
Revision: 202215

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 202212, python-bsddb/trunk/LICENSE)
  python-bsddb/repos/community-staging-i686/PKGBUILD
(from rev 202212, python-bsddb/trunk/PKGBUILD)
  python-bsddb/repos/community-staging-x86_64/
  python-bsddb/repos/community-staging-x86_64/LICENSE
(from rev 202213, python-bsddb/trunk/LICENSE)
  python-bsddb/repos/community-staging-x86_64/PKGBUILD
(from rev 202214, python-bsddb/trunk/PKGBUILD)

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

Copied: python-bsddb/repos/community-staging-i686/LICENSE (from rev 202212, 
python-bsddb/trunk/LICENSE)
===
--- community-staging-i686/LICENSE  (rev 0)
+++ community-staging-i686/LICENSE  2016-12-25 18:08:43 UTC (rev 202215)
@@ -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 202212, 
python-bsddb/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-12-25 18:08:43 UTC (rev 202215)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Kaiting Chen 
+# Maintainer: Stéphane Gaudreault 
+# Contributor: Douglas Soares de Andrade 
+# Contributor: William Rea 
+
+pkgbase=python-bsddb
+_path=58954679be79a1c6031a421c81f3c8e283cd700455ad3af1de7da8fabd67
+pkgname=('python2-bsddb' 'python-bsddb')
+pkgver=6.2.1
+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=(https://pypi.python.org/packages/73/73/${_path}/bsddb3-6.2.1.tar.gz
+   LICENSE)
+md5sums=('16c7eca6b0494de063dc86fa3cf5ecbf'
+ 'f412b3fb37739f1c4be64c1e7a5dee67')
+
+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 202213, 
python-bsddb/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2016-12-25 18:08:43 UTC (rev 202215)
@@ -0,0 +1,19 @@
+Copyright (c) 2008-2009 Jesus Cea Avion
+
+Permission is hereby granted, free of charge, to any person 

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

2015-09-19 Thread Evangelos Foutras
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 
+# Maintainer: Stéphane Gaudreault 
+# Contributor: Douglas Soares de Andrade 
+# Contributor: William Rea 
+
+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)
+++ 

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

2014-03-17 Thread Sergej Pupykin
Date: Monday, March 17, 2014 @ 11:01:26
  Author: spupykin
Revision: 107402

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 107401, python-bsddb/trunk/LICENSE)
  python-bsddb/repos/community-staging-i686/PKGBUILD
(from rev 107401, python-bsddb/trunk/PKGBUILD)
  python-bsddb/repos/community-staging-x86_64/
  python-bsddb/repos/community-staging-x86_64/LICENSE
(from rev 107401, python-bsddb/trunk/LICENSE)
  python-bsddb/repos/community-staging-x86_64/PKGBUILD
(from rev 107401, python-bsddb/trunk/PKGBUILD)

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

Copied: python-bsddb/repos/community-staging-i686/LICENSE (from rev 107401, 
python-bsddb/trunk/LICENSE)
===
--- community-staging-i686/LICENSE  (rev 0)
+++ community-staging-i686/LICENSE  2014-03-17 10:01:26 UTC (rev 107402)
@@ -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 107401, 
python-bsddb/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2014-03-17 10:01:26 UTC (rev 107402)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Kaiting Chen kaitocr...@gmail.com
+# Maintainer: Stéphane Gaudreault steph...@archlinux.org
+# Contributor: Douglas Soares de Andrade dsandr...@gmail.com
+# Contributor: William Rea sillywi...@gmail.com
+
+pkgbase=python-bsddb
+pkgname=('python2-bsddb' 'python-bsddb')
+pkgver=6.0.1
+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')
+
+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-staging-x86_64/LICENSE (from rev 107401, 
python-bsddb/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2014-03-17 10:01:26 UTC (rev 107402)
@@ -0,0 +1,19 @@
+Copyright (c) 2008-2009 Jesus Cea Avion
+
+Permission is hereby 

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

2013-08-18 Thread Bartłomiej Piotrowski
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 kaitocr...@gmail.com
+# Maintainer: Stéphane Gaudreault steph...@archlinux.org
+# Contributor: Douglas Soares de Andrade dsandr...@gmail.com
+# Contributor: William Rea sillywi...@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/LICENSE2013-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 

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

2013-08-05 Thread Bartłomiej Piotrowski
Date: Monday, August 5, 2013 @ 15:08:38
  Author: bpiotrowski
Revision: 95091

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 95090, python-bsddb/trunk/LICENSE)
  python-bsddb/repos/community-staging-i686/PKGBUILD
(from rev 95090, python-bsddb/trunk/PKGBUILD)
  python-bsddb/repos/community-staging-x86_64/
  python-bsddb/repos/community-staging-x86_64/LICENSE
(from rev 95090, python-bsddb/trunk/LICENSE)
  python-bsddb/repos/community-staging-x86_64/PKGBUILD
(from rev 95090, python-bsddb/trunk/PKGBUILD)

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

Copied: python-bsddb/repos/community-staging-i686/LICENSE (from rev 95090, 
python-bsddb/trunk/LICENSE)
===
--- community-staging-i686/LICENSE  (rev 0)
+++ community-staging-i686/LICENSE  2013-08-05 13:08:38 UTC (rev 95091)
@@ -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 95090, 
python-bsddb/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2013-08-05 13:08:38 UTC (rev 95091)
@@ -0,0 +1,49 @@
+# $Id$
+# Maintainer: Kaiting Chen kaitocr...@gmail.com
+# Maintainer: Stéphane Gaudreault steph...@archlinux.org
+# Contributor: Douglas Soares de Andrade dsandr...@gmail.com
+# Contributor: William Rea sillywi...@gmail.com
+
+pkgbase=python-bsddb
+pkgname=('python2-bsddb' 'python-bsddb')
+pkgver=5.3.0
+pkgrel=4
+pkgdesc=Python interface for BerkeleyDB
+license=('MIT')
+arch=('i686' 'x86_64')
+url=http://www.jcea.es/programacion/pybsddb.htm;
+makedepends=('python2-distribute' 'python-distribute')
+source=(http://pypi.python.org/packages/source/b/bsddb3/bsddb3-${pkgver}.tar.gz
+LICENSE)
+sha1sums=('8743f6d7a2f5471094941a46859723aae88f3915'
+  'ef4e4caf618781104dbf5824279ed39d127b4713')
+
+build () {
+  cd ${srcdir}
+
+  cp -r bsddb3-${pkgver}{,-python2}
+
+  # 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 ${srcdir}/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 ${srcdir}/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 95090, 
python-bsddb/trunk/LICENSE)
===
--- community-staging-x86_64/LICENSE(rev 0)
+++ community-staging-x86_64/LICENSE2013-08-05 13:08:38 UTC (rev 95091)
@@ -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,