From: Asaf Kahlon <asafka7@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] package/python-backports-functools-lru-cache: new pacakge
Date: Fri, 11 Oct 2019 11:35:22 +0300 [thread overview]
Message-ID: <20191011083527.26140-1-asafka7@gmail.com> (raw)
Backport of functools.lru_cache from Python 3.3.
Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
---
package/Config.in | 1 +
.../Config.in | 7 +++++++
.../python-backports-functools-lru-cache.hash | 5 +++++
.../python-backports-functools-lru-cache.mk | 15 +++++++++++++++
4 files changed, 28 insertions(+)
create mode 100644 package/python-backports-functools-lru-cache/Config.in
create mode 100644 package/python-backports-functools-lru-cache/python-backports-functools-lru-cache.hash
create mode 100644 package/python-backports-functools-lru-cache/python-backports-functools-lru-cache.mk
diff --git a/package/Config.in b/package/Config.in
index c3faa20d88..77c231d4c0 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -840,6 +840,7 @@ menu "External python modules"
source "package/python-babel/Config.in"
source "package/python-backcall/Config.in"
source "package/python-backports-abc/Config.in"
+ source "package/python-backports-functools-lru-cache/Config.in"
source "package/python-backports-shutil-get-terminal-size/Config.in"
source "package/python-backports-ssl-match-hostname/Config.in"
source "package/python-bcrypt/Config.in"
diff --git a/package/python-backports-functools-lru-cache/Config.in b/package/python-backports-functools-lru-cache/Config.in
new file mode 100644
index 0000000000..a5b7771e4d
--- /dev/null
+++ b/package/python-backports-functools-lru-cache/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE
+ bool "python-backports-functools-lru-cache"
+ depends on BR2_PACKAGE_PYTHON
+ help
+ Backport of functools.lru_cache from Python 3.3
+
+ https://github.com/jaraco/backports.functools_lru_cache
diff --git a/package/python-backports-functools-lru-cache/python-backports-functools-lru-cache.hash b/package/python-backports-functools-lru-cache/python-backports-functools-lru-cache.hash
new file mode 100644
index 0000000000..3db4aec1fb
--- /dev/null
+++ b/package/python-backports-functools-lru-cache/python-backports-functools-lru-cache.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/backports.functools_lru_cache/json
+md5 20f53f54cd3f04b3346ce75a54959754 backports.functools_lru_cache-1.5.tar.gz
+sha256 9d98697f088eb1b0fa451391f91afb5e3ebde16bbdb272819fd091151fda4f1a backports.functools_lru_cache-1.5.tar.gz
+# Localy computed sha256 checksumms
+sha256 a55e2ffe9b44998e621d51d8c094bed09acc4b5236ee73d7df395a33ba3c18fd LICENSE
diff --git a/package/python-backports-functools-lru-cache/python-backports-functools-lru-cache.mk b/package/python-backports-functools-lru-cache/python-backports-functools-lru-cache.mk
new file mode 100644
index 0000000000..334d6d8c49
--- /dev/null
+++ b/package/python-backports-functools-lru-cache/python-backports-functools-lru-cache.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-backports-functools-lru-cache
+#
+################################################################################
+
+PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE_VERSION = 1.5
+PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE_SOURCE = backports.functools_lru_cache-$(PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE_VERSION).tar.gz
+PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE_SITE = https://files.pythonhosted.org/packages/57/d4/156eb5fbb08d2e85ab0a632e2bebdad355798dece07d4752f66a8d02d1ea
+PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE_SETUP_TYPE = setuptools
+PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE_DEPENDENCIES = host-python-setuptools-scm
+PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE_LICENSE = MIT
+PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
--
2.20.1
next reply other threads:[~2019-10-11 8:35 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-11 8:35 Asaf Kahlon [this message]
2019-10-11 8:35 ` [Buildroot] [PATCH 1/1] package/python-cssutils: bump to version 1.0.2 Asaf Kahlon
2019-10-12 14:17 ` Thomas Petazzoni
2019-10-11 8:35 ` [Buildroot] [PATCH 1/1] package/python-h2: bump to version 3.1.1 Asaf Kahlon
2019-10-12 14:17 ` Thomas Petazzoni
2019-10-11 8:35 ` [Buildroot] [PATCH 1/1] package/python-subprocess32: bump to version 3.5.4 Asaf Kahlon
2019-10-12 14:17 ` Thomas Petazzoni
2019-10-11 8:35 ` [Buildroot] [PATCH 1/1] package/python-ubjson: bump to version 0.14.0 Asaf Kahlon
2019-10-12 14:17 ` Thomas Petazzoni
2019-10-11 8:35 ` [Buildroot] [PATCH 2/2] package/python-arrow: bump to version 0.15.2 Asaf Kahlon
2019-10-12 20:04 ` [Buildroot] [PATCH 1/2] package/python-backports-functools-lru-cache: new pacakge 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=20191011083527.26140-1-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