blob: 851e8d3790d6c07b2d5aeae445c3494e9799daa6 (
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
# Contributor: PumpkinCheshire <me at pumpkincheshire dot com>
_name=libpysal
pkgname=python-libpysal
pkgver=4.14.1
pkgrel=1
pkgdesc="Core components of Python Spatial Analysis Library."
arch=('any')
url="https://pysal.org/libpysal/"
license=('BSD')
depends=(
'python'
'python-beautifulsoup4'
'python-fiona'
'python-geopandas'
'python-joblib'
'python-numpy'
'python-packaging'
'python-pandas'
'python-platformdirs'
'python-pooch'
'python-requests'
'python-scikit-learn'
'python-scipy'
'python-shapely'
)
optdepends=(
'python-pypandoc: documents'
'python-nbsphinx: documents'
'python-sphinx: documents'
'python-sphinx-gallery: documents'
'python-sphinx-bootstrap-theme: documents'
'python-sphinxcontrib-bibtex: documents'
'python-numpydoc: documents'
'python-pytest: tests'
'python-pytest-cov: tests'
'python-pytest-cov: tests'
'python-matplotlib: tests, plus conda'
'python-codecov: tests'
'python-geomet: plus pip'
'python-bokeh: plus conda'
'python-folium: plus conda'
'python-geojson: plus conda'
'python-mplleaflet: plus conda'
'python-numba: plus conda'
'python-numexpr: plus conda'
'python-networkx: plus conda'
'python-seaborn: plus conda'
'python-sqlalchemy: plus conda'
'python-statsmodels: plus conda'
'python-xarray: plus conda'
'python-black: dev tool'
'python-pre-commit: dev tool'
)
makedepends=(
'python-setuptools-scm'
'python-build'
'python-installer'
)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
b2sums=('0937a255fd4be95ae0ff4aef41e94a32124dc1fd9c2a679f396aa8786631081b73c7426b949e525150399cbe0d1c0390ddb2ab325668b71e5d40da7f67fbff16')
build() {
cd "$srcdir/$_name-$pkgver" || exit
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/$_name-$pkgver" || exit
python -m installer --destdir="$pkgdir" dist/*.whl
# install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/python-$_name/LICENSE"
}
|