summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 19022ebd1ada84cfcd3d880a078d690db55fb13e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Maintainer: Eisuke Kawashima <e DOT kawaschima+archlinux AT gmail DOT com>
# Contributor: Eric Berquist <eric dot berquist at gmail dot com>

_name='basis_set_exchange'
pkgname="python-${_name}"
pkgver=0.12
pkgrel=1
pkgdesc='A repository for quantum chemistry basis sets'
arch=('any')
url='https://molssi-bse.github.io/basis_set_exchange/'
license=('BSD-3-Clause')
depends=(
  'python-argcomplete'
  'python-graphviz'
  'python-jsonschema'
  'python-numpy'
  'python-regex'
  'python-unidecode'
)
makedepends=(
  'git'
  'python-build'
  'python-installer'
  'python-setuptools-scm'
)
# to enable setuptools-scm to detection version
source=("git+https://github.com/MolSSI-BSE/${_name}.git#tag=v$pkgver")
sha256sums=(SKIP)

build() {
  cd "${srcdir}"/"${_name}"
  python -m build --wheel --no-isolation
}

package() {
  cd "${srcdir}/${_name}"
  python -m installer --destdir="$pkgdir" dist/*.whl
  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
}