Skip to content

Instantly share code, notes, and snippets.

@simonpintarelli
Created June 19, 2018 16:49
Show Gist options
  • Save simonpintarelli/ccc4069070ee4bb5556bd033cf5a8b4e to your computer and use it in GitHub Desktop.
Save simonpintarelli/ccc4069070ee4bb5556bd033cf5a8b4e to your computer and use it in GitHub Desktop.
# Maintainer: Dan Maftei <dan.maftei@chem.uaic.ro>
pkgname='python-pyscf'
pkgver=1.4.2
pkgrel=1
pkgdesc="Python module for quantum chemistry"
provides=('python-pyscf')
arch=('x86_64')
url="https://github.com/sunqm/pyscf"
source=("https://github.com/sunqm/pyscf/archive/v${pkgver}.tar.gz")
md5sums=('1e75068dd0d050dcfae4a7316b0851e3')
sha256sums=('7a042975495c8a524c8e733869f9f53a5ad752e51eba65980a1b3e104a277aad')
license=('BSD')
depends=('python' 'python-numpy' 'python-scipy' 'python-h5py')
makedepends=('cmake')
build() {
cd ${srcdir}/pyscf-${pkgver}/pyscf/lib
mkdir build && cd build && cmake .. && make
}
package() {
cd ${srcdir}/pyscf-${pkgver}
python setup.py install --root="$pkgdir" --optimize=1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment