[arch-commits] Commit in python-bsddb/repos/community-x86_64 (PKGBUILD PKGBUILD)

Balló György bgyorgy at archlinux.org
Thu Mar 7 00:08:31 UTC 2019


    Date: Thursday, March 7, 2019 @ 00:08:29
  Author: bgyorgy
Revision: 437964

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-07 00:08:22 UTC (rev 437963)
+++ PKGBUILD	2019-03-07 00:08:29 UTC (rev 437964)
@@ -1,52 +0,0 @@
-# $Id$
-# 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>
-
-pkgbase=python-bsddb
-_pkgbase=bsddb3
-pkgname=(python-bsddb python2-bsddb)
-pkgver=6.2.6
-pkgrel=1
-pkgdesc='Python interface for BerkeleyDB'
-arch=('x86_64')
-url='https://www.jcea.es/programacion/pybsddb.htm'
-license=('BSD')
-makedepends=('python' 'python2')
-source=(https://files.pythonhosted.org/packages/source/b/$_pkgbase/$_pkgbase-$pkgver.tar.gz)
-sha256sums=('42d621f4037425afcb16b67d5600c4556271a071a9a7f7f2c2b1ba65bc582d05')
-
-prepare() {
-  cp -a $_pkgbase-$pkgver{,-python2}
-
-  cd $_pkgbase-$pkgver-python2
-  sed -i 's@^#!.*python$@#!/usr/bin/python2@' Lib/bsddb/{dbshelve,test/test_dbtables}.py
-}
-
-build () {
-  # Build python 3 module
-  cd $_pkgbase-$pkgver
-  python3 setup.py --berkeley-db=/usr build
-
-  # Build python 2 module
-  cd ../$_pkgbase-$pkgver-python2
-  python2 setup.py --berkeley-db=/usr build
-}
-
-package_python-bsddb() {
-  depends=('db' 'python')
-
-  cd $_pkgbase-$pkgver
-  python3 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
-
-package_python2-bsddb() {
-  depends=('db' 'python2')
-
-  cd $_pkgbase-$pkgver-python2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}

Copied: python-bsddb/repos/community-x86_64/PKGBUILD (from rev 437963, python-bsddb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-07 00:08:29 UTC (rev 437964)
@@ -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.6
+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=('42d621f4037425afcb16b67d5600c4556271a071a9a7f7f2c2b1ba65bc582d05')
+
+build () {
+  cd $_pkgname-$pkgver
+  python3 setup.py --berkeley-db=/usr build
+}
+
+package_python-bsddb() {
+  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