2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
6 include $(TOPDIR
)/rules.mk
12 PYPI_NAME
:=$(PKG_NAME
)
13 PKG_HASH
:=0b0069c752ec14172c5f78208f1863d7ad6755a6fae6fe76ec2c80d13be41e42
15 PKG_MAINTAINER
:=Daniel Dickinson
<cshored@thecshore.com
>
16 PKG_LICENSE
:=Apache-2.0
17 PKG_LICENSE_FILES
:=LICENSE
19 PKG_BUILD_DEPENDS
:=libffi
/host
20 HOST_PYTHON_PACKAGE_BUILD_DEPENDS
:="cffi>=1.1"
21 HOST_PYTHON3_PACKAGE_BUILD_DEPENDS
:="cffi>=1.1"
24 include $(INCLUDE_DIR
)/package.mk
25 include ..
/python-package.mk
26 include ..
/python3-package.mk
28 define Package
/bcrypt
/Default
32 TITLE
:=Modern password hashing
33 URL
:=https
://github.com
/pyca
/bcrypt
/
36 define Package
/python-bcrypt
37 $(call Package
/bcrypt
/Default
)
39 +PACKAGE_python-bcrypt
:python \
40 +PACKAGE_python-bcrypt
:python-cffi \
41 +PACKAGE_python-bcrypt
:python-six
45 define Package
/python3-bcrypt
46 $(call Package
/bcrypt
/Default
)
48 +PACKAGE_python3-bcrypt
:python3 \
49 +PACKAGE_python3-bcrypt
:python3-cffi \
50 +PACKAGE_python3-bcrypt
:python3-six
54 define Package
/python-bcrypt
/description
55 Good password hashing for your software and your servers.
58 define Package
/python3-bcrypt
/description
59 $(call Package
/python-bcrypt
/description
)
64 $(eval
$(call PyPackage
,python-bcrypt
))
65 $(eval
$(call BuildPackage
,python-bcrypt
))
66 $(eval
$(call BuildPackage
,python-bcrypt-src
))
68 $(eval
$(call Py3Package
,python3-bcrypt
))
69 $(eval
$(call BuildPackage
,python3-bcrypt
))
70 $(eval
$(call BuildPackage
,python3-bcrypt-src
))