From: sgn <sgn@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] Split python3-dbus-devel
Date: Fri, 05 Mar 2021 02:12:16 +0100 [thread overview]
Message-ID: <20210305011216.ngYNcxPlWuXBvCHC2c3-q4PjKEK9S6jnaYuPTY2_Az4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-29238@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1655 bytes --]
There is an updated pull request by sgn against master on the void-packages repository
https://github.com/sgn/void-packages split-python3-dbus-devel
https://github.com/void-linux/void-packages/pull/29238
Split python3-dbus-devel
To avoid unnecessary python 2 when doing development.
<!-- Mark items with [x] where applicable -->
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR
<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!--
#### Does it build and run successfully?
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
- [ ] aarch64-musl
- [ ] armv7l
- [ ] armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/29238.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-split-python3-dbus-devel-29238.patch --]
[-- Type: text/x-diff, Size: 4913 bytes --]
From 9bf85c4f246980d93b493b0d66628a3942d6646c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
<congdanhqx@gmail.com>
Date: Fri, 5 Mar 2021 07:56:56 +0700
Subject: [PATCH 1/4] python-dbus: split python3-dbus-devel
Avoid unnecessary python (2) dependency when doing development
---
srcpkgs/python-dbus/template | 13 ++++++++++---
srcpkgs/python3-dbus-devel | 1 +
2 files changed, 11 insertions(+), 3 deletions(-)
create mode 120000 srcpkgs/python3-dbus-devel
diff --git a/srcpkgs/python-dbus/template b/srcpkgs/python-dbus/template
index ee6b9ddb79f..b190d8499bf 100644
--- a/srcpkgs/python-dbus/template
+++ b/srcpkgs/python-dbus/template
@@ -1,7 +1,7 @@
# Template file for 'python-dbus'
pkgname=python-dbus
version=1.2.16
-revision=2
+revision=3
wrksrc="dbus-python-${version}"
build_style=gnu-configure
hostmakedepends="pkg-config python-devel python3-devel"
@@ -59,9 +59,16 @@ python3-dbus_package() {
vmove usr/lib/python3*
}
}
+# This package used to provide both Python 2 and Python 3 development files
+# Those files are now in python3-dbus-devel
python-dbus-devel_package() {
- depends="python-devel python3-devel
- python-dbus>=${version}_${revision} python3-dbus>=${version}_${revision}"
+ depends="python-devel python-dbus>=${version}_${revision}
+ python3-dbus-devel>=${version}_${revision}"
+ build_style=meta
+ short_desc+=" - development files (Python 2 meta)"
+}
+python3-dbus-devel_package() {
+ depends="python3-devel python3-dbus>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
diff --git a/srcpkgs/python3-dbus-devel b/srcpkgs/python3-dbus-devel
new file mode 120000
index 00000000000..082b5c2fc19
--- /dev/null
+++ b/srcpkgs/python3-dbus-devel
@@ -0,0 +1 @@
+python-dbus
\ No newline at end of file
From 80be1848424f9682a5034aa9d3209ac1c322c98d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
<congdanhqx@gmail.com>
Date: Fri, 5 Mar 2021 07:58:35 +0700
Subject: [PATCH 2/4] python3-PyQt5: build with python3-dbus-devel
---
srcpkgs/python3-PyQt5/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/python3-PyQt5/template b/srcpkgs/python3-PyQt5/template
index 058095e7c69..07958aa9754 100644
--- a/srcpkgs/python3-PyQt5/template
+++ b/srcpkgs/python3-PyQt5/template
@@ -8,7 +8,7 @@ build_helper=qemu
hostmakedepends="pkg-config python3-PyQt-builder qt5-host-tools qt5-qmake
python3-dbus"
makedepends="qscintilla-qt5-devel python3-sip-PyQt5
- python3-devel python-dbus-devel qt5 qt5-devel qt5-tools-devel
+ python3-devel python3-dbus-devel qt5 qt5-devel qt5-tools-devel
qt5-connectivity-devel qt5-declarative-devel qt5-location-devel
qt5-multimedia-devel qt5-qmake qt5-sensors-devel qt5-serialport-devel
qt5-svg-devel qt5-webchannel-devel qt5-webkit-devel qt5-websockets-devel
From a7feb23d65bfe26b6f5b28815a748c95c1e98afe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
<congdanhqx@gmail.com>
Date: Fri, 5 Mar 2021 07:59:11 +0700
Subject: [PATCH 3/4] python3-efl: build with python3-dbus-devel
---
srcpkgs/python3-efl/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/python3-efl/template b/srcpkgs/python3-efl/template
index bddfb373625..2476c73b347 100644
--- a/srcpkgs/python3-efl/template
+++ b/srcpkgs/python3-efl/template
@@ -6,7 +6,7 @@ wrksrc=python-efl-${version}
build_style=python3-module
pycompile_module="efl"
hostmakedepends="pkg-config python3-devel python3-Cython"
-makedepends="efl-devel python-dbus-devel"
+makedepends="efl-devel python3-dbus-devel"
depends="python3-dbus"
short_desc="Python3 bindings for Enlightenment Foundation Libraries"
maintainer="q66 <daniel@octaforge.org>"
From 4fedbd4af17cc71670eec06d7137f23101b25644 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
<congdanhqx@gmail.com>
Date: Fri, 5 Mar 2021 07:59:47 +0700
Subject: [PATCH 4/4] gedit-plugins: build with python3-dbus-devel
---
srcpkgs/gedit-plugins/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/gedit-plugins/template b/srcpkgs/gedit-plugins/template
index 2c274c75da8..e288f0d3812 100644
--- a/srcpkgs/gedit-plugins/template
+++ b/srcpkgs/gedit-plugins/template
@@ -7,7 +7,7 @@ pycompile_dirs="usr/lib/gedit/plugins"
hostmakedepends="gettext glib-devel itstool pkg-config vala appstream-glib
python3-gobject gucharmap-devel vte3-devel"
makedepends="gedit-devel gtksourceview4-devel gtk+3-devel libgit2-glib-devel
- libglib-devel libpeas-devel python-dbus-devel python3-devel zeitgeist-devel"
+ libglib-devel libpeas-devel python3-dbus-devel python3-devel zeitgeist-devel"
depends="python3-gobject gucharmap vte3"
short_desc="Set of plugins for Gedit"
maintainer="Enno Boland <gottox@voidlinux.org>"
next prev parent reply other threads:[~2021-03-05 1:12 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-05 1:03 [PR PATCH] " sgn
2021-03-05 1:08 ` [PR PATCH] [Updated] " sgn
2021-03-05 1:12 ` sgn [this message]
2021-03-05 1:13 ` sgn
2021-03-05 1:16 ` sgn
2021-03-05 1:16 ` sgn
2021-03-05 1:18 ` sgn
2021-03-05 1:19 ` ericonr
2021-03-05 1:20 ` ericonr
2021-03-10 15:08 ` sgn
2021-03-10 16:25 ` Chocimier
2021-03-10 23:45 ` sgn
2021-03-10 23:45 ` sgn
2021-03-25 0:00 ` [PR PATCH] [Merged]: " sgn
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=20210305011216.ngYNcxPlWuXBvCHC2c3-q4PjKEK9S6jnaYuPTY2_Az4@z \
--to=sgn@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).