[1/2] package/python-zc-lockfile: new package
diff mbox series

Message ID 20191021134031.20586-9-asafka7@gmail.com
State New
Headers show
Series
  • [1/2] package/python-zc-lockfile: new package
Related show

Commit Message

Asaf Kahlon Oct. 21, 2019, 1:40 p.m. UTC
Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
---
 package/Config.in                                  |  1 +
 package/python-zc-lockfile/Config.in               |  6 ++++++
 package/python-zc-lockfile/python-zc-lockfile.hash |  5 +++++
 package/python-zc-lockfile/python-zc-lockfile.mk   | 14 ++++++++++++++
 4 files changed, 26 insertions(+)
 create mode 100644 package/python-zc-lockfile/Config.in
 create mode 100644 package/python-zc-lockfile/python-zc-lockfile.hash
 create mode 100644 package/python-zc-lockfile/python-zc-lockfile.mk

Patch
diff mbox series

diff --git a/package/Config.in b/package/Config.in
index c8ff524e83..ef40832275 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1147,6 +1147,7 @@  menu "External python modules"
 	source "package/python-xmltodict/Config.in"
 	source "package/python-yarl/Config.in"
 	source "package/python-yieldfrom/Config.in"
+	source "package/python-zc-lockfile/Config.in"
 	source "package/python-zeroconf/Config.in"
 	source "package/python-zope-interface/Config.in"
 endmenu
diff --git a/package/python-zc-lockfile/Config.in b/package/python-zc-lockfile/Config.in
new file mode 100644
index 0000000000..928f3604b7
--- /dev/null
+++ b/package/python-zc-lockfile/Config.in
@@ -0,0 +1,6 @@ 
+config BR2_PACKAGE_PYTHON_ZC_LOCKFILE
+	bool "python-zc-lockfile"
+	help
+	  Basic inter-process locks.
+
+	  https://github.com/zopefoundation/zc.lockfile
diff --git a/package/python-zc-lockfile/python-zc-lockfile.hash b/package/python-zc-lockfile/python-zc-lockfile.hash
new file mode 100644
index 0000000000..4a9c194885
--- /dev/null
+++ b/package/python-zc-lockfile/python-zc-lockfile.hash
@@ -0,0 +1,5 @@ 
+# md5, sha256 from https://pypi.org/pypi/zc.lockfile/json
+md5	3895445752278ddcc4578658c3c9a492  zc.lockfile-2.0.tar.gz
+sha256	307ad78227e48be260e64896ec8886edc7eae22d8ec53e4d528ab5537a83203b  zc.lockfile-2.0.tar.gz
+# Locally computed sha256 checksums
+sha256	3e671db11df687516cc1db5b3d65e4aa383eaca3c20cea3faf53a0f7335d0a3c  LICENSE.txt
diff --git a/package/python-zc-lockfile/python-zc-lockfile.mk b/package/python-zc-lockfile/python-zc-lockfile.mk
new file mode 100644
index 0000000000..a4621e6d06
--- /dev/null
+++ b/package/python-zc-lockfile/python-zc-lockfile.mk
@@ -0,0 +1,14 @@ 
+################################################################################
+#
+# python-zc-lockfile
+#
+################################################################################
+
+PYTHON_ZC_LOCKFILE_VERSION = 2.0
+PYTHON_ZC_LOCKFILE_SOURCE = zc.lockfile-$(PYTHON_ZC_LOCKFILE_VERSION).tar.gz
+PYTHON_ZC_LOCKFILE_SITE = https://files.pythonhosted.org/packages/11/98/f21922d501ab29d62665e7460c94f5ed485fd9d8348c126697947643a881
+PYTHON_ZC_LOCKFILE_SETUP_TYPE = setuptools
+PYTHON_ZC_LOCKFILE_LICENSE = ZPL-2.1
+PYTHON_ZC_LOCKFILE_LICENSE_FILES = LICENSE.txt
+
+$(eval $(python-package))