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

Evangelos Foutras foutrelis at gemini.archlinux.org
Wed Dec 1 14:53:47 UTC 2021


    Date: Wednesday, December 1, 2021 @ 14:53:47
  Author: foutrelis
Revision: 1059491

archrelease: copy trunk to community-staging-x86_64

Added:
  python-bsddb/repos/community-staging-x86_64/
  python-bsddb/repos/community-staging-x86_64/PKGBUILD
    (from rev 1059490, python-bsddb/trunk/PKGBUILD)

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Copied: python-bsddb/repos/community-staging-x86_64/PKGBUILD (from rev 1059490, python-bsddb/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-12-01 14:53:47 UTC (rev 1059491)
@@ -0,0 +1,28 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Douglas Soares de Andrade <dsandrade at gmail.com>
+# Contributor: William Rea <sillywilly at gmail.com>
+
+pkgname=python-bsddb
+_pkgname=bsddb3
+pkgver=6.2.9
+pkgrel=2
+pkgdesc='Python interface for BerkeleyDB'
+arch=('x86_64')
+url='https://www.jcea.es/programacion/pybsddb.htm'
+license=('BSD')
+depends=('db' 'python')
+source=(https://files.pythonhosted.org/packages/source/b/$_pkgname/$_pkgname-$pkgver.tar.gz)
+sha256sums=('70d05ec8dc568f42e70fc919a442e0daadc2a905a1cfb7ca77f549d49d6e7801')
+
+build() {
+  cd $_pkgname-$pkgver
+  python3 setup.py --berkeley-db=/usr build
+}
+
+package() {
+  cd $_pkgname-$pkgver
+  python3 setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}



More information about the arch-commits mailing list