passlib: Update to 1.7.4, rename source package

This renames the source package from passlib to python-passlib to match
other Python packages.

This also updates the package URL and list of dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
Jeffery To 2023-06-06 16:30:20 +08:00 committed by Rosen Penev
parent fe2c009d68
commit 5b965e4d79
1 changed files with 10 additions and 10 deletions

View File

@ -3,17 +3,18 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=passlib PKG_NAME:=python-passlib
PKG_VERSION:=1.7.2 PKG_VERSION:=1.7.4
PKG_RELEASE:=2 PKG_RELEASE:=1
PKG_LICENSE:=BSD-3-Clause
PYPI_NAME:=$(PKG_NAME) PYPI_NAME:=passlib
PKG_HASH:=8d666cef936198bc2ab47ee9b0410c94adf2ba798e5a84bf220be079ae7ab6a8 PKG_HASH:=defd50f72b65c5402ab2c573830a6978e5f202ad0d984793c8dde2c4152ebe04
PKG_LICENSE:=BSD-3-Clause
PKG_LICENSE_FILES:=LICENSE
include ../pypi.mk include ../pypi.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk include ../python3-package.mk
define Package/python3-passlib define Package/python3-passlib
@ -21,8 +22,8 @@ define Package/python3-passlib
SECTION:=lang SECTION:=lang
CATEGORY:=Languages CATEGORY:=Languages
TITLE:=Comprehensive password hashing framework TITLE:=Comprehensive password hashing framework
URL:=https://bitbucket.org/ecollins/passlib URL:=https://passlib.readthedocs.io/
DEPENDS:=+python3 +python3-dateutil DEPENDS:=+python3
endef endef
define Package/python3-passlib/description define Package/python3-passlib/description
@ -35,6 +36,5 @@ multi-user applications.
endef endef
$(eval $(call Py3Package,python3-passlib)) $(eval $(call Py3Package,python3-passlib))
$(eval $(call BuildPackage,python3-passlib)) $(eval $(call BuildPackage,python3-passlib))
$(eval $(call BuildPackage,python3-passlib-src)) $(eval $(call BuildPackage,python3-passlib-src))