Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: "Raphaël Mélotte" <raphael.melotte@mind.be>
Cc: James Hilliard <james.hilliard1@gmail.com>,
	Asaf Kahlon <asafka7@gmail.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v2 1/4] package/python-sdbus: new package
Date: Mon, 16 Sep 2024 13:30:56 +0200	[thread overview]
Message-ID: <ZugW8GmgdWxAelIF@landeda> (raw)
In-Reply-To: <20240705091409.3370272-1-raphael.melotte@mind.be>

Raphaël, All,

On 2024-07-05 11:14 +0200, Raphaël Mélotte via buildroot spake thusly:
> Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>

Series of 4 patches applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
> Changes v1 -> v2:
>   - Fix license.
>   - Add comment when systemd is not available.
> 
>  DEVELOPERS                             |  1 +
>  package/Config.in                      |  1 +
>  package/python-sdbus/Config.in         | 11 +++++++++++
>  package/python-sdbus/python-sdbus.hash |  5 +++++
>  package/python-sdbus/python-sdbus.mk   | 19 +++++++++++++++++++
>  5 files changed, 37 insertions(+)
>  create mode 100644 package/python-sdbus/Config.in
>  create mode 100644 package/python-sdbus/python-sdbus.hash
>  create mode 100644 package/python-sdbus/python-sdbus.mk
> 
> diff --git a/DEVELOPERS b/DEVELOPERS
> index 8a5cceba78..0d58df7d50 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -2668,6 +2668,7 @@ F:	package/python-jmespath/
>  F:	package/python-pymupdf/
>  F:	package/python-rsa/
>  F:	package/python-s3transfer/
> +F:	package/python-sdbus/
>  F:	support/testing/tests/package/sample_python_jmespath.py
>  F:	support/testing/tests/package/sample_python_rsa.py
>  F:	support/testing/tests/package/sample_python_s3transfer.py
> diff --git a/package/Config.in b/package/Config.in
> index 550fdc1f41..45d8a8c7ec 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -1334,6 +1334,7 @@ menu "External python modules"
>  	source "package/python-scapy/Config.in"
>  	source "package/python-schedule/Config.in"
>  	source "package/python-scipy/Config.in"
> +	source "package/python-sdbus/Config.in"
>  	source "package/python-sdnotify/Config.in"
>  	source "package/python-secretstorage/Config.in"
>  	source "package/python-see/Config.in"
> diff --git a/package/python-sdbus/Config.in b/package/python-sdbus/Config.in
> new file mode 100644
> index 0000000000..b2d3990ab4
> --- /dev/null
> +++ b/package/python-sdbus/Config.in
> @@ -0,0 +1,11 @@
> +config BR2_PACKAGE_PYTHON_SDBUS
> +	bool "python-sdbus"
> +	depends on BR2_PACKAGE_SYSTEMD # required to get sd-bus
> +	help
> +	  Modern Python D-Bus library. Based on sd-bus from
> +	  libsystemd.
> +
> +	  https://github.com/igo95862/python-sdbus
> +
> +comment "python-sdbus needs systemd"
> +	depends on !BR2_PACKAGE_SYSTEMD
> diff --git a/package/python-sdbus/python-sdbus.hash b/package/python-sdbus/python-sdbus.hash
> new file mode 100644
> index 0000000000..13c8c2bb5f
> --- /dev/null
> +++ b/package/python-sdbus/python-sdbus.hash
> @@ -0,0 +1,5 @@
> +# md5, sha256 from https://pypi.org/pypi/sdbus/json
> +md5  46d3ea00a491c2eec2a25ccf61b8a77a  sdbus-0.12.0.tar.gz
> +sha256  c3692d75704438a78adc1439350bc32f30d6b38ad344cfc94773db89c6ce4a89  sdbus-0.12.0.tar.gz
> +# Locally computed sha256 checksums
> +sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
> diff --git a/package/python-sdbus/python-sdbus.mk b/package/python-sdbus/python-sdbus.mk
> new file mode 100644
> index 0000000000..0b3ea37b30
> --- /dev/null
> +++ b/package/python-sdbus/python-sdbus.mk
> @@ -0,0 +1,19 @@
> +################################################################################
> +#
> +# python-sdbus
> +#
> +################################################################################
> +
> +PYTHON_SDBUS_VERSION = 0.12.0
> +PYTHON_SDBUS_SOURCE = sdbus-$(PYTHON_SDBUS_VERSION).tar.gz
> +PYTHON_SDBUS_SITE = https://files.pythonhosted.org/packages/8e/39/3d49f0d18dcba3344af756f31e4408e7de50b3df86fa3f3ea6f604402f16
> +PYTHON_SDBUS_SETUP_TYPE = setuptools
> +PYTHON_SDBUS_LICENSE = LGPL-2.1+
> +PYTHON_SDBUS_LICENSE_FILES = COPYING
> +PYTHON_SDBUS_DEPENDENCIES = systemd
> +
> +ifeq ($(BR2_STATIC_LIBS),y)
> +PYTHON_SDBUS_ENV += PYTHON_SDBUS_USE_STATIC_LINK=1
> +endif
> +
> +$(eval $(python-package))
> -- 
> 2.37.3
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      parent reply	other threads:[~2024-09-16 11:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-01 14:57 [Buildroot] [PATCH 1/4] package/python-sdbus: new package Raphaël Mélotte via buildroot
2024-07-01 14:57 ` [Buildroot] [PATCH 2/4] support/testing: add new test for python-sdbus Raphaël Mélotte via buildroot
2024-07-01 14:57 ` [Buildroot] [PATCH 3/4] package/python-sdbus-networkmanager: new package Raphaël Mélotte via buildroot
2024-07-03 21:38   ` Romain Naour via buildroot
2024-07-01 14:57 ` [Buildroot] [PATCH 4/4] support/testing: add new test for python-sdbus-networkmanager Raphaël Mélotte via buildroot
2024-07-03 21:32 ` [Buildroot] [PATCH 1/4] package/python-sdbus: new package Romain Naour via buildroot
2024-07-05  9:18   ` Raphaël Mélotte via buildroot
2024-07-05  9:14 ` [Buildroot] [PATCH v2 " Raphaël Mélotte via buildroot
2024-07-05  9:14   ` [Buildroot] [PATCH v2 2/4] support/testing: add new test for python-sdbus Raphaël Mélotte via buildroot
2024-07-05  9:14   ` [Buildroot] [PATCH v2 3/4] package/python-sdbus-networkmanager: new package Raphaël Mélotte via buildroot
2024-09-16 11:17     ` Yann E. MORIN
2024-09-16 11:32       ` Yann E. MORIN
2024-07-05  9:14   ` [Buildroot] [PATCH v2 4/4] support/testing: add new test for python-sdbus-networkmanager Raphaël Mélotte via buildroot
2024-09-16 11:30   ` Yann E. MORIN [this message]

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=ZugW8GmgdWxAelIF@landeda \
    --to=yann.morin.1998@free.fr \
    --cc=asafka7@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=james.hilliard1@gmail.com \
    --cc=raphael.melotte@mind.be \
    --cc=thomas.petazzoni@bootlin.com \
    /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