mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 03:41:29 +00:00
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>
This commit is contained in:
@@ -14,7 +14,6 @@ PKG_HASH:=8d666cef936198bc2ab47ee9b0410c94adf2ba798e5a84bf220be079ae7ab6a8
|
||||
include ../pypi.mk
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
include ../python-package.mk
|
||||
include ../python3-package.mk
|
||||
|
||||
define Package/passlib/Default
|
||||
@@ -25,37 +24,24 @@ define Package/passlib/Default
|
||||
URL:=https://bitbucket.org/ecollins/passlib
|
||||
endef
|
||||
|
||||
define Package/python-passlib
|
||||
$(call Package/passlib/Default)
|
||||
DEPENDS:=+PACKAGE_python-passlib:python +PACKAGE_python-passlib:python-dateutil
|
||||
VARIANT:=python
|
||||
endef
|
||||
|
||||
define Package/python3-passlib
|
||||
$(call Package/passlib/Default)
|
||||
DEPENDS:=+PACKAGE_python3-passlib:python3 +PACKAGE_python3-passlib:python3-dateutil
|
||||
VARIANT:=python3
|
||||
endef
|
||||
|
||||
define Package/python-passlib/description
|
||||
define Package/python3-passlib/description
|
||||
Passlib is a password hashing library for Python 2 & 3, which provides
|
||||
cross-platform implementations of over 30 password hashing algorithms,
|
||||
as well as a framework for managing existing password hashes. It’s
|
||||
designed to be useful for a wide range of tasks, from verifying a hash
|
||||
found in /etc/shadow, to providing full-strength password hashing for
|
||||
multi-user applications.
|
||||
endef
|
||||
|
||||
define Package/python3-passlib/description
|
||||
$(call Package/python-passlib/description)
|
||||
.
|
||||
(Variant for Python3)
|
||||
endef
|
||||
|
||||
$(eval $(call PyPackage,python-passlib))
|
||||
$(eval $(call Py3Package,python3-passlib))
|
||||
|
||||
$(eval $(call BuildPackage,python-passlib))
|
||||
$(eval $(call BuildPackage,python-passlib-src))
|
||||
$(eval $(call BuildPackage,python3-passlib))
|
||||
$(eval $(call BuildPackage,python3-passlib-src))
|
||||
|
||||
Reference in New Issue
Block a user