Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Split python3-dbus-devel
@ 2021-03-05  1:03 sgn
  2021-03-05  1:08 ` [PR PATCH] [Updated] " sgn
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: sgn @ 2021-03-05  1:03 UTC (permalink / raw)
  To: ml

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

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

From 2007f93090563c43a5feeb9bbb980669fb26a62b 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 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python-dbus/template b/srcpkgs/python-dbus/template
index ee6b9ddb79f..a682f49b70b 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_package>=${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

From b22a3724f242410772051f808db9e86060fc2e91 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 0d707a8ae27ab554505207d37cd479591fefab1b 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 0a0d7725e046471921dbb1ff4a3c8779cc1905d8 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>"

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

end of thread, other threads:[~2021-03-25  0:00 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-05  1:03 [PR PATCH] Split python3-dbus-devel sgn
2021-03-05  1:08 ` [PR PATCH] [Updated] " sgn
2021-03-05  1:12 ` sgn
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

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).