blob: ee87b8ca6ee2bf2e4776fe78e19066bf687433b7 (
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
|
# Maintainer: Butui Hu <hot123tea123@gmail.com>
_pkgname=PhiK
pkgname=python-phik
pkgver=0.12.4
pkgrel=2
pkgdesc='Phi_K correlation analyzer library'
arch=('x86_64')
url='https://github.com/kaveio/phik'
license=('Apache-2.0')
depends=(
gcc-libs
glibc
python-joblib
python-matplotlib
python-numpy
python-pandas
python-scipy
)
makedepends=(
cmake
pybind11
python-build
python-installer
python-scikit-build-core
python-wheel
)
source=("${_pkgname}-${pkgver}.tar.gz::https://github.com/KaveIO/PhiK/archive/refs/tags/v${pkgver}.tar.gz")
sha512sums=('eff5c36395003ee7a6832654cd57968e4a4f65170ef7a4abf629a67e5ef918efd231fda9aa4cd4234c1bb0b83fc7481accf2f0dd85af73b6f9a5d115324bb844')
build() {
cd "${_pkgname}-${pkgver}"
CMAKE_GENERATOR="Unix Makefiles" \
python -m build --wheel --no-isolation
}
package() {
cd "${_pkgname}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
}
# vim:set ts=2 sw=2 et:
|