summaryrefslogtreecommitdiff
path: root/lang/python/python-fnvhash/Makefile
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2023-11-21 12:34:08 +0800
committerGitHub <noreply@github.com>2023-11-21 12:34:08 +0800
commitf5ebf9fafe8da7178aa5c3303da63d873773ccc7 (patch)
treeb5fa9911d63f1e8da37dec2f0776f65062aa9de9 /lang/python/python-fnvhash/Makefile
parent9b130e4b342d12918dbc535d515dbbfc7676bd74 (diff)
parent96ce3b51a40ef1aa98843d6ebf1f6370e87197f8 (diff)
Merge pull request #22625 from ecammit/python_requirements_for_homeassistant
Added python-fnv-hash-fast, python-lru-dict, and python-orjson
Diffstat (limited to 'lang/python/python-fnvhash/Makefile')
-rw-r--r--lang/python/python-fnvhash/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/lang/python/python-fnvhash/Makefile b/lang/python/python-fnvhash/Makefile
new file mode 100644
index 000000000..b0c2316d2
--- /dev/null
+++ b/lang/python/python-fnvhash/Makefile
@@ -0,0 +1,33 @@
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=python-fnvhash
+PKG_VERSION:=0.1.0
+PKG_RELEASE:=1
+
+PYPI_NAME:=fnvhash
+PKG_HASH:=3e82d505054f9f3987b2b5b649f7e7b6f48349f6af8a1b8e4d66779699c85a8e
+
+PKG_MAINTAINER:=Timothy Ace <openwrt@timothyace.com>
+PKG_LICENSE:=MIT
+PKG_LICENSE_FILES:=LICENSE
+
+include ../pypi.mk
+include $(INCLUDE_DIR)/package.mk
+include ../python3-package.mk
+
+define Package/python3-fnvhash
+ SECTION:=lang
+ CATEGORY:=Languages
+ SUBMENU:=Python
+ TITLE:=Pure Python FNV hash implementation
+ URL:=https://github.com/znerol/py-fnvhash
+ DEPENDS:=+python3-light
+endef
+
+define Package/python3-fnvhash/description
+Pure Python implementation of the FNV hash family with 100% test coverage.
+endef
+
+$(eval $(call Py3Package,python3-fnvhash))
+$(eval $(call BuildPackage,python3-fnvhash))
+$(eval $(call BuildPackage,python3-fnvhash-src))