summaryrefslogtreecommitdiff
path: root/python-fisx/PKGBUILD
blob: b59683152f9888c3615733ad7214b695ce65e4f2 (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
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=python-fisx
_pkgname="${pkgname#*-}"
pkgver=1.3.1
pkgrel=10
pkgdesc='Enhanced C++ port of the Physics routines used by PyMca'
arch=('i686' 'pentium4' 'x86_64')
url='https://github.com/vasole/fisx'
license=('MIT License')
_pinned_dependencies=(
  'gcc-libs=14.1.1+r309+gbb34b7eda1f'
  'glibc>=2.31'
)
depends=(
  "${_pinned_dependencies[@]}"
  'python>=3.12'
  'python<3.13'
  'python-numpy')
makedepends=(
  'cython>=0.17'
  'python-setuptools')
source=(
    "${_pkgname}-v${pkgver}.tar.gz::https://github.com/vasole/${_pkgname}/archive/v${pkgver}.tar.gz"
)
sha512sums=('572f85e87a6a7d03e3042413863093951c57ad254b9f902ffb2c46843eea54e80113a6bd2550c0c662563cdc6142f80762b2a51f1adb952060173abd39ade7ce')

build() {
  cd "${_pkgname}-${pkgver}"
  python setup.py build
}

package() {
  cd "${_pkgname}-${pkgver}"
  python setup.py install --skip-build --root="${pkgdir}" --prefix=/usr
}