[arch-commits] Commit in python-shapely/repos/community-x86_64 (3 files)

Felix Yan felixonmars at gemini.archlinux.org
Mon Feb 7 10:25:10 UTC 2022


    Date: Monday, February 7, 2022 @ 10:25:10
  Author: felixonmars
Revision: 1127469

archrelease: copy trunk to community-x86_64

Added:
  python-shapely/repos/community-x86_64/PKGBUILD
    (from rev 1127468, python-shapely/trunk/PKGBUILD)
Deleted:
  python-shapely/repos/community-x86_64/PKGBUILD
  python-shapely/repos/community-x86_64/geos-3.9.patch

----------------+
 PKGBUILD       |   89 ++++++++++++++++++++++++++-----------------------------
 geos-3.9.patch |   30 ------------------
 2 files changed, 43 insertions(+), 76 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-07 10:25:01 UTC (rev 1127468)
+++ PKGBUILD	2022-02-07 10:25:10 UTC (rev 1127469)
@@ -1,46 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: David Verelst <david dot verelst at gmail com>
-# Contributor: richli
-
-pkgname=python-shapely
-pkgver=1.7.1
-pkgrel=5
-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-setuptools' 'python-packaging' 'python-numpy' 'cython')
-checkdepends=('python-pytest')
-source=("https://pypi.io/packages/source/S/Shapely/Shapely-${pkgver}.tar.gz"
-        geos-3.9.patch)
-sha512sums=('f5991a35692241ff48f7219edd88bdab7da5b9135c22d26ca530cbdb9160717fd88f2913a9da8ae53869c68955418c14ffd5d798df196639de63660226bd6412'
-            '9cc2e1a8b1272451ccfde2af287cb4dc31811b67c02c3d94f235c039f99173dcd8e128a0a7c57a8c098b45290e4acc9d957914c6719c1c7076bb62ff2aac837d')
-
-prepare() {
-  cd Shapely-$pkgver
-  patch -Np1 -i ../geos-3.9.patch
-  rm -r _vendor
-  sed -i 's/from _vendor.packaging./from packaging./' setup.py
-}
-
-build() {
-  cd Shapely-$pkgver
-  python setup.py build
-}
-
-check() {
-  # TODO: make the hack less dirty...
-
-  cd Shapely-$pkgver
-  mv shapely shapely.bak
-  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.10:$PYTHONPATH" py.test
-  mv shapely.bak shapely
-}
-
-package() {
-  cd Shapely-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-shapely/repos/community-x86_64/PKGBUILD (from rev 1127468, python-shapely/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-07 10:25:10 UTC (rev 1127469)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: David Verelst <david dot verelst at gmail com>
+# Contributor: richli
+
+pkgname=python-shapely
+pkgver=1.8.0
+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-setuptools' 'python-packaging' 'python-numpy' 'cython')
+checkdepends=('python-pytest')
+source=("https://pypi.io/packages/source/S/Shapely/Shapely-${pkgver}.tar.gz")
+sha512sums=('d8150dc2e029f0f299bd56770f1928662ee92cc36c82c78863fb5c769152141abfb01dfd4e28e42713154596a9332cbff1bc71454ef851b4446babd6c639cf34')
+
+prepare() {
+  cd Shapely-$pkgver
+  rm -r _vendor
+  sed -i 's/from _vendor.packaging./from packaging./' setup.py
+}
+
+build() {
+  cd Shapely-$pkgver
+  python setup.py build
+}
+
+check() {
+  # TODO: make the hack less dirty...
+
+  cd Shapely-$pkgver
+  mv shapely shapely.bak
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.10:$PYTHONPATH" py.test
+  mv shapely.bak shapely
+}
+
+package() {
+  cd Shapely-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Deleted: geos-3.9.patch
===================================================================
--- geos-3.9.patch	2022-02-07 10:25:01 UTC (rev 1127468)
+++ geos-3.9.patch	2022-02-07 10:25:10 UTC (rev 1127469)
@@ -1,30 +0,0 @@
-From 611a0b3b2047bf8a49db32dc4b30684a10f5b6eb Mon Sep 17 00:00:00 2001
-From: Mike Taves <mwtoews at gmail.com>
-Date: Mon, 14 Dec 2020 12:06:36 +1300
-Subject: [PATCH] Expand CI and tests to support GEOS 3.9.0beta2 (#1042)
-
-* Expand CI and tests to support GEOS 3.9.0beta2
-
-* Change build/install scripts to be CI agnostic
-
-* disable AppVeyor's ctest fail due to GEOS issue with simplify on MSVC
-
-* find_library() for Linux should use 'libgeos_c'
----
- tests/test_svg.py | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/tests/test_svg.py b/tests/test_svg.py
-index fcc2679..dac3e71 100644
---- a/tests/test_svg.py
-+++ b/tests/test_svg.py
-@@ -174,7 +174,8 @@ class SvgTestCase(unittest.TestCase):
-         self.assertSVG(GeometryCollection(), '<g />')
-         # Valid
-         self.assertSVG(
--            Point(7, 3).union(LineString([(4, 2), (8, 4)])),
-+            GeometryCollection(
-+                [Point(7, 3), LineString([(4, 2), (8, 4)])]),
-             '<g><circle cx="7.0" cy="3.0" r="3.0" stroke="#555555" '
-             'stroke-width="1.0" fill="#66cc99" opacity="0.6" />'
-             '<polyline fill="none" stroke="#66cc99" stroke-width="2.0" '



More information about the arch-commits mailing list