Skip to content
Snippets Groups Projects
Verified Commit 5512ee9a authored by Štěpán Henek's avatar Štěpán Henek :bear:
Browse files

python-cachelib: patch fix

parent 2a243cbf
Branches
Tags
No related merge requests found
From 1882dc16589bce15340b598a722f54a597be23d8 Mon Sep 17 00:00:00 2001
From 8912b40ba7e38c5a710fc14db3ef2345b142ed33 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
Subject: [PATCH] python-cachelib: package added
Signed-off-by: Stepan Henek <stepan.henek@nic.cz>
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
---
lang/python/python-cachelib/Makefile | 44 ++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
lang/python/python-cachelib/Makefile | 41 ++++++++++++++++++++++++++++
1 file changed, 41 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
index 000000000..3b8d7d3e0
--- /dev/null
+++ b/lang/python/python-cachelib/Makefile
@@ -0,0 +1,44 @@
@@ -0,0 +1,41 @@
+# 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_NAME:=python-cachelib
+PKG_VERSION:=0.1
+PKG_RELEASE:=1
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
+PKG_SOURCE:=cachelib-$(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_MAINTAINER:=Stepan Henek <stepan.henek@nic.cz>
+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)
+PKG_BUILD_DIR:=$(BUILD_DIR)/cachelib-$(PKG_VERSION)
+
+include $(INCLUDE_DIR)/package.mk
+include ../python3-package.mk
......@@ -44,16 +43,15 @@ index 000000000..2172ac01b
+ SECTION:=lang
+ CATEGORY:=Languages
+ SUBMENU:=Python
+ TITLE:=cachelib
+ 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.
+ A collection of cache libraries in the same API interface.
+ Extracted from werkzeug.
+endef
+
+$(eval $(call Py3Package,python3-cachelib))
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment