diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/python-bsddb |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/python-bsddb')
-rw-r--r-- | community/python-bsddb/LICENSE | 19 | ||||
-rw-r--r-- | community/python-bsddb/PKGBUILD | 29 |
2 files changed, 48 insertions, 0 deletions
diff --git a/community/python-bsddb/LICENSE b/community/python-bsddb/LICENSE new file mode 100644 index 000000000..7d6035775 --- /dev/null +++ b/community/python-bsddb/LICENSE @@ -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 diff --git a/community/python-bsddb/PKGBUILD b/community/python-bsddb/PKGBUILD new file mode 100644 index 000000000..84b7c181a --- /dev/null +++ b/community/python-bsddb/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 40159 2011-02-21 14:49:30Z stephane $ +# Maintainer: Kaiting Chen <kaitocracy@gmail.com> +# Contributor: Douglas Soares de Andrade <dsandrade@gmail.com> +# Contributor: William Rea <sillywilly@gmail.com> + +pkgname=python-bsddb +pkgver=5.1.0 +pkgrel=3 +pkgdesc="Python interface for BerkeleyDB" +license=('MIT') +arch=('i686' 'x86_64') +url="http://www.jcea.es/programacion/pybsddb.htm" +depends=('db' 'python') +source=("http://pypi.python.org/packages/source/b/bsddb3/bsddb3-${pkgver}.tar.gz" + 'LICENSE') +md5sums=('6d72d2533f0f3a4bb4b1207598624d6a' + 'f412b3fb37739f1c4be64c1e7a5dee67') + +build () { + cd ${srcdir}/bsddb3-${pkgver} + python setup.py --berkeley-db=/usr build +} + +package() { + cd ${srcdir}/bsddb3-${pkgver} + python setup.py --berkeley-db=/usr install --root=${pkgdir} --optimize=1 + + install -Dm644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} |