Date: Sat, 11 Mar 2023 09:16:26 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: b6546e21728b - main - =?utf-8?Q?devel/py-pyTooling:=20Update=202.12.3=20=E2=86=92=202.13.0?= Message-ID: <202303110916.32B9GQJx047557@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=b6546e21728b20d03f1a4d31e039f4e42874477f commit b6546e21728b20d03f1a4d31e039f4e42874477f Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-03-11 06:05:49 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-03-11 09:16:16 +0000 devel/py-pyTooling: Update 2.12.3 → 2.13.0 Reported by: portscout --- devel/py-pyTooling/Makefile | 2 +- devel/py-pyTooling/distinfo | 6 ++-- .../files/patch-pyTooling_Common_Platform.py | 40 ---------------------- 3 files changed, 4 insertions(+), 44 deletions(-) diff --git a/devel/py-pyTooling/Makefile b/devel/py-pyTooling/Makefile index b8b0c990e04a..8c4fb9bb9b82 100644 --- a/devel/py-pyTooling/Makefile +++ b/devel/py-pyTooling/Makefile @@ -1,6 +1,6 @@ PORTNAME= pyTooling DISTVERSIONPREFIX= v -DISTVERSION= 2.12.3 +DISTVERSION= 2.13.0 CATEGORIES= devel #MASTER_SITES= PYPI # requirements.txt is missing PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/devel/py-pyTooling/distinfo b/devel/py-pyTooling/distinfo index a954baae184f..2edcedd4f53a 100644 --- a/devel/py-pyTooling/distinfo +++ b/devel/py-pyTooling/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1677176526 -SHA256 (pyTooling-pyTooling-v2.12.3_GH0.tar.gz) = 03c7d042500490f21ddebcc65a158e749208e9af2f9a551274d39e04957c8bbc -SIZE (pyTooling-pyTooling-v2.12.3_GH0.tar.gz) = 580323 +TIMESTAMP = 1678514205 +SHA256 (pyTooling-pyTooling-v2.13.0_GH0.tar.gz) = 153cc87f59de8911904f78786934526ddc31a615557883495355f70075fb587a +SIZE (pyTooling-pyTooling-v2.13.0_GH0.tar.gz) = 584295 diff --git a/devel/py-pyTooling/files/patch-pyTooling_Common_Platform.py b/devel/py-pyTooling/files/patch-pyTooling_Common_Platform.py deleted file mode 100644 index a857192e86b6..000000000000 --- a/devel/py-pyTooling/files/patch-pyTooling_Common_Platform.py +++ /dev/null @@ -1,40 +0,0 @@ ---- pyTooling/Common/Platform.py.orig 2023-02-23 18:45:13 UTC -+++ pyTooling/Common/Platform.py -@@ -52,10 +52,11 @@ class Platform(metaclass=ExtendedType, singleton=True) - Unknown = 0 - - OS_Linux = auto() #: Operating System: Linux. -+ OS_FreeBSD = auto() #: Operating System: FreeBSD. - OS_MacOS = auto() #: Operating System: macOS. - OS_Windows = auto() #: Operating System: Windows. - -- OperatingSystem = OS_Linux | OS_MacOS | OS_Windows #: Mask: Any operating system. -+ OperatingSystem = OS_Linux | OS_FreeBSD | OS_MacOS | OS_Windows #: Mask: Any operating system. - - SEP_WindowsPath = auto() #: Seperator: Path element seperator (e.g. for directories). - SEP_WindowsValue = auto() #: Seperator: Value seperator in variables (e.g. for paths in PATH). -@@ -76,6 +77,7 @@ class Platform(metaclass=ExtendedType, singleton=True) - Architecture = Arch_x86 | Arch_Arm #: Mask: Any architecture. - - Linux = OS_Linux | ENV_Native | ARCH_x86_64 #: Group: native Linux on x86-64. -+ FreeBSD = OS_FreeBSD | ENV_Native | ARCH_x86_64 #: Group: native FreeBSD on x86-64. - MacOS = OS_MacOS | ENV_Native | ARCH_x86_64 #: Group: native macOS on x86-64. - Windows = OS_Windows | ENV_Native | ARCH_x86_64 | SEP_WindowsPath | SEP_WindowsValue #: Group: native Windows on x86-64. - -@@ -155,6 +157,16 @@ class Platform(metaclass=ExtendedType, singleton=True) - self._platform |= self.Platforms.ARCH_x86_32 - else: - raise Exception(f"Unknown architecture '{sysconfig_platform}' for a native Linux.") -+ -+ elif sys_platform.startswith("freebsd"): -+ self._platform |= self.Platforms.OS_FreeBSD | self.Platforms.ENV_Native -+ -+ if sysconfig_platform.endswith("-amd64"): # native FreeBSD amd64; Windows 64 + WSL -+ self._platform |= self.Platforms.ARCH_x86_64 -+ elif sysconfig_platform.endswith("-aarch64"): # native FreeBSD Aarch64 -+ self._platform |= self.Platforms.ARCH_x86_32 -+ else: -+ raise Exception(f"Unknown architecture '{sysconfig_platform}' for a native FreeBSD.") - - elif sys_platform == "darwin": - self._platform |= self.Platforms.OS_MacOS | self.Platforms.ENV_Native | self.Platforms.ARCH_x86_64
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303110916.32B9GQJx047557>