Github messages for voidlinux
 help / color / mirror / Atom feed
From: icp1994 <icp1994@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] python3-snakeoil: update to 0.10.5.
Date: Fri, 20 Jan 2023 20:00:59 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41762@inbox.vuxu.org> (raw)

[-- 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() {

             reply	other threads:[~2023-01-20 19:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-20 19:00 icp1994 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41762@inbox.vuxu.org \
    --to=icp1994@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).