python-bcrypt: Update to 4.1.2
[feed/packages.git] / lang / python / python-bcrypt / Makefile
1 #
2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
4 #
5
6 include $(TOPDIR)/rules.mk
7
8 PKG_NAME:=python-bcrypt
9 PKG_VERSION:=4.1.2
10 PKG_RELEASE:=1
11
12 PYPI_NAME:=bcrypt
13 PKG_HASH:=33313a1200a3ae90b75587ceac502b048b840fc69e7f7a0905b5f87fac7a1258
14
15 PKG_LICENSE:=Apache-2.0
16 PKG_LICENSE_FILES:=LICENSE
17 PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
18
19 PKG_BUILD_DEPENDS:=python-setuptools-rust/host
20
21 include ../pypi.mk
22 include $(INCLUDE_DIR)/package.mk
23 include ../python3-package.mk
24
25 define Package/python3-bcrypt
26 SECTION:=lang
27 CATEGORY:=Languages
28 SUBMENU:=Python
29 TITLE:=Modern password hashing
30 URL:=https://github.com/pyca/bcrypt/
31 DEPENDS:=+python3-light $(RUST_ARCH_DEPENDS)
32 endef
33
34 define Package/python3-bcrypt/description
35 Acceptable password hashing for your software and your servers (but you
36 should really use argon2id or scrypt)
37 endef
38
39 $(eval $(call Py3Package,python3-bcrypt))
40 $(eval $(call BuildPackage,python3-bcrypt))
41 $(eval $(call BuildPackage,python3-bcrypt-src))