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/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-x86_64/PKGBUILD (from rev 107401, python-bsddb/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/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 +}