Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-shapely: update to 2.0.1.
@ 2023-01-31  3:59 ahesford
  2023-02-04  0:56 ` [PR PATCH] [Updated] " ahesford
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ahesford @ 2023-01-31  3:59 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 621 bytes --]

There is a new pull request by ahesford against master on the void-packages repository

https://github.com/ahesford/void-packages python3-shapely-2.0.1
https://github.com/void-linux/void-packages/pull/41984

python3-shapely: update to 2.0.1.
#### Testing the changes
- I tested the changes in this PR: **pending**

@karl-nilsson This update embodies a major refactor of the `shapely` package, but the API used by `python3-trimesh` and `Uranium` does not seem to have changed. However, I can't meaningfully test those packages.

A patch file from https://github.com/void-linux/void-packages/pull/41984.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-shapely-2.0.1-41984.patch --]
[-- Type: text/x-diff, Size: 2030 bytes --]

From 75ccc76cd0a08eb26f96a3931270944e14b0da89 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Mon, 30 Jan 2023 22:55:37 -0500
Subject: [PATCH] python3-shapely: update to 2.0.1.

---
 srcpkgs/python3-shapely/template | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-shapely/template b/srcpkgs/python3-shapely/template
index d9dabb1e066f..35f3e8cb6db6 100644
--- a/srcpkgs/python3-shapely/template
+++ b/srcpkgs/python3-shapely/template
@@ -1,31 +1,36 @@
 # Template file for 'python3-shapely'
 pkgname=python3-shapely
-version=1.8.5.post1
+version=2.0.1
 revision=1
 build_style=python3-module
 build_helper=numpy
-make_check_target=tests
 hostmakedepends="python3-setuptools python3-Cython geos"
 makedepends="python3-devel python3-numpy geos-devel"
 depends="python3"
-checkdepends="python3-pytest"
+checkdepends="python3-pytest-xdist"
 short_desc="Library for manipulation and analysis of geometric objects for Python3"
 maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/shapely/shapely"
 distfiles="https://github.com/shapely/shapely/archive/${version}.tar.gz"
-checksum=51badb76fa13ce1d4d6e5b2cbfef2b6af0ddae56a4449b84c3f3e6f404c6b43c
+checksum=93d754ddf07f1607dc7189881518da2d8e6f19cba5bcd1969875a0101592531d
 
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
-		sed "
-			/^prefix=/s,=.*,=$XBPS_CROSS_BASE/usr,
-			s,echo [\$]{prefix}$,echo /usr,
-		" $XBPS_CROSS_BASE/usr/bin/geos-config >$XBPS_WRAPPERDIR/geos-config
-		chmod +x $XBPS_WRAPPERDIR/geos-config
+		local _wrapper="${XBPS_WRAPPERDIR}/geos-config"
+
+		sed -e 's,echo [$]{prefix}$,echo /usr,' \
+			-e "/^prefix=/s,=.*,=\"${XBPS_CROSS_BASE}/usr\"," \
+			"${XBPS_CROSS_BASE}/usr/bin/geos-config" > "${_wrapper}"
+		chmod +x "${_wrapper}"
 	fi
 }
 
+do_check() {
+	cd build/lib*
+	PYTHONPATH="${PWD}" python3 -m pytest -n "${XBPS_MAKEJOBS}" shapely/tests
+}
+
 post_install() {
 	vlicense LICENSE.txt LICENSE
 }

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Updated] python3-shapely: update to 2.0.1.
  2023-01-31  3:59 [PR PATCH] python3-shapely: update to 2.0.1 ahesford
@ 2023-02-04  0:56 ` ahesford
  2023-02-04  1:07 ` ahesford
  2023-02-05  3:02 ` [PR PATCH] [Merged]: " ahesford
  2 siblings, 0 replies; 4+ messages in thread
From: ahesford @ 2023-02-04  0:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 626 bytes --]

There is an updated pull request by ahesford against master on the void-packages repository

https://github.com/ahesford/void-packages python3-shapely-2.0.1
https://github.com/void-linux/void-packages/pull/41984

python3-shapely: update to 2.0.1.
#### Testing the changes
- I tested the changes in this PR: **pending**

@karl-nilsson This update embodies a major refactor of the `shapely` package, but the API used by `python3-trimesh` and `Uranium` does not seem to have changed. However, I can't meaningfully test those packages.

A patch file from https://github.com/void-linux/void-packages/pull/41984.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-shapely-2.0.1-41984.patch --]
[-- Type: text/x-diff, Size: 2030 bytes --]

From fbc64acde8f1670fd74d1fdcf709a6fc34164c81 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Mon, 30 Jan 2023 22:55:37 -0500
Subject: [PATCH] python3-shapely: update to 2.0.1.

---
 srcpkgs/python3-shapely/template | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-shapely/template b/srcpkgs/python3-shapely/template
index d9dabb1e066f..35f3e8cb6db6 100644
--- a/srcpkgs/python3-shapely/template
+++ b/srcpkgs/python3-shapely/template
@@ -1,31 +1,36 @@
 # Template file for 'python3-shapely'
 pkgname=python3-shapely
-version=1.8.5.post1
+version=2.0.1
 revision=1
 build_style=python3-module
 build_helper=numpy
-make_check_target=tests
 hostmakedepends="python3-setuptools python3-Cython geos"
 makedepends="python3-devel python3-numpy geos-devel"
 depends="python3"
-checkdepends="python3-pytest"
+checkdepends="python3-pytest-xdist"
 short_desc="Library for manipulation and analysis of geometric objects for Python3"
 maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/shapely/shapely"
 distfiles="https://github.com/shapely/shapely/archive/${version}.tar.gz"
-checksum=51badb76fa13ce1d4d6e5b2cbfef2b6af0ddae56a4449b84c3f3e6f404c6b43c
+checksum=93d754ddf07f1607dc7189881518da2d8e6f19cba5bcd1969875a0101592531d
 
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
-		sed "
-			/^prefix=/s,=.*,=$XBPS_CROSS_BASE/usr,
-			s,echo [\$]{prefix}$,echo /usr,
-		" $XBPS_CROSS_BASE/usr/bin/geos-config >$XBPS_WRAPPERDIR/geos-config
-		chmod +x $XBPS_WRAPPERDIR/geos-config
+		local _wrapper="${XBPS_WRAPPERDIR}/geos-config"
+
+		sed -e 's,echo [$]{prefix}$,echo /usr,' \
+			-e "/^prefix=/s,=.*,=\"${XBPS_CROSS_BASE}/usr\"," \
+			"${XBPS_CROSS_BASE}/usr/bin/geos-config" > "${_wrapper}"
+		chmod +x "${_wrapper}"
 	fi
 }
 
+do_check() {
+	cd build/lib*
+	PYTHONPATH="${PWD}" python3 -m pytest -n "${XBPS_MAKEJOBS}" shapely/tests
+}
+
 post_install() {
 	vlicense LICENSE.txt LICENSE
 }

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Updated] python3-shapely: update to 2.0.1.
  2023-01-31  3:59 [PR PATCH] python3-shapely: update to 2.0.1 ahesford
  2023-02-04  0:56 ` [PR PATCH] [Updated] " ahesford
@ 2023-02-04  1:07 ` ahesford
  2023-02-05  3:02 ` [PR PATCH] [Merged]: " ahesford
  2 siblings, 0 replies; 4+ messages in thread
From: ahesford @ 2023-02-04  1:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 626 bytes --]

There is an updated pull request by ahesford against master on the void-packages repository

https://github.com/ahesford/void-packages python3-shapely-2.0.1
https://github.com/void-linux/void-packages/pull/41984

python3-shapely: update to 2.0.1.
#### Testing the changes
- I tested the changes in this PR: **pending**

@karl-nilsson This update embodies a major refactor of the `shapely` package, but the API used by `python3-trimesh` and `Uranium` does not seem to have changed. However, I can't meaningfully test those packages.

A patch file from https://github.com/void-linux/void-packages/pull/41984.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-shapely-2.0.1-41984.patch --]
[-- Type: text/x-diff, Size: 2030 bytes --]

From 461c822f88d9a0a1591eb219a2e66b6e60e8ea97 Mon Sep 17 00:00:00 2001
From: "Andrew J. Hesford" <ajh@sideband.org>
Date: Mon, 30 Jan 2023 22:55:37 -0500
Subject: [PATCH] python3-shapely: update to 2.0.1.

---
 srcpkgs/python3-shapely/template | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/python3-shapely/template b/srcpkgs/python3-shapely/template
index d9dabb1e066f..02447337f9ae 100644
--- a/srcpkgs/python3-shapely/template
+++ b/srcpkgs/python3-shapely/template
@@ -1,31 +1,36 @@
 # Template file for 'python3-shapely'
 pkgname=python3-shapely
-version=1.8.5.post1
+version=2.0.1
 revision=1
 build_style=python3-module
 build_helper=numpy
-make_check_target=tests
 hostmakedepends="python3-setuptools python3-Cython geos"
 makedepends="python3-devel python3-numpy geos-devel"
 depends="python3"
-checkdepends="python3-pytest"
+checkdepends="python3-pytest-xdist"
 short_desc="Library for manipulation and analysis of geometric objects for Python3"
 maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/shapely/shapely"
 distfiles="https://github.com/shapely/shapely/archive/${version}.tar.gz"
-checksum=51badb76fa13ce1d4d6e5b2cbfef2b6af0ddae56a4449b84c3f3e6f404c6b43c
+checksum=6250e79ca299222a239ce44df613d228f1216c5cc31351217bf377b03d7be4e0
 
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
-		sed "
-			/^prefix=/s,=.*,=$XBPS_CROSS_BASE/usr,
-			s,echo [\$]{prefix}$,echo /usr,
-		" $XBPS_CROSS_BASE/usr/bin/geos-config >$XBPS_WRAPPERDIR/geos-config
-		chmod +x $XBPS_WRAPPERDIR/geos-config
+		local _wrapper="${XBPS_WRAPPERDIR}/geos-config"
+
+		sed -e 's,echo [$]{prefix}$,echo /usr,' \
+			-e "/^prefix=/s,=.*,=\"${XBPS_CROSS_BASE}/usr\"," \
+			"${XBPS_CROSS_BASE}/usr/bin/geos-config" > "${_wrapper}"
+		chmod +x "${_wrapper}"
 	fi
 }
 
+do_check() {
+	cd build/lib*
+	PYTHONPATH="${PWD}" python3 -m pytest -n "${XBPS_MAKEJOBS}" shapely/tests
+}
+
 post_install() {
 	vlicense LICENSE.txt LICENSE
 }

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PR PATCH] [Merged]: python3-shapely: update to 2.0.1.
  2023-01-31  3:59 [PR PATCH] python3-shapely: update to 2.0.1 ahesford
  2023-02-04  0:56 ` [PR PATCH] [Updated] " ahesford
  2023-02-04  1:07 ` ahesford
@ 2023-02-05  3:02 ` ahesford
  2 siblings, 0 replies; 4+ messages in thread
From: ahesford @ 2023-02-05  3:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 454 bytes --]

There's a merged pull request on the void-packages repository

python3-shapely: update to 2.0.1.
https://github.com/void-linux/void-packages/pull/41984

Description:
#### Testing the changes
- I tested the changes in this PR: **pending**

@karl-nilsson This update embodies a major refactor of the `shapely` package, but the API used by `python3-trimesh` and `Uranium` does not seem to have changed. However, I can't meaningfully test those packages.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-02-05  3:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-31  3:59 [PR PATCH] python3-shapely: update to 2.0.1 ahesford
2023-02-04  0:56 ` [PR PATCH] [Updated] " ahesford
2023-02-04  1:07 ` ahesford
2023-02-05  3:02 ` [PR PATCH] [Merged]: " ahesford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).