passlib: Update to 1.7.4, rename source package
authorJeffery To <redacted>
Tue, 6 Jun 2023 08:30:20 +0000 (16:30 +0800)
committerRosen Penev <redacted>
Tue, 6 Jun 2023 16:53:19 +0000 (19:53 +0300)
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 <redacted>
lang/python/python-passlib/Makefile [moved from lang/python/passlib/Makefile with 80% similarity]

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