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 <[email protected]>
+# Maintainer: Stéphane Gaudreault <[email protected]>
+# Contributor: Douglas Soares de Andrade <[email protected]>
+# Contributor: William Rea <[email protected]>
+
+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/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-x86_64/PKGBUILD (from rev 202214, 
python-bsddb/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2016-12-25 18:08:43 UTC (rev 202215)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Kaiting Chen <[email protected]>
+# Maintainer: Stéphane Gaudreault <[email protected]>
+# Contributor: Douglas Soares de Andrade <[email protected]>
+# Contributor: William Rea <[email protected]>
+
+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
+}

Reply via email to