git: 040897be2375 - main - sysutils/py-salt: update to 3004 release.

From: Kirill Ponomarev <krion_at_FreeBSD.org>
Date: Mon, 18 Oct 2021 19:09:20 UTC
The branch main has been updated by krion:

URL: https://cgit.FreeBSD.org/ports/commit/?id=040897be23753441c4e58d52b02818dd9c6d8ee9

commit 040897be23753441c4e58d52b02818dd9c6d8ee9
Author:     Kirill Ponomarev <krion@FreeBSD.org>
AuthorDate: 2021-10-18 19:08:45 +0000
Commit:     Kirill Ponomarev <krion@FreeBSD.org>
CommitDate: 2021-10-18 19:09:18 +0000

    sysutils/py-salt: update to 3004 release.
    
    Approved by:    maintainer
---
 sysutils/py-salt/Makefile                                           | 5 ++---
 sysutils/py-salt/distinfo                                           | 6 +++---
 .../files/{patch-salt_loader.py => patch-salt_loader_lazy.py}       | 6 +++---
 3 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/sysutils/py-salt/Makefile b/sysutils/py-salt/Makefile
index b4238e374f3c..eb09188b9c2c 100644
--- a/sysutils/py-salt/Makefile
+++ b/sysutils/py-salt/Makefile
@@ -1,8 +1,7 @@
 # Created by: Christer Edwards <christer.edwards@gmail.com>
 
 PORTNAME=	salt
-PORTVERSION=	3003.3
-PORTREVISION=	1
+PORTVERSION=	3004
 CATEGORIES=	sysutils python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -114,7 +113,7 @@ do-install-FISH-on:
 
 do-install-ZSH-on:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
-	${INSTALL_DATA} ${WRKSRC}/pkg/zsh_completion.zsh \
+	${INSTALL_DATA} ${WRKSRC}/pkg/salt.zsh \
 		${STAGEDIR}${PREFIX}/share/zsh/site-functions/_salt
 
 post-install:
diff --git a/sysutils/py-salt/distinfo b/sysutils/py-salt/distinfo
index dd7c6014846f..ecaa7761efc3 100644
--- a/sysutils/py-salt/distinfo
+++ b/sysutils/py-salt/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1630999559
-SHA256 (salt-3003.3.tar.gz) = a6f9c8c8b5e2600ea8620b4a67371de17611beb4f8d97e4bb9b0b308a37ed1e2
-SIZE (salt-3003.3.tar.gz) = 16017984
+TIMESTAMP = 1634581120
+SHA256 (salt-3004.tar.gz) = 3d53561bc86e014dca2ec3dc981079be04d55ea047890cabde25e5b10bfa5b13
+SIZE (salt-3004.tar.gz) = 17663985
diff --git a/sysutils/py-salt/files/patch-salt_loader.py b/sysutils/py-salt/files/patch-salt_loader_lazy.py
similarity index 74%
rename from sysutils/py-salt/files/patch-salt_loader.py
rename to sysutils/py-salt/files/patch-salt_loader_lazy.py
index 85d8b86a799f..f5d66afdcd99 100644
--- a/sysutils/py-salt/files/patch-salt_loader.py
+++ b/sysutils/py-salt/files/patch-salt_loader_lazy.py
@@ -1,6 +1,6 @@
---- salt/loader.py.orig	2020-10-22 05:33:25 UTC
-+++ salt/loader.py
-@@ -1468,7 +1468,7 @@ class LazyLoader(salt.utils.lazy.LazyDict):
+--- salt/loader/lazy.py.orig	2021-09-27 17:31:38 UTC
++++ salt/loader/lazy.py
+@@ -447,7 +447,7 @@ class LazyLoader(salt.utils.lazy.LazyDict):
              try:
                  pycache_files = [
                      os.path.join("__pycache__", x)