blob: 67f6ebdf86792ed8784c531b8bac3c61bc7a6be2 (
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
40
41
42
43
44
|
# Maintainer: Erich Eckner <arch at eckner dot net>
pkgname=python-pymca
_pkgname="${pkgname#*-}"
pkgver=5.5.5
pkgrel=2
pkgdesc='Stand-alone application and Python tools for interactive and/or batch processing analysis of X-Ray Fluorescence Spectra'
arch=('i686' 'pentium4' 'x86_64')
url='http://pymca.sourceforge.net/index.html'
license=('MIT License')
_pinned_dependencies=(
'glibc>=2.31'
)
depends=(
"${_pinned_dependencies[@]}"
'python>=3.8'
'python<3.9'
'python-fisx>=1.1.5'
'python-h5py'
'python-matplotlib>1.0'
'python-numpy'
'python-numpy>=1.8'
# 'python-pyopengl'
# 'python-pyqt4'
'python-pyqt5'
'python-qtconsole')
makedepends=(
'python-setuptools')
optdepends=(
'python-pyqt5: gui'
'python-matplotlib: gui')
source=(
"${_pkgname}-v${pkgver}.tar.gz::https://github.com/vasole/${_pkgname}/archive/v${pkgver}.tar.gz"
)
sha512sums=('97cdad7d354ba349c6aa5976670c37b31fb6b0f3e14caf1e58900349b5859f8170b65340ecc7cd8e09a3ceeeea71d8cf185877f752555e2d0cc754ba4b680cba')
build() {
cd ${_pkgname}-${pkgver}
python setup.py build
}
package() {
cd ${_pkgname}-${pkgver}
python setup.py install --skip-build --root="${pkgdir}" --prefix=/usr
}
|