Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-snakeoil: update to 0.10.5.
@ 2023-01-20 19:00 icp1994
  2023-01-20 19:05 ` [PR PATCH] [Updated] " icp1994
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: icp1994 @ 2023-01-20 19:00 UTC (permalink / raw)
  To: ml

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

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

https://github.com/icp1994/void-packages python3-snakeoil
https://github.com/void-linux/void-packages/pull/41762

python3-snakeoil: update to 0.10.5.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

#### Rev dep checks
- [x] python3-chroot

snakeoil is a pure python package now, so no more c-extension/-devel-subpackage

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

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

From ccaea3bfff941ea6cb00a67b3e5cc3dc6617cd38 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 29 Nov 2022 00:52:30 +0530
Subject: [PATCH 1/2] python3-snakeoil: update to 0.10.5.

---
 srcpkgs/python3-snakeoil-devel    |  1 -
 srcpkgs/python3-snakeoil/template | 40 +++++++++----------------------
 2 files changed, 11 insertions(+), 30 deletions(-)
 delete mode 120000 srcpkgs/python3-snakeoil-devel

diff --git a/srcpkgs/python3-snakeoil-devel b/srcpkgs/python3-snakeoil-devel
deleted file mode 120000
index b1f4b0232305..000000000000
--- a/srcpkgs/python3-snakeoil-devel
+++ /dev/null
@@ -1 +0,0 @@
-python3-snakeoil
\ No newline at end of file
diff --git a/srcpkgs/python3-snakeoil/template b/srcpkgs/python3-snakeoil/template
index 2156091b4921..aa3927fce181 100644
--- a/srcpkgs/python3-snakeoil/template
+++ b/srcpkgs/python3-snakeoil/template
@@ -1,38 +1,20 @@
 # Template file for 'python3-snakeoil'
 pkgname=python3-snakeoil
-version=0.8.8
-revision=4
-build_style=python3-module
-hostmakedepends="python3-setuptools python3-Cython"
-makedepends="python3-devel"
-depends="python3"
+version=0.10.5
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-flit_core"
+depends="python3-lazy-object-proxy"
+checkdepends="${depends} lbzip2 tar xz python3-pytest-xdist"
 short_desc="Python3 optimized versions of common python functionality"
 maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
-license="BSD-3-Clause, GPL-2.0-only"
-homepage="https://github.com/pkgcore/snakeoil"
-# changelog="https://github.com/pkgcore/snakeoil/blob/master/NEWS.rst"
+license="BSD-3-Clause"
+homepage="https://pkgcore.github.io/snakeoil/"
+changelog="https://raw.githubusercontent.com/pkgcore/snakeoil/master/NEWS.rst"
 distfiles="${PYPI_SITE}/s/snakeoil/snakeoil-${version}.tar.gz"
-checksum=8381ed730cb4c127c2cb5f99ed8a148d3f2bc492de21f035aae8913f7a106d63
-
-post_extract() {
-	local _f
-	for _f in src/snakeoil/*.pyx; do
-		rm -f ${_f%.pyx}.c
-	done
-}
-
-pre_check() {
-	export PYTHONPATH=$(cd build/lib* && pwd)
-}
+checksum=fe502181818ff20c3fa6c7101f287fa323650b11d7265ac3fbcb6c53bd1feaaf
+make_check_pre="env PYTHONPATH=src"
 
 post_install() {
 	vlicense LICENSE
 }
-
-python3-snakeoil-devel_package() {
-	depends="python3-snakeoil>=${version}_${revision}"
-	short_desc+=" - development files"
-	pkg_install() {
-		vmove usr/include/python3*
-	}
-}

From f729251640408fae595aa980138c0a508be4108e Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 29 Nov 2022 01:32:35 +0530
Subject: [PATCH 2/2] python3-chroot: update to 0.10.4.

---
 srcpkgs/python3-chroot/template | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/python3-chroot/template b/srcpkgs/python3-chroot/template
index f9c9b91a8a58..6a68f0107102 100644
--- a/srcpkgs/python3-chroot/template
+++ b/srcpkgs/python3-chroot/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-chroot'
 pkgname=python3-chroot
-version=0.10.1
-revision=3
+version=0.10.4
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools python3-snakeoil"
 depends="python3-snakeoil"
+checkdepends="${depends} python3-pytest-xdist"
 short_desc="Python3 Library and CLI tool that simplify chroot handling"
 maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
 license="BSD-3-Clause"
-homepage="https://github.com/pkgcore/pychroot"
-#changelog="https://github.com/pkgcore/pychroot/blob/master/NEWS.rst"
+homepage="https://pkgcore.github.io/pychroot/"
+changelog="https://raw.githubusercontent.com/pkgcore/pychroot/master/NEWS.rst"
 distfiles="${PYPI_SITE}/p/pychroot/pychroot-${version}.tar.gz"
-checksum=10b2d5195062d110df8e28bcdb1d79d1e8109fb77a226455ab2df6b40e7ff289
+checksum=bb06b9c5b811aba80acac0f214ff7e5c7814b17f899986cdcd3f914f31a39609
 conflicts="python-chroot>=0"
 
 post_install() {

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

* Re: [PR PATCH] [Updated] python3-snakeoil: update to 0.10.5.
  2023-01-20 19:00 [PR PATCH] python3-snakeoil: update to 0.10.5 icp1994
@ 2023-01-20 19:05 ` icp1994
  2023-02-14 20:10 ` [PR REVIEW] " paper42
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: icp1994 @ 2023-01-20 19:05 UTC (permalink / raw)
  To: ml

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

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

https://github.com/icp1994/void-packages python3-snakeoil
https://github.com/void-linux/void-packages/pull/41762

python3-snakeoil: update to 0.10.5.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

#### Rev dep checks
- [x] python3-chroot

snakeoil is a pure python package now, so no more c-extension/-devel-subpackage

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

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

From ccaea3bfff941ea6cb00a67b3e5cc3dc6617cd38 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 29 Nov 2022 00:52:30 +0530
Subject: [PATCH 1/2] python3-snakeoil: update to 0.10.5.

---
 srcpkgs/python3-snakeoil-devel    |  1 -
 srcpkgs/python3-snakeoil/template | 40 +++++++++----------------------
 2 files changed, 11 insertions(+), 30 deletions(-)
 delete mode 120000 srcpkgs/python3-snakeoil-devel

diff --git a/srcpkgs/python3-snakeoil-devel b/srcpkgs/python3-snakeoil-devel
deleted file mode 120000
index b1f4b0232305..000000000000
--- a/srcpkgs/python3-snakeoil-devel
+++ /dev/null
@@ -1 +0,0 @@
-python3-snakeoil
\ No newline at end of file
diff --git a/srcpkgs/python3-snakeoil/template b/srcpkgs/python3-snakeoil/template
index 2156091b4921..aa3927fce181 100644
--- a/srcpkgs/python3-snakeoil/template
+++ b/srcpkgs/python3-snakeoil/template
@@ -1,38 +1,20 @@
 # Template file for 'python3-snakeoil'
 pkgname=python3-snakeoil
-version=0.8.8
-revision=4
-build_style=python3-module
-hostmakedepends="python3-setuptools python3-Cython"
-makedepends="python3-devel"
-depends="python3"
+version=0.10.5
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-flit_core"
+depends="python3-lazy-object-proxy"
+checkdepends="${depends} lbzip2 tar xz python3-pytest-xdist"
 short_desc="Python3 optimized versions of common python functionality"
 maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
-license="BSD-3-Clause, GPL-2.0-only"
-homepage="https://github.com/pkgcore/snakeoil"
-# changelog="https://github.com/pkgcore/snakeoil/blob/master/NEWS.rst"
+license="BSD-3-Clause"
+homepage="https://pkgcore.github.io/snakeoil/"
+changelog="https://raw.githubusercontent.com/pkgcore/snakeoil/master/NEWS.rst"
 distfiles="${PYPI_SITE}/s/snakeoil/snakeoil-${version}.tar.gz"
-checksum=8381ed730cb4c127c2cb5f99ed8a148d3f2bc492de21f035aae8913f7a106d63
-
-post_extract() {
-	local _f
-	for _f in src/snakeoil/*.pyx; do
-		rm -f ${_f%.pyx}.c
-	done
-}
-
-pre_check() {
-	export PYTHONPATH=$(cd build/lib* && pwd)
-}
+checksum=fe502181818ff20c3fa6c7101f287fa323650b11d7265ac3fbcb6c53bd1feaaf
+make_check_pre="env PYTHONPATH=src"
 
 post_install() {
 	vlicense LICENSE
 }
-
-python3-snakeoil-devel_package() {
-	depends="python3-snakeoil>=${version}_${revision}"
-	short_desc+=" - development files"
-	pkg_install() {
-		vmove usr/include/python3*
-	}
-}

From 96f37fe829a78a86aef8fcbe5cf3a4bfe17e7dea Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 29 Nov 2022 01:32:35 +0530
Subject: [PATCH 2/2] python3-chroot: update to 0.10.4.

---
 srcpkgs/python3-chroot/template | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/python3-chroot/template b/srcpkgs/python3-chroot/template
index f9c9b91a8a58..5640f459763d 100644
--- a/srcpkgs/python3-chroot/template
+++ b/srcpkgs/python3-chroot/template
@@ -1,17 +1,20 @@
 # Template file for 'python3-chroot'
 pkgname=python3-chroot
-version=0.10.1
-revision=3
+version=0.10.4
+revision=1
 build_style=python3-module
+# OSError: [Errno 16] Device or resource busy: '/proc'
+make_check_args="--deselect=tests/test_chroot.py::TestChroot::test_chroot"
 hostmakedepends="python3-setuptools python3-snakeoil"
 depends="python3-snakeoil"
+checkdepends="${depends} python3-pytest-xdist"
 short_desc="Python3 Library and CLI tool that simplify chroot handling"
 maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
 license="BSD-3-Clause"
-homepage="https://github.com/pkgcore/pychroot"
-#changelog="https://github.com/pkgcore/pychroot/blob/master/NEWS.rst"
+homepage="https://pkgcore.github.io/pychroot/"
+changelog="https://raw.githubusercontent.com/pkgcore/pychroot/master/NEWS.rst"
 distfiles="${PYPI_SITE}/p/pychroot/pychroot-${version}.tar.gz"
-checksum=10b2d5195062d110df8e28bcdb1d79d1e8109fb77a226455ab2df6b40e7ff289
+checksum=bb06b9c5b811aba80acac0f214ff7e5c7814b17f899986cdcd3f914f31a39609
 conflicts="python-chroot>=0"
 
 post_install() {

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

* Re: [PR REVIEW] python3-snakeoil: update to 0.10.5.
  2023-01-20 19:00 [PR PATCH] python3-snakeoil: update to 0.10.5 icp1994
  2023-01-20 19:05 ` [PR PATCH] [Updated] " icp1994
@ 2023-02-14 20:10 ` paper42
  2023-02-14 20:16 ` [PR PATCH] [Updated] " icp1994
  2023-02-14 20:26 ` [PR PATCH] [Merged]: " paper42
  3 siblings, 0 replies; 5+ messages in thread
From: paper42 @ 2023-02-14 20:10 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/41762#discussion_r1106320440

Comment:
add it to removed-packages

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

* Re: [PR PATCH] [Updated] python3-snakeoil: update to 0.10.5.
  2023-01-20 19:00 [PR PATCH] python3-snakeoil: update to 0.10.5 icp1994
  2023-01-20 19:05 ` [PR PATCH] [Updated] " icp1994
  2023-02-14 20:10 ` [PR REVIEW] " paper42
@ 2023-02-14 20:16 ` icp1994
  2023-02-14 20:26 ` [PR PATCH] [Merged]: " paper42
  3 siblings, 0 replies; 5+ messages in thread
From: icp1994 @ 2023-02-14 20:16 UTC (permalink / raw)
  To: ml

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

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

https://github.com/icp1994/void-packages python3-snakeoil
https://github.com/void-linux/void-packages/pull/41762

python3-snakeoil: update to 0.10.5.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

#### Rev dep checks
- [x] python3-chroot

snakeoil is a pure python package now, so no more c-extension/-devel-subpackage

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

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

From 5160b133c91e3f4b2ddc35df16551142432ac542 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 29 Nov 2022 01:32:35 +0530
Subject: [PATCH 1/2] python3-chroot: update to 0.10.4.

---
 srcpkgs/python3-chroot/template | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/python3-chroot/template b/srcpkgs/python3-chroot/template
index f9c9b91a8a58..5640f459763d 100644
--- a/srcpkgs/python3-chroot/template
+++ b/srcpkgs/python3-chroot/template
@@ -1,17 +1,20 @@
 # Template file for 'python3-chroot'
 pkgname=python3-chroot
-version=0.10.1
-revision=3
+version=0.10.4
+revision=1
 build_style=python3-module
+# OSError: [Errno 16] Device or resource busy: '/proc'
+make_check_args="--deselect=tests/test_chroot.py::TestChroot::test_chroot"
 hostmakedepends="python3-setuptools python3-snakeoil"
 depends="python3-snakeoil"
+checkdepends="${depends} python3-pytest-xdist"
 short_desc="Python3 Library and CLI tool that simplify chroot handling"
 maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
 license="BSD-3-Clause"
-homepage="https://github.com/pkgcore/pychroot"
-#changelog="https://github.com/pkgcore/pychroot/blob/master/NEWS.rst"
+homepage="https://pkgcore.github.io/pychroot/"
+changelog="https://raw.githubusercontent.com/pkgcore/pychroot/master/NEWS.rst"
 distfiles="${PYPI_SITE}/p/pychroot/pychroot-${version}.tar.gz"
-checksum=10b2d5195062d110df8e28bcdb1d79d1e8109fb77a226455ab2df6b40e7ff289
+checksum=bb06b9c5b811aba80acac0f214ff7e5c7814b17f899986cdcd3f914f31a39609
 conflicts="python-chroot>=0"
 
 post_install() {

From e8ad526ff05efa4b1033ad6155f2ecbb384be84e Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 29 Nov 2022 00:52:30 +0530
Subject: [PATCH 2/2] python3-snakeoil: update to 0.10.5.

Remove obsolete `-devel` subpackage.
---
 srcpkgs/python3-snakeoil-devel    |  1 -
 srcpkgs/python3-snakeoil/template | 40 +++++++++----------------------
 srcpkgs/removed-packages/template |  1 +
 3 files changed, 12 insertions(+), 30 deletions(-)
 delete mode 120000 srcpkgs/python3-snakeoil-devel

diff --git a/srcpkgs/python3-snakeoil-devel b/srcpkgs/python3-snakeoil-devel
deleted file mode 120000
index b1f4b0232305..000000000000
--- a/srcpkgs/python3-snakeoil-devel
+++ /dev/null
@@ -1 +0,0 @@
-python3-snakeoil
\ No newline at end of file
diff --git a/srcpkgs/python3-snakeoil/template b/srcpkgs/python3-snakeoil/template
index 2156091b4921..aa3927fce181 100644
--- a/srcpkgs/python3-snakeoil/template
+++ b/srcpkgs/python3-snakeoil/template
@@ -1,38 +1,20 @@
 # Template file for 'python3-snakeoil'
 pkgname=python3-snakeoil
-version=0.8.8
-revision=4
-build_style=python3-module
-hostmakedepends="python3-setuptools python3-Cython"
-makedepends="python3-devel"
-depends="python3"
+version=0.10.5
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-flit_core"
+depends="python3-lazy-object-proxy"
+checkdepends="${depends} lbzip2 tar xz python3-pytest-xdist"
 short_desc="Python3 optimized versions of common python functionality"
 maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
-license="BSD-3-Clause, GPL-2.0-only"
-homepage="https://github.com/pkgcore/snakeoil"
-# changelog="https://github.com/pkgcore/snakeoil/blob/master/NEWS.rst"
+license="BSD-3-Clause"
+homepage="https://pkgcore.github.io/snakeoil/"
+changelog="https://raw.githubusercontent.com/pkgcore/snakeoil/master/NEWS.rst"
 distfiles="${PYPI_SITE}/s/snakeoil/snakeoil-${version}.tar.gz"
-checksum=8381ed730cb4c127c2cb5f99ed8a148d3f2bc492de21f035aae8913f7a106d63
-
-post_extract() {
-	local _f
-	for _f in src/snakeoil/*.pyx; do
-		rm -f ${_f%.pyx}.c
-	done
-}
-
-pre_check() {
-	export PYTHONPATH=$(cd build/lib* && pwd)
-}
+checksum=fe502181818ff20c3fa6c7101f287fa323650b11d7265ac3fbcb6c53bd1feaaf
+make_check_pre="env PYTHONPATH=src"
 
 post_install() {
 	vlicense LICENSE
 }
-
-python3-snakeoil-devel_package() {
-	depends="python3-snakeoil>=${version}_${revision}"
-	short_desc+=" - development files"
-	pkg_install() {
-		vmove usr/include/python3*
-	}
-}
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 6c1bbab871e8..926eca1effb9 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -455,6 +455,7 @@ replaces="
  python3-pyside-phonon<=5.15.0_2
  python3-pyside<=5.15.0_2
  python3-shiboken<=5.15.0_3
+ python3-snakeoil-devel<=0.8.8_4
  python3-txacme<=0.9.3_3
  qimageblitz<=0.0.6_4
  qt-designer-devel<=4.8.7_29

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

* Re: [PR PATCH] [Merged]: python3-snakeoil: update to 0.10.5.
  2023-01-20 19:00 [PR PATCH] python3-snakeoil: update to 0.10.5 icp1994
                   ` (2 preceding siblings ...)
  2023-02-14 20:16 ` [PR PATCH] [Updated] " icp1994
@ 2023-02-14 20:26 ` paper42
  3 siblings, 0 replies; 5+ messages in thread
From: paper42 @ 2023-02-14 20:26 UTC (permalink / raw)
  To: ml

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

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

python3-snakeoil: update to 0.10.5.
https://github.com/void-linux/void-packages/pull/41762

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

#### Local build testing
- I built this PR locally for my native architecture: **x86_64**

#### Rev dep checks
- [x] python3-chroot

snakeoil is a pure python package now, so no more c-extension/-devel-subpackage

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

end of thread, other threads:[~2023-02-14 20:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-20 19:00 [PR PATCH] python3-snakeoil: update to 0.10.5 icp1994
2023-01-20 19:05 ` [PR PATCH] [Updated] " icp1994
2023-02-14 20:10 ` [PR REVIEW] " paper42
2023-02-14 20:16 ` [PR PATCH] [Updated] " icp1994
2023-02-14 20:26 ` [PR PATCH] [Merged]: " paper42

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).