From: paper42 <paper42@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] opencv: make opencv4-python a transitional package
Date: Sat, 03 Sep 2022 18:06:09 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-39088@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 448 bytes --]
There is a new pull request by paper42 against master on the void-packages repository
https://github.com/paper42/void-packages opencv4-python
https://github.com/void-linux/void-packages/pull/39088
opencv: make opencv4-python a transitional package
cc @classabbyamp
repositories are currently staged because of inconsistent shlibs, this should fix that
A patch file from https://github.com/void-linux/void-packages/pull/39088.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-opencv4-python-39088.patch --]
[-- Type: text/x-diff, Size: 2073 bytes --]
From b0bc12b617e45fd2986c1ca3793ea7a45c4dfb05 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sat, 3 Sep 2022 18:03:20 +0200
Subject: [PATCH] opencv: make opencv4-python a transitional package
---
srcpkgs/opencv/template | 8 +++++++-
srcpkgs/opencv4-python | 1 +
srcpkgs/removed-packages/template | 3 +--
3 files changed, 9 insertions(+), 3 deletions(-)
create mode 120000 srcpkgs/opencv4-python
diff --git a/srcpkgs/opencv/template b/srcpkgs/opencv/template
index a46cf9d79a78..89b5823cd202 100644
--- a/srcpkgs/opencv/template
+++ b/srcpkgs/opencv/template
@@ -1,7 +1,7 @@
# Template file for 'opencv'
pkgname=opencv
version=4.6.0
-revision=1
+revision=2
create_wrksrc=yes
build_wrksrc=${pkgname}-${version}
build_style=cmake
@@ -94,6 +94,12 @@ libopencv4-devel_package() {
build_style=meta
}
+libopencv4-python_package() {
+ depends="lib${sourcepkg}-python3>=${version}_${revision}"
+ short_desc+=" - Python3 bindings (transitional dummy package)"
+ build_style=meta
+}
+
libopencv4-python3_package() {
depends="lib${sourcepkg}-python3>=${version}_${revision}"
short_desc+=" - Python3 bindings (transitional dummy package)"
diff --git a/srcpkgs/opencv4-python b/srcpkgs/opencv4-python
new file mode 120000
index 000000000000..f5341cf36786
--- /dev/null
+++ b/srcpkgs/opencv4-python
@@ -0,0 +1 @@
+opencv
\ No newline at end of file
diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template
index 87fa3eab02f0..3762cfc9d85b 100644
--- a/srcpkgs/removed-packages/template
+++ b/srcpkgs/removed-packages/template
@@ -1,7 +1,7 @@
# Template file for 'removed-packages'
pkgname=removed-packages
version=0.1
-revision=72
+revision=73
build_style=meta
short_desc="Uninstalls packages removed from repository"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
@@ -250,7 +250,6 @@ replaces="
libmpd-devel<=11.8.17_3
libmpd<=11.8.17_3
libopencv-python<=3.4.15_1
- libopencv4-python<=4.5.3_2
libpng12<=1.2.59_1
libpyside-python3<=5.15.0_2
libqmatrixclient-devel<=0.5.3.2_1
next reply other threads:[~2022-09-03 16:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-03 16:06 paper42 [this message]
2022-09-03 18:16 ` paper42
2022-09-03 18:16 ` [PR PATCH] [Closed]: " 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-39088@inbox.vuxu.org \
--to=paper42@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).