blob: 067b27d6c1362ddeb5cd7a3f49e3f9d856b961ed (
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
45
46
47
48
49
50
51
52
|
# Maintainer: Harriet O'Brien <harrietobrien at protonmail dot com>
# Contributor: Carl Smedstad <carsme@archlinux.org>
# Contributor: xia0er <xia0er@gmail.com>
pkgname=python-pymc
_pkgname=${pkgname#python-}
pkgver=5.22.0
pkgrel=1
pkgdesc="Markov chain Monte Carlo for Python"
arch=(any)
url="https://github.com/pymc-devs/pymc"
license=(MIT)
depends=(
ipython
python
python-arviz
python-cachetools
python-cloudpickle
python-matplotlib
python-networkx
python-numpy
python-pandas
python-pytensor
python-pytest
python-rich
python-scipy
python-threadpoolctl
python-typing_extensions
python-xarray
)
makedepends=(
python-build
python-installer
python-setuptools
python-wheel
python-pip
)
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('5d85950c47d2b229e47fd24e8985cc00f042393ad255fc0510396921679482d0')
_archive="$_pkgname-$pkgver"
build() {
cd "$_archive"
python -m build --wheel --no-isolation
}
package() {
cd "$_archive"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}
|