Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Uladzimir Bely <wiselord1983@gmail.com>
To: buildroot@buildroot.org
Subject: [Buildroot] [PATCH] package/python-mpd2: new package
Date: Thu,  6 Jan 2022 02:15:43 +0300	[thread overview]
Message-ID: <20220105231543.22467-1-wiselord1983@gmail.com> (raw)

A client interface for the Music Player Daemon.

Signed-off-by: Uladzimir Bely <wiselord1983@gmail.com>
---
 package/Config.in                    |  1 +
 package/python-mpd2/Config.in        |  8 ++++++++
 package/python-mpd2/python-mpd2.hash |  5 +++++
 package/python-mpd2/python-mpd2.mk   | 13 +++++++++++++
 4 files changed, 27 insertions(+)
 create mode 100644 package/python-mpd2/Config.in
 create mode 100644 package/python-mpd2/python-mpd2.hash
 create mode 100644 package/python-mpd2/python-mpd2.mk

diff --git a/package/Config.in b/package/Config.in
index 7148639735..b9dc9b49e7 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1091,6 +1091,7 @@ menu "External python modules"
 	source "package/python-mistune/Config.in"
 	source "package/python-modbus-tk/Config.in"
 	source "package/python-more-itertools/Config.in"
+	source "package/python-mpd2/Config.in"
 	source "package/python-msgfy/Config.in"
 	source "package/python-msgpack/Config.in"
 	source "package/python-multidict/Config.in"
diff --git a/package/python-mpd2/Config.in b/package/python-mpd2/Config.in
new file mode 100644
index 0000000000..015ca47610
--- /dev/null
+++ b/package/python-mpd2/Config.in
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_MPD2
+	bool "python-mpd2"
+	depends on BR2_PACKAGE_PYTHON3
+	select BR2_PACKAGE_MPD # runtime
+	help
+	  A Python MPD client library.
+
+	  https://github.com/Mic92/python-mpd2
diff --git a/package/python-mpd2/python-mpd2.hash b/package/python-mpd2/python-mpd2.hash
new file mode 100644
index 0000000000..83487257ee
--- /dev/null
+++ b/package/python-mpd2/python-mpd2.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/python-mpd2/json
+md5  e31c6063e9c2e029a26b0815cd08b05e  python-mpd2-3.0.4.tar.gz
+sha256  7a67834e22d97e7cd77f8951c8baf87c149285c67d67d73550ce034302561ae5  python-mpd2-3.0.4.tar.gz
+# Locally computed sha256 checksums
+sha256  da7eabb7bafdf7d3ae5e9f223aa5bdc1eece45ac569dc21b3b037520b4464768  LICENSE.txt
diff --git a/package/python-mpd2/python-mpd2.mk b/package/python-mpd2/python-mpd2.mk
new file mode 100644
index 0000000000..6a7358e8cd
--- /dev/null
+++ b/package/python-mpd2/python-mpd2.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# python-mpd2
+#
+################################################################################
+
+PYTHON_MPD2_VERSION = 3.0.4
+PYTHON_MPD2_SITE = https://files.pythonhosted.org/packages/ad/92/bec26455a3a6d6146bcf2a974f5c3509d451306413b386fc12b037d9e3b0
+PYTHON_MPD2_SETUP_TYPE = setuptools
+PYTHON_MPD2_LICENSE = GNU Library or Lesser General Public License (LGPL)
+PYTHON_MPD2_LICENSE_FILES = LICENSE.txt
+
+$(eval $(python-package))
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

             reply	other threads:[~2022-01-05 23:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-05 23:15 Uladzimir Bely [this message]
2022-01-07 20:50 ` [Buildroot] [PATCH] package/python-mpd2: new package Peter Korsgaard

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=20220105231543.22467-1-wiselord1983@gmail.com \
    --to=wiselord1983@gmail.com \
    --cc=buildroot@buildroot.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