From c9b87600a70687abce35f70f1199419a864ddfea Mon Sep 17 00:00:00 2001 From: Noah Huppert Date: Sat, 24 Oct 2020 16:46:36 -0400 Subject: [PATCH] salt: update to 3002 --- srcpkgs/salt/patches/ipv6addressscoped.patch | 15 +++++++++++++++ srcpkgs/salt/template | 6 +++--- 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/salt/patches/ipv6addressscoped.patch diff --git a/srcpkgs/salt/patches/ipv6addressscoped.patch b/srcpkgs/salt/patches/ipv6addressscoped.patch new file mode 100644 index 0000000000..89dc35c268 --- /dev/null +++ b/srcpkgs/salt/patches/ipv6addressscoped.patch @@ -0,0 +1,15 @@ +--- salt/_compat.py ++++ salt/_compat.py +@@ -162,6 +162,9 @@ class IPv6AddressScoped(ipaddress.IPv6Address): + else: + self.__scope = None + ++ # For compatibility with python3.9 ipaddress ++ self._scope_id = self.__scope ++ + if sys.version_info.major == 2: + ipaddress._BaseAddress.__init__(self, address) + ipaddress._BaseV6.__init__(self, address) +-- +2.29.0 + diff --git a/srcpkgs/salt/template b/srcpkgs/salt/template index f32b4e29e8..a778a780b5 100644 --- a/srcpkgs/salt/template +++ b/srcpkgs/salt/template @@ -1,7 +1,7 @@ # Template file for 'salt' pkgname=salt -version=3001.1 -revision=2 +version=3002 +revision=1 build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-yaml python3-Jinja2 python3-requests python3-pyzmq @@ -13,7 +13,7 @@ license="Apache-2.0" homepage="http://saltstack.org/" changelog="https://docs.saltstack.com/en/latest/topics/releases/${version}.html" distfiles="${PYPI_SITE}/s/salt/salt-${version}.tar.gz" -checksum=e9ebb4d92fae8dabf21b8749dc126e4a4048bf8f613f5b1b851fe4b8226b5abc +checksum=b622c9de9fde571db96bfd659a183bea553dd26e71cac85659387e937221aae6 conf_files=" /etc/salt/cloud.providers.d/digitalocean.conf /etc/salt/cloud.providers.d/vsphere.conf