summaryrefslogtreecommitdiff
path: root/lang/python/bcrypt/Makefile
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2020-04-01 22:21:16 +0800
committerJeffery To <jeffery.to@gmail.com>2020-04-02 14:57:30 +0800
commit658b1b67587c4698f6a4c182e9afea7cb5fba2ee (patch)
tree94f402f8080841dc3a6c7f4a701d7aeb21a6f6b2 /lang/python/bcrypt/Makefile
parentc37b15e1c49cf27de8f34f43e93a7a5c184be9e0 (diff)
python-libraries: Remove Python 2 variants
The Python 2 variants will be added to the abandoned packages feed. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/bcrypt/Makefile')
-rw-r--r--lang/python/bcrypt/Makefile21
1 files changed, 1 insertions, 20 deletions
diff --git a/lang/python/bcrypt/Makefile b/lang/python/bcrypt/Makefile
index eb56b00e4..90c53bd63 100644
--- a/lang/python/bcrypt/Makefile
+++ b/lang/python/bcrypt/Makefile
@@ -16,12 +16,10 @@ PKG_LICENSE:=Apache-2.0
PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=libffi/host
-HOST_PYTHON_PACKAGE_BUILD_DEPENDS:="cffi>=1.1"
HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:="cffi>=1.1"
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
-include ../python-package.mk
include ../python3-package.mk
define Package/bcrypt/Default
@@ -32,15 +30,6 @@ define Package/bcrypt/Default
URL:=https://github.com/pyca/bcrypt/
endef
-define Package/python-bcrypt
-$(call Package/bcrypt/Default)
- DEPENDS:= \
- +PACKAGE_python-bcrypt:python \
- +PACKAGE_python-bcrypt:python-cffi \
- +PACKAGE_python-bcrypt:python-six
- VARIANT:=python
-endef
-
define Package/python3-bcrypt
$(call Package/bcrypt/Default)
DEPENDS:= \
@@ -50,20 +39,12 @@ $(call Package/bcrypt/Default)
VARIANT:=python3
endef
-define Package/python-bcrypt/description
- Good password hashing for your software and your servers.
-endef
-
define Package/python3-bcrypt/description
-$(call Package/python-bcrypt/description)
+ Good password hashing for your software and your servers.
.
(Variant for Python3)
endef
-$(eval $(call PyPackage,python-bcrypt))
-$(eval $(call BuildPackage,python-bcrypt))
-$(eval $(call BuildPackage,python-bcrypt-src))
-
$(eval $(call Py3Package,python3-bcrypt))
$(eval $(call BuildPackage,python3-bcrypt))
$(eval $(call BuildPackage,python3-bcrypt-src))