From: icp1994 <icp1994@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] srcpkgs: add missing python3 dependency in python3 packages
Date: Sat, 17 Dec 2022 14:25:01 +0100 [thread overview]
Message-ID: <20221217132501.MbUPn9fOhr9DPiKFbL2LPqJRtP_GHYxekoBIvm-S5L0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40569@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 512 bytes --]
There is an updated pull request by icp1994 against master on the void-packages repository
https://github.com/icp1994/void-packages pydepfix
https://github.com/void-linux/void-packages/pull/40569
srcpkgs: add missing python3 dependency in python3 packages
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### Local build testing
- I built this PR locally for my native architecture, x86_64
A patch file from https://github.com/void-linux/void-packages/pull/40569.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pydepfix-40569.patch --]
[-- Type: text/x-diff, Size: 16643 bytes --]
From e66b85a74a2805de365a9cb01e452b4ae33cc714 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Wed, 16 Nov 2022 01:27:29 +0530
Subject: [PATCH 01/17] libvirt-python3: add python3 as dep
---
srcpkgs/libvirt-python3/template | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/libvirt-python3/template b/srcpkgs/libvirt-python3/template
index f48cc3437f5e..5c4a6734ff08 100644
--- a/srcpkgs/libvirt-python3/template
+++ b/srcpkgs/libvirt-python3/template
@@ -1,11 +1,12 @@
# Template file for 'libvirt-python3'
pkgname=libvirt-python3
version=8.10.0
-revision=1
+revision=2
build_style=python3-module
hostmakedepends="pkg-config python3-devel python3-setuptools libvirt-devel
libapparmor-devel"
makedepends="libvirt-devel python3-devel"
+depends="python3"
checkdepends="python3-pytest python3-lxml python3-nose"
short_desc="Libvirt virtualization API Python3 binding"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
From 74a3e75f3dcec85cfc4b2fbba81364714070822e Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Wed, 16 Nov 2022 01:30:05 +0530
Subject: [PATCH 02/17] ps_mem: add python3 as dep
---
srcpkgs/ps_mem/template | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/ps_mem/template b/srcpkgs/ps_mem/template
index 35698523d95e..bc97b0d92a9b 100644
--- a/srcpkgs/ps_mem/template
+++ b/srcpkgs/ps_mem/template
@@ -1,9 +1,10 @@
# Template file for 'ps_mem'
pkgname=ps_mem
version=3.14
-revision=2
+revision=3
build_style=python3-module
hostmakedepends="python3-setuptools"
+depends="python3"
short_desc="Utility to accurately report the core memory usage for a program"
maintainer="wael <40663@proton.me>"
license="LGPL-2.1-only"
From 70d05af9e2c6a623ad5c33dad60185566594dbef Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Wed, 16 Nov 2022 01:36:43 +0530
Subject: [PATCH 03/17] python3-cvxopt: add python3 as dep
---
srcpkgs/python3-cvxopt/template | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/python3-cvxopt/template b/srcpkgs/python3-cvxopt/template
index 944086e37837..666a63af1be0 100644
--- a/srcpkgs/python3-cvxopt/template
+++ b/srcpkgs/python3-cvxopt/template
@@ -1,11 +1,12 @@
# Template file for 'python3-cvxopt'
pkgname=python3-cvxopt
version=1.3.0
-revision=3
+revision=4
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel SuiteSparse-devel gsl-devel glpk-devel fftw-devel
$(vopt_if openblas 'openblas-devel' 'lapack-devel')"
+depends="python3"
checkdepends="python3-pytest"
short_desc="Python software for convex optimization"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
From 968e779a885f7b037031552df130a525afa33822 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Wed, 16 Nov 2022 01:40:27 +0530
Subject: [PATCH 04/17] python3-cysignals: add python3 as dep
---
srcpkgs/python3-cysignals/template | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/python3-cysignals/template b/srcpkgs/python3-cysignals/template
index 52396d21b099..bd9563353ba0 100644
--- a/srcpkgs/python3-cysignals/template
+++ b/srcpkgs/python3-cysignals/template
@@ -1,11 +1,12 @@
# Template file for 'python3-cysignals'
pkgname=python3-cysignals
version=1.11.2
-revision=3
+revision=4
build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython autoconf"
makedepends="python3-devel pari-devel"
-short_desc="Interrupt and signal handling for Cython "
+depends="python3"
+short_desc="Interrupt and signal handling for Cython"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="LGPL-3.0-or-later"
homepage="https://github.com/sagemath/cysignals"
From 5bd4cb82fe2ba613f310cc73cf6b9e0bcf48d763 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Wed, 16 Nov 2022 01:42:42 +0530
Subject: [PATCH 05/17] python3-docstring-to-markdown: add python3 as dep
---
srcpkgs/python3-docstring-to-markdown/template | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/python3-docstring-to-markdown/template b/srcpkgs/python3-docstring-to-markdown/template
index 3b35f6bf7bfb..1fb42cafc3c5 100644
--- a/srcpkgs/python3-docstring-to-markdown/template
+++ b/srcpkgs/python3-docstring-to-markdown/template
@@ -1,9 +1,10 @@
# Template file for 'python3-docstring-to-markdown'
pkgname=python3-docstring-to-markdown
version=0.10
-revision=1
+revision=2
build_style=python3-module
hostmakedepends="python3-setuptools_scm"
+depends="python3"
short_desc="Python implementation of the Language Server Protocol"
maintainer="Cameron Nemo <cam@nohom.org>"
license="LGPL-2.1-only"
From fb161ad5d73bf349c59be3c4e9f3a5691c634357 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Wed, 16 Nov 2022 01:10:08 +0530
Subject: [PATCH 06/17] python3-evdev: add python3 as dep, fix tests
---
srcpkgs/python3-evdev/template | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/python3-evdev/template b/srcpkgs/python3-evdev/template
index 87cbf8477615..6a08a003f89e 100644
--- a/srcpkgs/python3-evdev/template
+++ b/srcpkgs/python3-evdev/template
@@ -1,10 +1,12 @@
# Template file for 'python3-evdev'
pkgname=python3-evdev
version=1.6.0
-revision=2
+revision=3
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="python3-devel"
+depends="python3"
+checkdepends="python3-pytest"
short_desc="Python3 bindings for the Linux input subsystem"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
@@ -12,6 +14,11 @@ homepage="https://github.com/gvalkov/python-evdev"
distfiles="https://github.com/gvalkov/python-evdev/archive/v${version}.tar.gz"
checksum=85877121b46e0eacf390c1ee4a07e6f5fcb3c603c1649efcccdd554f2fe0c3ab
+do_check() {
+ # ignored uinput tests due to permission issues agasint /dev/uinput
+ PYTHONPATH="$(cd build/lib* && pwd)" pytest --ignore tests/test_uinput.py
+}
+
post_install() {
vlicense LICENSE
}
From 2cd7e00532aba344787c8abbda3c1c70bb5c6109 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Wed, 16 Nov 2022 01:51:39 +0530
Subject: [PATCH 07/17] python3-execnet: add python3 as dep
---
srcpkgs/python3-execnet/template | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/python3-execnet/template b/srcpkgs/python3-execnet/template
index e086bc625ec1..3b7593451dc8 100644
--- a/srcpkgs/python3-execnet/template
+++ b/srcpkgs/python3-execnet/template
@@ -1,9 +1,10 @@
# Template file for 'python3-execnet'
pkgname=python3-execnet
version=1.9.0
-revision=2
+revision=3
build_style=python3-module
hostmakedepends="python3-setuptools python3-setuptools_scm"
+depends="python3"
checkdepends="python3-pytest"
short_desc="Distributed Python deployment and communication"
maintainer="classabbyamp <void@placeviolette.net>"
From 6aaa27f92e0ed30086581ac83382da9b1e47792a Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Wed, 16 Nov 2022 01:54:19 +0530
Subject: [PATCH 08/17] python3-fastjsonschema: add python3 as dep
---
srcpkgs/python3-fastjsonschema/template | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/python3-fastjsonschema/template b/srcpkgs/python3-fastjsonschema/template
index bd77a036455f..707f9852cb87 100644
--- a/srcpkgs/python3-fastjsonschema/template
+++ b/srcpkgs/python3-fastjsonschema/template
@@ -1,10 +1,11 @@
# Template file for 'python3-fastjsonschema'
pkgname=python3-fastjsonschema
version=2.15.3
-revision=2
+revision=3
build_style=python3-module
make_check_args="--deselect tests/benchmarks/test_benchmark.py"
hostmakedepends="python3-setuptools"
+depends="python3"
checkdepends="python3-pytest"
short_desc="Fastest Python implementation of JSON schema"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
From c54e1b8945801690fd331e2105d08dc001edcb25 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Wed, 16 Nov 2022 01:59:15 +0530
Subject: [PATCH 09/17] python3-fpylll: add python3 as dep
---
srcpkgs/python3-fpylll/template | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/python3-fpylll/template b/srcpkgs/python3-fpylll/template
index 143112ea17ba..817dede1e539 100644
--- a/srcpkgs/python3-fpylll/template
+++ b/srcpkgs/python3-fpylll/template
@@ -1,11 +1,12 @@
# Template file for 'python3-fpylll'
pkgname=python3-fpylll
version=0.5.7
-revision=2
+revision=3
build_style=python3-module
hostmakedepends="python3-Cython"
makedepends="python3-cysignals python3-devel gmp-devel mpfr-devel fplll-devel
pari-devel"
+depends="python3"
checkdepends="python3-pytest python3-numpy"
short_desc="Python wrapper to fplll (floating point lattice algorithms)"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
From ee67309489fdfd2d7ab6bd485c408d8599897d73 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Thu, 17 Nov 2022 01:35:25 +0530
Subject: [PATCH 10/17] python3-jaraco.context: add python3 as dep, fix tests
---
srcpkgs/python3-jaraco.context/template | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/python3-jaraco.context/template b/srcpkgs/python3-jaraco.context/template
index b3959500e5a9..7240e679bf01 100644
--- a/srcpkgs/python3-jaraco.context/template
+++ b/srcpkgs/python3-jaraco.context/template
@@ -1,9 +1,11 @@
# Template file for 'python3-jaraco.context'
pkgname=python3-jaraco.context
version=4.1.1
-revision=2
+revision=3
build_style=python3-pep517
hostmakedepends="python3-wheel python3-setuptools_scm"
+depends="python3"
+checkdepends="python3-pytest"
short_desc="Context managers by jaraco"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
From 3f87497f2a2d495fad4f4bfbf2b7afe0c9b40e6d Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Wed, 16 Nov 2022 02:04:09 +0530
Subject: [PATCH 11/17] python3-logfury: add python3 as dep
---
srcpkgs/python3-logfury/template | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/python3-logfury/template b/srcpkgs/python3-logfury/template
index 72fd345953e5..6ec34675e3c2 100644
--- a/srcpkgs/python3-logfury/template
+++ b/srcpkgs/python3-logfury/template
@@ -1,9 +1,10 @@
# Template file for 'python3-logfury'
pkgname=python3-logfury
version=1.0.1
-revision=3
+revision=4
build_style=python3-module
hostmakedepends="python3-setuptools_scm"
+depends="python3"
short_desc="Low-boilerplate logging of method calls (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
From 06b0f23e563a9452da73b54514018ca8e0d133db Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Thu, 17 Nov 2022 01:06:47 +0530
Subject: [PATCH 12/17] python3-lrcalc: add python3 as dep
---
srcpkgs/python3-lrcalc/template | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/python3-lrcalc/template b/srcpkgs/python3-lrcalc/template
index 7be7c4e2be8c..4c52a412d31d 100644
--- a/srcpkgs/python3-lrcalc/template
+++ b/srcpkgs/python3-lrcalc/template
@@ -1,10 +1,11 @@
# Template file for 'python3-lrcalc'
pkgname=python3-lrcalc
version=2.1
-revision=2
+revision=3
build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython"
makedepends="python3-devel lrcalc-devel"
+depends="python3"
short_desc="Python bindings for the Littlewood-Richardson Calculator library"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="GPL-3.0-or-later"
From 8a85f5a5f14959c85c2417a791c4ef6cce7a90ee Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Thu, 17 Nov 2022 01:09:11 +0530
Subject: [PATCH 13/17] python3-memory_allocator: add python3 as dep
---
srcpkgs/python3-memory_allocator/template | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/python3-memory_allocator/template b/srcpkgs/python3-memory_allocator/template
index 71276c4f473e..e9e0808a3cd0 100644
--- a/srcpkgs/python3-memory_allocator/template
+++ b/srcpkgs/python3-memory_allocator/template
@@ -1,10 +1,11 @@
# Template file for 'python3-memory_allocator'
pkgname=python3-memory_allocator
version=0.1.3
-revision=2
+revision=3
build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython"
makedepends="python3-devel"
+depends="python3"
short_desc="Extension class to allocate memory easily with cython"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="GPL-3.0-or-later"
From 83ce4e50523b02acf752db49197b57d1c08e4910 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Thu, 17 Nov 2022 01:11:01 +0530
Subject: [PATCH 14/17] python3-pplpy: add python3 as dep, fix tests
---
srcpkgs/python3-pplpy/template | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/python3-pplpy/template b/srcpkgs/python3-pplpy/template
index fdd39c496549..67139ff96031 100644
--- a/srcpkgs/python3-pplpy/template
+++ b/srcpkgs/python3-pplpy/template
@@ -1,11 +1,12 @@
# Template file for 'python3-pplpy'
pkgname=python3-pplpy
version=0.8.7
-revision=2
+revision=3
build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython"
makedepends="python3-cysignals python3-gmpy2 python3-devel gmp-devel
gmpxx-devel ppl-devel mpfr-devel libmpc-devel pari-devel"
+depends="python3"
short_desc="Python wrapper to the C++ Parma Polyhedra Library (PPL)"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="GPL-3.0-or-later"
@@ -13,3 +14,7 @@ homepage="https://gitlab.com/videlec/pplpy"
changelog="https://gitlab.com/videlec/pplpy/-/raw/master/CHANGES.txt"
distfiles="${PYPI_SITE}/p/pplpy/pplpy-${version}.tar.gz"
checksum=500bd0f4ae1a76956fae7fcba77854f5ec3e64fce76803664983763c3f2bd8bd
+
+do_check() {
+ PYTHONPATH=$(cd build/lib* && pwd) python3 setup.py test
+}
From df18dc2a99575623224918ec5858438285705026 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Thu, 17 Nov 2022 01:25:43 +0530
Subject: [PATCH 15/17] python3-primecountpy: add python3 as dep
---
srcpkgs/python3-primecountpy/template | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/python3-primecountpy/template b/srcpkgs/python3-primecountpy/template
index 3f6bdb62fbfc..0cd0b212fb8e 100644
--- a/srcpkgs/python3-primecountpy/template
+++ b/srcpkgs/python3-primecountpy/template
@@ -1,10 +1,11 @@
# Template file for 'python3-primecountpy'
pkgname=python3-primecountpy
version=0.1.0
-revision=2
+revision=3
build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython"
makedepends="python3-cysignals python3-devel primecount-devel pari-devel"
+depends="python3"
short_desc="Python interface to the C++ library primecount"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="GPL-3.0-or-later"
From e8709c40c9b8999c947b20b9fb857eaa9fa4df33 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Thu, 17 Nov 2022 01:27:19 +0530
Subject: [PATCH 16/17] python3-pycotap: add python3 as dep
---
srcpkgs/python3-pycotap/template | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/python3-pycotap/template b/srcpkgs/python3-pycotap/template
index c85721f5b31b..fe63eb584b77 100644
--- a/srcpkgs/python3-pycotap/template
+++ b/srcpkgs/python3-pycotap/template
@@ -1,9 +1,10 @@
# Template file for 'python3-pycotap'
pkgname=python3-pycotap
version=1.2.2
-revision=2
+revision=3
build_style=python3-module
hostmakedepends="python3-setuptools"
+depends="python3"
short_desc="Tiny test runner that outputs TAP results to standard output"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
From a4e1629b7a36155838c3cf325d78e910e156b394 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Thu, 17 Nov 2022 01:30:07 +0530
Subject: [PATCH 17/17] python3-utils: add python3 as dep
---
srcpkgs/python3-utils/template | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/python3-utils/template b/srcpkgs/python3-utils/template
index 4fec3f5b5aa7..3537bb2ad69e 100644
--- a/srcpkgs/python3-utils/template
+++ b/srcpkgs/python3-utils/template
@@ -1,11 +1,12 @@
# Template file for 'python3-utils'
pkgname=python3-utils
version=3.1.0
-revision=2
+revision=3
build_style=python3-module
# skip coverage and mypy tests https://github.com/WoLpH/python-utils/issues/29
make_check_args="-o addopts=--doctest-modules"
hostmakedepends="python3-setuptools"
+depends="python3"
checkdepends="python3-pytest python3-pytest-asyncio"
short_desc="Convenient utilities not included with the standard Python3 install"
maintainer="Karl Nilsson <karl.robert.nilsson@gmail.com>"
next prev parent reply other threads:[~2022-12-17 13:25 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-17 10:26 [PR PATCH] " icp1994
2022-11-17 10:48 ` [PR PATCH] [Updated] " icp1994
2022-11-17 11:02 ` [PR REVIEW] " paper42
2022-11-17 11:07 ` paper42
2022-11-17 11:08 ` paper42
2022-11-17 13:14 ` icp1994
2022-11-17 13:29 ` icp1994
2022-11-17 13:32 ` paper42
2022-11-17 13:34 ` paper42
2022-11-17 13:38 ` icp1994
2022-11-17 13:39 ` icp1994
2022-11-17 13:39 ` paper42
2022-11-17 13:45 ` ahesford
2022-11-17 13:48 ` [PR PATCH] [Updated] " icp1994
2022-11-17 13:53 ` [PR REVIEW] " icp1994
2022-11-17 14:00 ` ahesford
2022-11-21 21:19 ` tornaria
2022-11-21 21:30 ` ahesford
2022-11-21 21:44 ` tornaria
2022-11-21 21:46 ` ahesford
2022-11-22 5:36 ` icp1994
2022-12-16 18:19 ` paper42
2022-12-17 13:25 ` icp1994 [this message]
2022-12-17 17:26 ` tornaria
2022-12-17 19:55 ` paper42
2022-12-18 11:02 ` [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=20221217132501.MbUPn9fOhr9DPiKFbL2LPqJRtP_GHYxekoBIvm-S5L0@z \
--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).