Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Asaf Kahlon <asafka7@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/4] python-ply: new package
Date: Sat, 22 Sep 2018 22:36:29 +0300	[thread overview]
Message-ID: <20180922193631.14369-2-asafka7@gmail.com> (raw)
In-Reply-To: <20180922193631.14369-1-asafka7@gmail.com>

No license file was found in the repo and README.md seems
to be the closest (license type was mentioned in setup.py).

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
---
 DEVELOPERS                         |  1 +
 package/Config.in                  |  1 +
 package/python-ply/Config.in       |  6 ++++++
 package/python-ply/python-ply.hash |  5 +++++
 package/python-ply/python-ply.mk   | 14 ++++++++++++++
 5 files changed, 27 insertions(+)
 create mode 100644 package/python-ply/Config.in
 create mode 100644 package/python-ply/python-ply.hash
 create mode 100644 package/python-ply/python-ply.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 4c49cc3908..03ea952377 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -204,6 +204,7 @@ F:	package/python-engineio/
 F:	package/python-fire/
 F:	package/python-jsonmodels/
 F:	package/python-paramiko/
+F:	package/python-ply/
 F:	package/python-pyasn1/
 F:	package/python-pycryptodomex/
 F:	package/python-pyroute2/
diff --git a/package/Config.in b/package/Config.in
index 826182cdb3..cdfdcbe726 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -907,6 +907,7 @@ menu "External python modules"
 	source "package/python-pickleshare/Config.in"
 	source "package/python-pillow/Config.in"
 	source "package/python-pip/Config.in"
+	source "package/python-ply/Config.in"
 	source "package/python-portend/Config.in"
 	source "package/python-posix-ipc/Config.in"
 	source "package/python-priority/Config.in"
diff --git a/package/python-ply/Config.in b/package/python-ply/Config.in
new file mode 100644
index 0000000000..d6d265ad1c
--- /dev/null
+++ b/package/python-ply/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_PLY
+	bool "python-ply"
+	help
+	  Python Lex & Yacc.
+
+	  http://www.dabeaz.com/ply/
diff --git a/package/python-ply/python-ply.hash b/package/python-ply/python-ply.hash
new file mode 100644
index 0000000000..1eba3b0ffe
--- /dev/null
+++ b/package/python-ply/python-ply.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/ply/json
+md5	6465f602e656455affcd7c5734c638f8  ply-3.11.tar.gz
+sha256	00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3  ply-3.11.tar.gz
+# Locally computed sha256 checksums
+sha256	1095b93b81d2043c5c55e0859875b416f75edb6d5eccb4bf2ace1b5445d1c84f  README.md
diff --git a/package/python-ply/python-ply.mk b/package/python-ply/python-ply.mk
new file mode 100644
index 0000000000..bf4c9d6a4f
--- /dev/null
+++ b/package/python-ply/python-ply.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-ply
+#
+################################################################################
+
+PYTHON_PLY_VERSION = 3.11
+PYTHON_PLY_SOURCE = ply-$(PYTHON_PLY_VERSION).tar.gz
+PYTHON_PLY_SITE = https://files.pythonhosted.org/packages/e5/69/882ee5c9d017149285cab114ebeab373308ef0f874fcdac9beb90e0ac4da
+PYTHON_PLY_SETUP_TYPE = setuptools
+PYTHON_PLY_LICENSE = BSD
+PYTHON_PLY_LICENSE_FILES = README.md
+
+$(eval $(python-package))
-- 
2.17.1

  reply	other threads:[~2018-09-22 19:36 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-22 19:36 [Buildroot] [PATCH 1/4] python-pycryptodomex: new package Asaf Kahlon
2018-09-22 19:36 ` Asaf Kahlon [this message]
2018-10-09 19:27   ` [Buildroot] [PATCH 2/4] python-ply: " Thomas Petazzoni
2018-10-09 19:39     ` Yegor Yefremov
2018-10-09 19:47       ` Asaf Kahlon
2018-09-22 19:36 ` [Buildroot] [PATCH 3/4] python-pysmi: " Asaf Kahlon
2018-10-09 19:35   ` Thomas Petazzoni
2018-09-22 19:36 ` [Buildroot] [PATCH 4/4] python-pysnmp: bump to version 4.4.6 Asaf Kahlon
2018-10-09 19:37   ` Thomas Petazzoni
2018-10-09 19:54     ` Asaf Kahlon
2018-10-09 20:00       ` Thomas Petazzoni
2018-10-10  3:37         ` Asaf Kahlon
2018-10-10 12:29   ` Thomas Petazzoni
2018-10-09 13:56 ` [Buildroot] [PATCH 1/4] python-pycryptodomex: new package Thomas Petazzoni
2018-10-09 20:19   ` Yann E. MORIN
2018-10-10 21:13     ` Arnout Vandecappelle
2018-10-11  6:54       ` Thomas Petazzoni
2018-10-10 12:28 ` Thomas Petazzoni

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=20180922193631.14369-2-asafka7@gmail.com \
    --to=asafka7@gmail.com \
    --cc=buildroot@busybox.net \
    /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