Package Details: petsc4py 3.11.0-1

Git Clone URL: https://aur.archlinux.org/petsc4py.git (read-only)
Package Base: petsc4py
Description: Python bindings for PETSc
Upstream URL: https://bitbucket.org/petsc/petsc4py/src/master
Licenses: custom
Submitter: sigvald
Maintainer: sigvald (shivupa)
Last Packager: haawda
Votes: 3
Popularity: 0.078998
First Submitted: 2018-06-22 16:48
Last Updated: 2019-05-13 18:31

Latest Comments

sigvald commented on 2019-05-13 07:15

@haawda: I added you as co-maintainer. Please feel free to upload your PKGBUILD.

haawda commented on 2019-05-12 17:19

# Maintainer: Sigvald Marholm <marholm@marebakken.com>

pkgname=petsc4py
pkgver=3.11.0
pkgrel=1
_config=linux-c-opt
pkgdesc="Python bindings for PETSc"
arch=('i686' 'x86_64')
url="https://bitbucket.org/petsc/petsc4py/src/master/"
license=(custom)
depends=(petsc openmpi python-numpy)
source=(https://bitbucket.org/petsc/petsc4py/downloads/${pkgname}-${pkgver}.tar.gz)
sha256sums=('58f4f57ac96ec39273906859cdc388b1ae372045c726bfd2a01d4eca8bc4a1e6')

_petsc_dir=/opt/petsc/${_config}
_petsc_arch="arch-linux-c-opt"

build() {

        export PETSC_DIR=${_petsc_dir}
        export PETSC_ARCH=${_petsc_arch}

        cd ${srcdir}/${pkgname}-${pkgver}

        python setup.py build

}

package() {

        export PETSC_DIR=${_petsc_dir}
        export PETSC_ARCH=${_petsc_arch}

        cd ${srcdir}/${pkgname}-${pkgver}

        python setup.py install --root="${pkgdir}"

}

# vim: shiftwidth=2 softtabstop=2 tabstop=2 noexpandtab

sigvald commented on 2018-09-20 15:30

This was flagged out-of-date because there's a new version of petsc4py (3.10). It may not be much work to bump the version to 3.10 in the PKGBUILD, but I do not have time to do so myself at the moment. Contributions or co-maintainers welcome.