Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] srcpkgs: add missing python3 dependency in python3 packages
@ 2022-11-17 10:26 icp1994
  2022-11-17 10:48 ` [PR PATCH] [Updated] " icp1994
                   ` (24 more replies)
  0 siblings, 25 replies; 26+ messages in thread
From: icp1994 @ 2022-11-17 10:26 UTC (permalink / raw)
  To: ml

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

There is a new 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: 16482 bytes --]

From b4f1bb6fce8729e44c8d17a93c901bb013b1b057 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 bc94c71d6a389..6885784f177f1 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.9.0
-revision=2
+revision=3
 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 866bdefed8b006b85945f62740e235bf40074500 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 35698523d95e2..bc97b0d92a9bd 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 e4dc98bfff36aab271b25ba14879ad9c59bd84ae 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 4044fbfea2a77..770533353df89 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=2
+revision=3
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 makedepends="python3-devel blas-devel lapack-devel SuiteSparse-devel gsl-devel
  glpk-devel fftw-devel"
+depends="python3"
 checkdepends="python3-pytest"
 short_desc="Python software for convex optimization"
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"

From b6e257ad1ecc30e6c9d56fe884b6d646e4bbe4e0 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 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/python3-cysignals/template b/srcpkgs/python3-cysignals/template
index 52396d21b0997..0b1838b202ac2 100644
--- a/srcpkgs/python3-cysignals/template
+++ b/srcpkgs/python3-cysignals/template
@@ -1,10 +1,11 @@
 # 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"
+depends="python3"
 short_desc="Interrupt and signal handling for Cython "
 maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
 license="LGPL-3.0-or-later"

From c67a6dae74a1b1dd0a0da8173d7eeeb0330eac2e 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 3b35f6bf7bfb1..1fb42cafc3c51 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 e4f38d378328386576622e833b4046b2f795cdd7 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 87cbf84776153..105bba7e3c742 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
 
+pre_check() {
+	python3 setup.py build_ext --inplace
+	rm tests/test_uinput.py # permission issue with /dev/uinput
+}
+
 post_install() {
 	vlicense LICENSE
 }

From fcebc7d15a0f2308e6864f0c2f070a2f3d308981 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 e086bc625ec12..3b7593451dc80 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 1206cf2021023b40f2ecc62f2b1863aa596d3468 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 bd77a036455fd..707f9852cb877 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 ed402e500c45d7eed9362a46e67e0aa6bdf040e7 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 143112ea17baf..817dede1e5396 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 db1c15af04c7d61b0d713f61cabce92a38c13f57 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 b3959500e5a92..7240e679bf018 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 324f664f4eb87fd5256951801740ae5a7f7bdfb1 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 72fd345953e54..6ec34675e3c2a 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 9c544444ed032c64a1e6f2ed6bc55489e5faccb2 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 7be7c4e2be8c3..4c52a412d31da 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 276692a0c3365468fda3f37092f06421f0d1a071 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 71276c4f473e0..e9e0808a3cd02 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 e4597b8ef99d6582e70e8c0486050c592bc0570d 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 fdd39c496549a..6cf941dde8b9d 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
+
+pre_check() {
+	export PYTHONPATH=$(cd build/lib* && pwd)
+}

From ed659fae317a5004a5b1ff434d0e4c6df212c7fc 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 3f6bdb62fbfc7..0cd0b212fb8e9 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 d46510e32b30c13e459a3d31022060630758dbce 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 c85721f5b31b1..fe63eb584b778 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 93c5fb6609aa1e898045276b86724fc789917a4d 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 4fec3f5b5aa76..3537bb2ad69ef 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>"

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

end of thread, other threads:[~2022-12-18 11:02 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-17 10:26 [PR PATCH] srcpkgs: add missing python3 dependency in python3 packages 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 ` [PR PATCH] [Updated] " icp1994
2022-12-17 17:26 ` tornaria
2022-12-17 19:55 ` paper42
2022-12-18 11:02 ` [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).