summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5f19bc5437c91e82761427564cd376fc6ad726c5 (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
pkgname="python-imsim-git"
_pkgname="imsim"
pkgver=3.0
pkgrel=1
pkgdesc="software package that simulates the LSST telescope and survey."
arch=("x86_64")
url='https://github.com/LSSTDESC/imSim'
depends=('python-galsim' 'python-rubinsim-git')
makedepends=(python-build python-installer python-setuptools python-wheel python-setuptools-scm)
license=('BSD')
source=("$pkgname::git+https://github.com/LSSTDESC/imSim.git")
sha256sums=('SKIP')


build() {
  cd ${pkgname}
  python -m build --wheel --skip-dependency-check --no-isolation
}


package() {
  cd ${pkgname}
  PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python -m installer --destdir="${pkgdir}" dist/*.whl
}