Date: Friday, May 12, 2023 @ 22:37:31
  Author: arojas
Revision: 1460141

archrelease: copy trunk to community-testing-x86_64

Added:
  python-shapely/repos/community-testing-x86_64/
  python-shapely/repos/community-testing-x86_64/PKGBUILD
    (from rev 1460140, python-shapely/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: python-shapely/repos/community-testing-x86_64/PKGBUILD (from rev 
1460140, python-shapely/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2023-05-12 22:37:31 UTC (rev 1460141)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <[email protected]>
+# Maintainer: Bruno Pagani <[email protected]>
+# Contributor: David Verelst <david dot verelst at gmail com>
+# Contributor: richli
+
+pkgname=python-shapely
+pkgver=2.0.1
+pkgrel=1
+pkgdesc="Manipulation and analysis of geometric objects in the Cartesian plane"
+arch=(x86_64)
+url="https://pypi.python.org/pypi/Shapely";
+license=(BSD)
+depends=(geos python)
+optdepends=('python-numpy: for shapely.vectorized submodule')
+makedepends=(python-build python-installer python-setuptools python-wheel 
python-numpy cython)
+checkdepends=(python-pytest)
+source=("https://pypi.io/packages/source/s/shapely/shapely-${pkgver}.tar.gz";)
+sha512sums=('3468e49392bc7f6f62a3c26308d9e75d853678d509bb6869dcf745f2b6dda1f654589a84cb967897f63cc071f678b2ae4cde4382ff27e11ceb891f515392b96a')
+
+build() {
+  cd shapely-$pkgver
+  python -m build --wheel --no-isolation --skip-dependency-check
+}
+
+check() {
+  local python_version=$(python -c 'import sys; print("".join(map(str, 
sys.version_info[:2])))')
+  cd shapely-$pkgver/build/lib.linux-x86_64-cpython-${python_version}
+  PYTHONPATH="$PWD" pytest -vv --color=yes
+}
+
+package() {
+  cd shapely-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Reply via email to