1 include $(TOPDIR
)/rules.mk
3 PKG_NAME
:=python-fnv-hash-fast
7 PYPI_NAME
:=fnv-hash-fast
8 PYPI_SOURCE_NAME
:=fnv_hash_fast
9 PKG_HASH
:=a84d658952776a186418f4158fc8e55ff3c576ac32cc9ef7f8077efdf2d0b89f
11 PKG_MAINTAINER
:=Timothy Ace
<openwrt@timothyace.com
>
13 PKG_LICENSE_FILES
:=LICENSE
15 PKG_BUILD_DEPENDS
:=python-cython
/host python-poetry-core
/host
18 include $(INCLUDE_DIR
)/package.mk
19 include ..
/python3-package.mk
21 define Package
/python3-fnv-hash-fast
25 TITLE
:=A fast version of fnv1a
26 URL
:=https
://github.com
/bdraco
/fnv-hash-fast
27 DEPENDS
:=+libstdcpp
+python3-light
+python3-fnvhash
30 define Package
/python3-fnv-hash-fast
/description
31 A fast version of fnv1a. This library will use a CPP implementation of fnv1a
32 (32) if cython is available
, and will fallback to pure python from the fnvhash
36 $(eval
$(call Py3Package
,python3-fnv-hash-fast
))
37 $(eval
$(call BuildPackage
,python3-fnv-hash-fast
))
38 $(eval
$(call BuildPackage
,python3-fnv-hash-fast-src
))