From 2a243cbf6ee3e19b50ee6a802e3550aa41b10129 Mon Sep 17 00:00:00 2001
From: Stepan Henek <stepan.henek@nic.cz>
Date: Fri, 19 Jul 2019 15:58:57 +0200
Subject: [PATCH] python-cachelib: package added

---
 .../0016-python-cachelib-package-added.patch  | 64 +++++++++++++++++++
 1 file changed, 64 insertions(+)
 create mode 100644 patches/packages/to-upstream/0016-python-cachelib-package-added.patch

diff --git a/patches/packages/to-upstream/0016-python-cachelib-package-added.patch b/patches/packages/to-upstream/0016-python-cachelib-package-added.patch
new file mode 100644
index 000000000..a60e66658
--- /dev/null
+++ b/patches/packages/to-upstream/0016-python-cachelib-package-added.patch
@@ -0,0 +1,64 @@
+From 1882dc16589bce15340b598a722f54a597be23d8 Mon Sep 17 00:00:00 2001
+From: Stepan Henek <stepan.henek@nic.cz>
+Date: Fri, 19 Jul 2019 15:27:33 +0200
+Subject: [PATCH] python: cachelib package added
+
+Signed-off-by: Stepan Henek <stepan.henek@nic.cz>
+---
+ lang/python/python-cachelib/Makefile | 44 ++++++++++++++++++++++++++++
+ 1 file changed, 44 insertions(+)
+ create mode 100644 lang/python/python-cachelib/Makefile
+
+diff --git a/lang/python/python-cachelib/Makefile b/lang/python/python-cachelib/Makefile
+new file mode 100644
+index 000000000..2172ac01b
+--- /dev/null
++++ b/lang/python/python-cachelib/Makefile
+@@ -0,0 +1,44 @@
++# This is free software, licensed under the GNU General Public License v2.
++# See /LICENSE for more information.
++#
++
++include $(TOPDIR)/rules.mk
++
++PKG_NAME:=cachelib
++PKG_VERSION:=0.1
++PKG_RELEASE:=1
++
++PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
++PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/c/cachelib
++PKG_HASH:=8b889b509d372095357b8705966e1282d40835c4126d7c2b07fd414514d8ae8d
++
++PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
++PKG_LICENSE:=BSD-3-Clause
++PKG_LICENSE_FILES:=LICENSE
++
++PKG_BUILD_DEPENDS:=python3
++PKG_BUILD_DIR:=$(BUILD_DIR)/$(BUILD_VARIANT)-$(PKG_NAME)-$(PKG_VERSION)
++PKG_UNPACK=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components=1 -xzf $(DL_DIR)/$(PKG_SOURCE)
++
++include $(INCLUDE_DIR)/package.mk
++include ../python3-package.mk
++
++define Package/python3-cachelib
++  SECTION:=lang
++  CATEGORY:=Languages
++  SUBMENU:=Python
++  URL:=https://github.com/pallets/cachelib
++  TITLE:=python3-cachelib
++  DEPENDS:=+python3-light
++  VARIANT:=python3
++endef
++
++define Package/python3-cachelib/description
++cachelib
++
++A collection of cache libraries in the same API interface. Extracted from werkzeug.
++endef
++
++$(eval $(call Py3Package,python3-cachelib))
++$(eval $(call BuildPackage,python3-cachelib))
++$(eval $(call BuildPackage,python3-cachelib-src))
+-- 
+2.20.1
+
-- 
GitLab