* [PR PATCH] python-dbus: split python3-dbus subpackage, update python3-dbus to 1.3.2.
@ 2023-06-15 20:05 mhmdanas
2023-07-04 16:05 ` [PR PATCH] [Updated] " mhmdanas
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: mhmdanas @ 2023-06-15 20:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1278 bytes --]
There is a new pull request by mhmdanas against master on the void-packages repository
https://github.com/mhmdanas/void-packages python-dbus-1.3.2
https://github.com/void-linux/void-packages/pull/44457
python-dbus: split python3-dbus subpackage, update python3-dbus to 1.3.2.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- 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/44457.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python-dbus-1.3.2-44457.patch --]
[-- Type: text/x-diff, Size: 5027 bytes --]
From 143de124e58e46bff15a4aaea6180aec53e42dd3 Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Thu, 15 Jun 2023 20:10:09 +0100
Subject: [PATCH] python-dbus: split python3-dbus subpackage, update
python3-dbus to 1.3.2.
---
srcpkgs/python-dbus/template | 81 ++++-------------------------------
srcpkgs/python3-dbus | 1 -
srcpkgs/python3-dbus-devel | 2 +-
srcpkgs/python3-dbus/template | 33 ++++++++++++++
4 files changed, 42 insertions(+), 75 deletions(-)
delete mode 120000 srcpkgs/python3-dbus
create mode 100644 srcpkgs/python3-dbus/template
diff --git a/srcpkgs/python-dbus/template b/srcpkgs/python-dbus/template
index 2dd33f5437b2..00ff9a68bfd3 100644
--- a/srcpkgs/python-dbus/template
+++ b/srcpkgs/python-dbus/template
@@ -3,8 +3,8 @@ pkgname=python-dbus
version=1.2.18
revision=3
build_style=gnu-configure
-hostmakedepends="pkg-config python python3"
-makedepends="libglib-devel python3-devel python-devel"
+hostmakedepends="pkg-config python"
+makedepends="libglib-devel python-devel"
depends="python dbus"
short_desc="D-Bus Python2 bindings"
maintainer="Orphaned <orphan@voidlinux.org>"
@@ -14,77 +14,12 @@ distfiles="https://dbus.freedesktop.org/releases/dbus-python/dbus-python-${versi
checksum=92bdd1e68b45596c833307a5ff4b217ee6929a1502f5341bae28fd120acf7260
lib32disabled=yes
-pre_configure() {
- mkdir -p dbus-${py2_ver}
- mv * dbus-${py2_ver} || true
- cp -a dbus-${py2_ver} dbus-${py3_ver}
-}
-
-do_configure() {
- local py_abiver py_inc pyver
- for pyver in $py2_ver $py3_ver; do
- case "${pyver}" in
- "${py2_ver}")
- py_inc="$py2_inc"
- ;;
- *)
- py_inc="$py3_inc"
- py_abiver="$py3_abiver"
- ;;
- esac
-
- export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/${py_inc}"
- export PYTHON_EXTRA_LIBS="-L${XBPS_CROSS_BASE}/usr/lib -lpython${pyver}${py_abiver}"
- export PYTHON_VERSION="${pyver}"
-
- ( cd dbus-${pyver} && ./configure ${configure_args} )
-
- done
-
- unset PYTHON_CPPFLAGS PYTHON_EXTRA_LIBS PYTHON_VERSION
-}
+export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/${py2_inc}"
+export PYTHON_EXTRA_LIBS="-L${XBPS_CROSS_BASE}/usr/lib -lpython${py2_ver}"
+export PYTHON_VERSION="${py2_ver}"
-do_build() {
- local pyver
- for pyver in $py2_ver $py3_ver; do
- ( cd dbus-${pyver} && make ${makejobs} )
- done
-}
-
-do_install() {
- local pyver pysite eggver
- for pyver in $py2_ver $py3_ver; do
- case "${pyver}" in
- "${py2_ver}") pysite="${py2_sitelib}" ;;
- *) pysite="${py3_sitelib}" ;;
- esac
-
- eggver="dbus_python-${version}-py${pyver}"
- (
- cd dbus-${pyver}
- make DESTDIR=${DESTDIR} install
- vcopy dbus_python.egg-info "${pysite}/${eggver}.egg-info"
- )
- done
-
- vlicense dbus-${py2_ver}/COPYING
-}
-
-python3-dbus_package() {
- lib32disabled=yes
- depends="python3 dbus"
- short_desc="${short_desc/Python2/Python3}"
- pkg_install() {
- vmove usr/lib/python3*
- vlicense dbus-${py3_ver}/COPYING
- }
-}
+post_install() {
+ vcopy dbus_python.egg-info "${py2_sitelib}/dbus_python-${version}-py${py2_ver}.egg-info"
-python3-dbus-devel_package() {
- depends="python3-devel python3-dbus>=${version}_${revision}"
- short_desc="${short_desc/Python2/Python3} - development files"
- pkg_install() {
- vmove usr/include
- vmove usr/lib/pkgconfig
- }
+ vlicense COPYING
}
diff --git a/srcpkgs/python3-dbus b/srcpkgs/python3-dbus
deleted file mode 120000
index 082b5c2fc193..000000000000
--- a/srcpkgs/python3-dbus
+++ /dev/null
@@ -1 +0,0 @@
-python-dbus
\ No newline at end of file
diff --git a/srcpkgs/python3-dbus-devel b/srcpkgs/python3-dbus-devel
index 082b5c2fc193..5fe29e0f2f2e 120000
--- a/srcpkgs/python3-dbus-devel
+++ b/srcpkgs/python3-dbus-devel
@@ -1 +1 @@
-python-dbus
\ No newline at end of file
+python3-dbus
\ No newline at end of file
diff --git a/srcpkgs/python3-dbus/template b/srcpkgs/python3-dbus/template
new file mode 100644
index 000000000000..58be741e953d
--- /dev/null
+++ b/srcpkgs/python3-dbus/template
@@ -0,0 +1,33 @@
+# Template file for 'python3-dbus'
+pkgname=python3-dbus
+version=1.3.2
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config python3"
+makedepends="libglib-devel python3-devel"
+depends="python3 dbus"
+short_desc="D-Bus Python3 bindings"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="MIT"
+homepage="https://www.freedesktop.org/wiki/Software/DBusBindings"
+distfiles="https://dbus.freedesktop.org/releases/dbus-python/dbus-python-${version}.tar.gz"
+checksum=ad67819308618b5069537be237f8e68ca1c7fcc95ee4a121fe6845b1418248f8
+lib32disabled=yes
+
+export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/${py3_inc}"
+export PYTHON_EXTRA_LIBS="-L${XBPS_CROSS_BASE}/usr/lib -lpython${py3_ver}${py3_abiver}"
+
+post_install() {
+ vcopy dbus_python.egg-info "${py3_sitelib}/dbus_python-${version}-py${py3_ver}.egg-info"
+
+ vlicense COPYING
+}
+
+python3-dbus-devel_package() {
+ depends="python3-devel python3-dbus>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ }
+}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR PATCH] [Updated] python-dbus: split python3-dbus subpackage, update python3-dbus to 1.3.2.
2023-06-15 20:05 [PR PATCH] python-dbus: split python3-dbus subpackage, update python3-dbus to 1.3.2 mhmdanas
@ 2023-07-04 16:05 ` mhmdanas
2023-08-10 21:08 ` mhmdanas
2023-08-25 23:57 ` [PR PATCH] [Merged]: " ahesford
2 siblings, 0 replies; 4+ messages in thread
From: mhmdanas @ 2023-07-04 16:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1283 bytes --]
There is an updated pull request by mhmdanas against master on the void-packages repository
https://github.com/mhmdanas/void-packages python-dbus-1.3.2
https://github.com/void-linux/void-packages/pull/44457
python-dbus: split python3-dbus subpackage, update python3-dbus to 1.3.2.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- 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/44457.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python-dbus-1.3.2-44457.patch --]
[-- Type: text/x-diff, Size: 5129 bytes --]
From a3caff16c678d60376db4d42f54b8ad1b54bf76f Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Thu, 15 Jun 2023 20:10:09 +0100
Subject: [PATCH] python-dbus: split python3-dbus subpackage, update
python3-dbus to 1.3.2.
---
srcpkgs/python-dbus/template | 82 ++++-------------------------------
srcpkgs/python3-dbus | 1 -
srcpkgs/python3-dbus-devel | 2 +-
srcpkgs/python3-dbus/template | 34 +++++++++++++++
4 files changed, 44 insertions(+), 75 deletions(-)
delete mode 120000 srcpkgs/python3-dbus
create mode 100644 srcpkgs/python3-dbus/template
diff --git a/srcpkgs/python-dbus/template b/srcpkgs/python-dbus/template
index 2dd33f5437b2..ab7cf4a9b775 100644
--- a/srcpkgs/python-dbus/template
+++ b/srcpkgs/python-dbus/template
@@ -3,9 +3,10 @@ pkgname=python-dbus
version=1.2.18
revision=3
build_style=gnu-configure
-hostmakedepends="pkg-config python python3"
-makedepends="libglib-devel python3-devel python-devel"
+hostmakedepends="pkg-config python"
+makedepends="libglib-devel python-devel"
depends="python dbus"
+checkdepends="${depends} python-gobject"
short_desc="D-Bus Python2 bindings"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
@@ -14,77 +15,12 @@ distfiles="https://dbus.freedesktop.org/releases/dbus-python/dbus-python-${versi
checksum=92bdd1e68b45596c833307a5ff4b217ee6929a1502f5341bae28fd120acf7260
lib32disabled=yes
-pre_configure() {
- mkdir -p dbus-${py2_ver}
- mv * dbus-${py2_ver} || true
- cp -a dbus-${py2_ver} dbus-${py3_ver}
-}
-
-do_configure() {
- local py_abiver py_inc pyver
- for pyver in $py2_ver $py3_ver; do
- case "${pyver}" in
- "${py2_ver}")
- py_inc="$py2_inc"
- ;;
- *)
- py_inc="$py3_inc"
- py_abiver="$py3_abiver"
- ;;
- esac
-
- export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/${py_inc}"
- export PYTHON_EXTRA_LIBS="-L${XBPS_CROSS_BASE}/usr/lib -lpython${pyver}${py_abiver}"
- export PYTHON_VERSION="${pyver}"
-
- ( cd dbus-${pyver} && ./configure ${configure_args} )
-
- done
-
- unset PYTHON_CPPFLAGS PYTHON_EXTRA_LIBS PYTHON_VERSION
-}
+export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/${py2_inc}"
+export PYTHON_EXTRA_LIBS="-L${XBPS_CROSS_BASE}/usr/lib -lpython${py2_ver}"
+export PYTHON_VERSION="${py2_ver}"
-do_build() {
- local pyver
- for pyver in $py2_ver $py3_ver; do
- ( cd dbus-${pyver} && make ${makejobs} )
- done
-}
-
-do_install() {
- local pyver pysite eggver
- for pyver in $py2_ver $py3_ver; do
- case "${pyver}" in
- "${py2_ver}") pysite="${py2_sitelib}" ;;
- *) pysite="${py3_sitelib}" ;;
- esac
-
- eggver="dbus_python-${version}-py${pyver}"
- (
- cd dbus-${pyver}
- make DESTDIR=${DESTDIR} install
- vcopy dbus_python.egg-info "${pysite}/${eggver}.egg-info"
- )
- done
-
- vlicense dbus-${py2_ver}/COPYING
-}
-
-python3-dbus_package() {
- lib32disabled=yes
- depends="python3 dbus"
- short_desc="${short_desc/Python2/Python3}"
- pkg_install() {
- vmove usr/lib/python3*
- vlicense dbus-${py3_ver}/COPYING
- }
-}
+post_install() {
+ vcopy dbus_python.egg-info "${py2_sitelib}/dbus_python-${version}-py${py2_ver}.egg-info"
-python3-dbus-devel_package() {
- depends="python3-devel python3-dbus>=${version}_${revision}"
- short_desc="${short_desc/Python2/Python3} - development files"
- pkg_install() {
- vmove usr/include
- vmove usr/lib/pkgconfig
- }
+ vlicense COPYING
}
diff --git a/srcpkgs/python3-dbus b/srcpkgs/python3-dbus
deleted file mode 120000
index 082b5c2fc193..000000000000
--- a/srcpkgs/python3-dbus
+++ /dev/null
@@ -1 +0,0 @@
-python-dbus
\ No newline at end of file
diff --git a/srcpkgs/python3-dbus-devel b/srcpkgs/python3-dbus-devel
index 082b5c2fc193..5fe29e0f2f2e 120000
--- a/srcpkgs/python3-dbus-devel
+++ b/srcpkgs/python3-dbus-devel
@@ -1 +1 @@
-python-dbus
\ No newline at end of file
+python3-dbus
\ No newline at end of file
diff --git a/srcpkgs/python3-dbus/template b/srcpkgs/python3-dbus/template
new file mode 100644
index 000000000000..14da7e4e86e7
--- /dev/null
+++ b/srcpkgs/python3-dbus/template
@@ -0,0 +1,34 @@
+# Template file for 'python3-dbus'
+pkgname=python3-dbus
+version=1.3.2
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config python3"
+makedepends="libglib-devel python3-devel"
+depends="python3 dbus"
+checkdepends="${depends} python3-gobject"
+short_desc="D-Bus Python3 bindings"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="MIT"
+homepage="https://www.freedesktop.org/wiki/Software/DBusBindings"
+distfiles="https://dbus.freedesktop.org/releases/dbus-python/dbus-python-${version}.tar.gz"
+checksum=ad67819308618b5069537be237f8e68ca1c7fcc95ee4a121fe6845b1418248f8
+lib32disabled=yes
+
+export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/${py3_inc}"
+export PYTHON_EXTRA_LIBS="-L${XBPS_CROSS_BASE}/usr/lib -lpython${py3_ver}${py3_abiver}"
+
+post_install() {
+ vcopy dbus_python.egg-info "${py3_sitelib}/dbus_python-${version}-py${py3_ver}.egg-info"
+
+ vlicense COPYING
+}
+
+python3-dbus-devel_package() {
+ depends="python3-devel python3-dbus>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ }
+}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR PATCH] [Updated] python-dbus: split python3-dbus subpackage, update python3-dbus to 1.3.2.
2023-06-15 20:05 [PR PATCH] python-dbus: split python3-dbus subpackage, update python3-dbus to 1.3.2 mhmdanas
2023-07-04 16:05 ` [PR PATCH] [Updated] " mhmdanas
@ 2023-08-10 21:08 ` mhmdanas
2023-08-25 23:57 ` [PR PATCH] [Merged]: " ahesford
2 siblings, 0 replies; 4+ messages in thread
From: mhmdanas @ 2023-08-10 21:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1283 bytes --]
There is an updated pull request by mhmdanas against master on the void-packages repository
https://github.com/mhmdanas/void-packages python-dbus-1.3.2
https://github.com/void-linux/void-packages/pull/44457
python-dbus: split python3-dbus subpackage, update python3-dbus to 1.3.2.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- 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/44457.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python-dbus-1.3.2-44457.patch --]
[-- Type: text/x-diff, Size: 5279 bytes --]
From 5ee487ccd481ecd5ee4d5027258c3fb3fc69d761 Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Thu, 15 Jun 2023 20:10:09 +0100
Subject: [PATCH] python-dbus: split python3-dbus subpackage, update
python3-dbus to 1.3.2.
---
srcpkgs/python-dbus/template | 84 +++++------------------------------
srcpkgs/python3-dbus | 1 -
srcpkgs/python3-dbus-devel | 2 +-
srcpkgs/python3-dbus/template | 34 ++++++++++++++
4 files changed, 47 insertions(+), 74 deletions(-)
delete mode 120000 srcpkgs/python3-dbus
create mode 100644 srcpkgs/python3-dbus/template
diff --git a/srcpkgs/python-dbus/template b/srcpkgs/python-dbus/template
index 2dd33f5437b24..df5a176e1673f 100644
--- a/srcpkgs/python-dbus/template
+++ b/srcpkgs/python-dbus/template
@@ -3,9 +3,10 @@ pkgname=python-dbus
version=1.2.18
revision=3
build_style=gnu-configure
-hostmakedepends="pkg-config python python3"
-makedepends="libglib-devel python3-devel python-devel"
+hostmakedepends="pkg-config python"
+makedepends="libglib-devel python-devel"
depends="python dbus"
+checkdepends="${depends} python-gobject"
short_desc="D-Bus Python2 bindings"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
@@ -14,77 +15,16 @@ distfiles="https://dbus.freedesktop.org/releases/dbus-python/dbus-python-${versi
checksum=92bdd1e68b45596c833307a5ff4b217ee6929a1502f5341bae28fd120acf7260
lib32disabled=yes
-pre_configure() {
- mkdir -p dbus-${py2_ver}
- mv * dbus-${py2_ver} || true
- cp -a dbus-${py2_ver} dbus-${py3_ver}
-}
-
-do_configure() {
- local py_abiver py_inc pyver
- for pyver in $py2_ver $py3_ver; do
- case "${pyver}" in
- "${py2_ver}")
- py_inc="$py2_inc"
- ;;
- *)
- py_inc="$py3_inc"
- py_abiver="$py3_abiver"
- ;;
- esac
-
- export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/${py_inc}"
- export PYTHON_EXTRA_LIBS="-L${XBPS_CROSS_BASE}/usr/lib -lpython${pyver}${py_abiver}"
- export PYTHON_VERSION="${pyver}"
-
- ( cd dbus-${pyver} && ./configure ${configure_args} )
+export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/${py2_inc}"
+export PYTHON_EXTRA_LIBS="-L${XBPS_CROSS_BASE}/usr/lib -lpython${py2_ver}"
+export PYTHON_VERSION="${py2_ver}"
- done
+post_install() {
+ vcopy dbus_python.egg-info "${py2_sitelib}/dbus_python-${version}-py${py2_ver}.egg-info"
- unset PYTHON_CPPFLAGS PYTHON_EXTRA_LIBS PYTHON_VERSION
-}
-
-do_build() {
- local pyver
- for pyver in $py2_ver $py3_ver; do
- ( cd dbus-${pyver} && make ${makejobs} )
- done
-}
-
-do_install() {
- local pyver pysite eggver
- for pyver in $py2_ver $py3_ver; do
- case "${pyver}" in
- "${py2_ver}") pysite="${py2_sitelib}" ;;
- *) pysite="${py3_sitelib}" ;;
- esac
-
- eggver="dbus_python-${version}-py${pyver}"
- (
- cd dbus-${pyver}
- make DESTDIR=${DESTDIR} install
- vcopy dbus_python.egg-info "${pysite}/${eggver}.egg-info"
- )
- done
-
- vlicense dbus-${py2_ver}/COPYING
-}
-
-python3-dbus_package() {
- lib32disabled=yes
- depends="python3 dbus"
- short_desc="${short_desc/Python2/Python3}"
- pkg_install() {
- vmove usr/lib/python3*
- vlicense dbus-${py3_ver}/COPYING
- }
-}
+ vlicense COPYING
-python3-dbus-devel_package() {
- depends="python3-devel python3-dbus>=${version}_${revision}"
- short_desc="${short_desc/Python2/Python3} - development files"
- pkg_install() {
- vmove usr/include
- vmove usr/lib/pkgconfig
- }
+ # Conflict with python3-dbus-devel.
+ rm ${DESTDIR}/usr/include/dbus-1.0/dbus/dbus-python.h \
+ ${DESTDIR}/usr/lib/pkgconfig/dbus-python.pc
}
diff --git a/srcpkgs/python3-dbus b/srcpkgs/python3-dbus
deleted file mode 120000
index 082b5c2fc1939..0000000000000
--- a/srcpkgs/python3-dbus
+++ /dev/null
@@ -1 +0,0 @@
-python-dbus
\ No newline at end of file
diff --git a/srcpkgs/python3-dbus-devel b/srcpkgs/python3-dbus-devel
index 082b5c2fc1939..5fe29e0f2f2ed 120000
--- a/srcpkgs/python3-dbus-devel
+++ b/srcpkgs/python3-dbus-devel
@@ -1 +1 @@
-python-dbus
\ No newline at end of file
+python3-dbus
\ No newline at end of file
diff --git a/srcpkgs/python3-dbus/template b/srcpkgs/python3-dbus/template
new file mode 100644
index 0000000000000..14da7e4e86e7d
--- /dev/null
+++ b/srcpkgs/python3-dbus/template
@@ -0,0 +1,34 @@
+# Template file for 'python3-dbus'
+pkgname=python3-dbus
+version=1.3.2
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config python3"
+makedepends="libglib-devel python3-devel"
+depends="python3 dbus"
+checkdepends="${depends} python3-gobject"
+short_desc="D-Bus Python3 bindings"
+maintainer="Orphaned <orphan@voidlinux.org>"
+license="MIT"
+homepage="https://www.freedesktop.org/wiki/Software/DBusBindings"
+distfiles="https://dbus.freedesktop.org/releases/dbus-python/dbus-python-${version}.tar.gz"
+checksum=ad67819308618b5069537be237f8e68ca1c7fcc95ee4a121fe6845b1418248f8
+lib32disabled=yes
+
+export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/${py3_inc}"
+export PYTHON_EXTRA_LIBS="-L${XBPS_CROSS_BASE}/usr/lib -lpython${py3_ver}${py3_abiver}"
+
+post_install() {
+ vcopy dbus_python.egg-info "${py3_sitelib}/dbus_python-${version}-py${py3_ver}.egg-info"
+
+ vlicense COPYING
+}
+
+python3-dbus-devel_package() {
+ depends="python3-devel python3-dbus>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove usr/lib/pkgconfig
+ }
+}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PR PATCH] [Merged]: python-dbus: split python3-dbus subpackage, update python3-dbus to 1.3.2.
2023-06-15 20:05 [PR PATCH] python-dbus: split python3-dbus subpackage, update python3-dbus to 1.3.2 mhmdanas
2023-07-04 16:05 ` [PR PATCH] [Updated] " mhmdanas
2023-08-10 21:08 ` mhmdanas
@ 2023-08-25 23:57 ` ahesford
2 siblings, 0 replies; 4+ messages in thread
From: ahesford @ 2023-08-25 23:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1115 bytes --]
There's a merged pull request on the void-packages repository
python-dbus: split python3-dbus subpackage, update python3-dbus to 1.3.2.
https://github.com/void-linux/void-packages/pull/44457
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- 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
-->
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-08-25 23:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-15 20:05 [PR PATCH] python-dbus: split python3-dbus subpackage, update python3-dbus to 1.3.2 mhmdanas
2023-07-04 16:05 ` [PR PATCH] [Updated] " mhmdanas
2023-08-10 21:08 ` mhmdanas
2023-08-25 23:57 ` [PR PATCH] [Merged]: " ahesford
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).