package/python-filelock: new package
authorJared Bents <jared.bents@rockwellcollins.com>
Mon, 23 Mar 2020 15:45:39 +0000 (10:45 -0500)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 24 Mar 2020 21:01:11 +0000 (22:01 +0100)
This package contains a single module, which implements
a platform independent file lock in Python, which provides
a simple way of inter-process communication.

Signed-off-by: Jared Bents <jared.bents@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/python-filelock/Config.in [new file with mode: 0644]
package/python-filelock/python-filelock.hash [new file with mode: 0644]
package/python-filelock/python-filelock.mk [new file with mode: 0644]

index 56e8e232216855607284e83d3db3dd68bc8c6915..6beb3ea809b079285572ebfffd63e878875c5dcc 100644 (file)
@@ -1230,6 +1230,7 @@ F:        package/zynq-boot-bin/
 
 N:     Jared Bents <jared.bents@rockwellcollins.com>
 F:     package/davici/
+F:     package/python-filelock/
 F:     package/python-pysftp/
 
 N:     Jarkko Sakkinen <jarkko.sakkinen@intel.com>
index 8be07d001a3c4997841ade0b71299b2793cef66d..b4033721e2e2f69de5e9d04eb04a2e40d3c669cd 100644 (file)
@@ -946,6 +946,7 @@ menu "External python modules"
        source "package/python-enum34/Config.in"
        source "package/python-esptool/Config.in"
        source "package/python-falcon/Config.in"
+       source "package/python-filelock/Config.in"
        source "package/python-fire/Config.in"
        source "package/python-flask/Config.in"
        source "package/python-flask-babel/Config.in"
diff --git a/package/python-filelock/Config.in b/package/python-filelock/Config.in
new file mode 100644 (file)
index 0000000..57ec039
--- /dev/null
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_FILELOCK
+       bool "python-filelock"
+       help
+         A platform independent file lock.
+
+         https://github.com/benediktschmitt/py-filelock
diff --git a/package/python-filelock/python-filelock.hash b/package/python-filelock/python-filelock.hash
new file mode 100644 (file)
index 0000000..d50d2d5
--- /dev/null
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/filelock/json
+md5  c1fe6d9a7433a7ca6ce4f36e273317d1  filelock-3.0.12.tar.gz
+sha256  18d82244ee114f543149c66a6e0c14e9c4f8a1044b5cdaadd0f82159d6a6ff59  filelock-3.0.12.tar.gz
+# Locally computed sha256 checksums
+sha256  88d9b4eb60579c191ec391ca04c16130572d7eedc4a86daa58bf28c6e14c9bcd  LICENSE
diff --git a/package/python-filelock/python-filelock.mk b/package/python-filelock/python-filelock.mk
new file mode 100644 (file)
index 0000000..35b3374
--- /dev/null
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-filelock
+#
+################################################################################
+
+PYTHON_FILELOCK_VERSION = 3.0.12
+PYTHON_FILELOCK_SOURCE = filelock-$(PYTHON_FILELOCK_VERSION).tar.gz
+PYTHON_FILELOCK_SITE = https://files.pythonhosted.org/packages/14/ec/6ee2168387ce0154632f856d5cc5592328e9cf93127c5c9aeca92c8c16cb
+PYTHON_FILELOCK_SETUP_TYPE = setuptools
+PYTHON_FILELOCK_LICENSE = Public Domain
+PYTHON_FILELOCK_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))