summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO47
-rw-r--r--PKGBUILD55
2 files changed, 102 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..ab1b465609e
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,47 @@
+pkgbase = python-libpysal
+ pkgdesc = Core components of Python Spatial Analysis Library.
+ pkgver = 4.3.0
+ pkgrel = 1
+ url = https://pysal.org/libpysal/
+ arch = any
+ license = BSD
+ makedepends = python-setuptools
+ depends = python-beautifulsoup4
+ depends = python-jinja
+ depends = python-numpy
+ depends = python-pandas
+ depends = python-requests
+ depends = python-scipy
+ optdepends = python-pypandoc: documents
+ optdepends = python-nbsphinx: documents
+ optdepends = python-sphinx: documents
+ optdepends = python-sphinx-gallery: documents
+ optdepends = python-sphinx-bootstrap-theme: documents
+ optdepends = python-sphinxcontrib-bibtex: documents
+ optdepends = python-numpydoc: documents
+ optdepends = python-pytest: tests
+ optdepends = python-pytest-cov: tests
+ optdepends = pytest-cov: tests
+ optdepends = python-matplotlib: tests, plus conda
+ optdepends = python-codecov: tests
+ optdepends = python-geomet: plus pip
+ optdepends = python-bokeh: plus conda
+ optdepends = python-folium: plus conda
+ optdepends = python-geojson: plus conda
+ optdepends = python-geopandas: plus conda
+ optdepends = python-mplleaflet: plus conda
+ optdepends = python-numba: plus conda
+ optdepends = python-numexpr: plus conda
+ optdepends = python-networkx: plus conda
+ optdepends = python-scikit-learn: plus conda
+ optdepends = python-seaborn: plus conda
+ optdepends = python-sqlalchemy: plus conda
+ optdepends = python-statsmodels: plus conda
+ optdepends = python-xarray: plus conda
+ optdepends = python-black: dev tool
+ optdepends = python-pre-commit: dev tool
+ source = https://files.pythonhosted.org/packages/source/l/libpysal/libpysal-4.3.0.tar.gz
+ sha256sums = d7cb34aa20f07c93d8f1f12431aa7c6aa9a08b92cc4396022a04fc2086e5d2d7
+
+pkgname = python-libpysal
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..64e37130e5b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,55 @@
+# Maintainer: PumpkinCheshire <sollyonzou@gmail.com>
+
+_name=libpysal
+pkgname=python-libpysal
+pkgver=4.3.0
+pkgrel=1
+pkgdesc="Core components of Python Spatial Analysis Library."
+arch=('any')
+url="https://pysal.org/libpysal/"
+license=('BSD')
+depends=('python-beautifulsoup4' 'python-jinja' 'python-numpy' 'python-pandas' 'python-requests' 'python-scipy')
+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'
+ '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-geopandas: plus conda'
+ 'python-mplleaflet: plus conda'
+ 'python-numba: plus conda'
+ 'python-numexpr: plus conda'
+ 'python-networkx: plus conda'
+ 'python-scikit-learn: 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')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha256sums=('d7cb34aa20f07c93d8f1f12431aa7c6aa9a08b92cc4396022a04fc2086e5d2d7')
+
+build() {
+ cd "$_name-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "$_name-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}