blob: fa5e0f96eb40b9b265a85b57fabefb1ec110b444 (
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=1
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=13.1.1'
'glibc>=2.31'
)
depends=(
"${_pinned_dependencies[@]}"
'python>=3.11'
'python<3.12'
'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
}
|