git: c4affbdbaeee - main - misc/py-oterm: Update to 0.4.4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 02 Sep 2024 14:13:23 UTC
The branch main has been updated by nivit:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c4affbdbaeee61868966b8ebfd3cf9d459e9f4c8
commit c4affbdbaeee61868966b8ebfd3cf9d459e9f4c8
Author: Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2024-09-02 14:07:48 +0000
Commit: Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2024-09-02 14:12:52 +0000
misc/py-oterm: Update to 0.4.4
- Change build dependency
Release changes: https://github.com/ggozad/oterm/releases/tag/0.4.4
Reported by: Yiorgis Gozadinos <notifications@github.com>
---
misc/py-oterm/Makefile | 4 ++--
misc/py-oterm/distinfo | 6 +++---
.../files/{patch-oterm_utils.py => patch-src_oterm_utils.py} | 10 +++++-----
3 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/misc/py-oterm/Makefile b/misc/py-oterm/Makefile
index 9115f4eb3869..1851cb06a631 100644
--- a/misc/py-oterm/Makefile
+++ b/misc/py-oterm/Makefile
@@ -1,5 +1,5 @@
PORTNAME= oterm
-DISTVERSION= 0.4.2
+DISTVERSION= 0.4.4
CATEGORIES= misc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,7 +11,7 @@ WWW= https://github.com/ggozad/oterm
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.9.0:devel/py-poetry-core@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.25.0:devel/py-hatchling@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiosql>=10.1:databases/py-aiosql@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}aiosqlite>=0.19.0:databases/py-aiosqlite@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}linkify-it-py>=2.0.3:textproc/py-linkify-it-py@${PY_FLAVOR} \
diff --git a/misc/py-oterm/distinfo b/misc/py-oterm/distinfo
index e08de88edcb8..17039edc0d93 100644
--- a/misc/py-oterm/distinfo
+++ b/misc/py-oterm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1724226494
-SHA256 (oterm-0.4.2.tar.gz) = d24f19afba1e0c09aee0fb94cf39ea60b1ff31f8048ce33252d80a77b88778b3
-SIZE (oterm-0.4.2.tar.gz) = 21217
+TIMESTAMP = 1725279891
+SHA256 (oterm-0.4.4.tar.gz) = 276b6318d62b5de0b58ebc1ae9a94e14edf29c7d0bca44dd66b909d1099f8024
+SIZE (oterm-0.4.4.tar.gz) = 4250586
diff --git a/misc/py-oterm/files/patch-oterm_utils.py b/misc/py-oterm/files/patch-src_oterm_utils.py
similarity index 90%
rename from misc/py-oterm/files/patch-oterm_utils.py
rename to misc/py-oterm/files/patch-src_oterm_utils.py
index 6df624e298c6..e5adeac02557 100644
--- a/misc/py-oterm/files/patch-oterm_utils.py
+++ b/misc/py-oterm/files/patch-src_oterm_utils.py
@@ -1,5 +1,5 @@
---- oterm/utils.py.orig 2024-05-15 16:35:57 UTC
-+++ oterm/utils.py
+--- src/oterm/utils.py.orig 2020-02-02 00:00:00 UTC
++++ src/oterm/utils.py
@@ -1,4 +1,4 @@
-import sys
+import platform
@@ -13,10 +13,10 @@
- "win32": home / "AppData/Roaming/oterm",
- "linux": home / ".local/share/oterm",
- "darwin": home / "Library/Application Support/oterm",
-+ "Darwin": home / "Library/Application Support/oterm",
-+ "FreeBSD": home / ".local/share/oterm",
-+ "Linux": home / ".local/share/oterm",
+ "Windows": home / "AppData/Roaming/oterm",
++ "Linux": home / ".local/share/oterm",
++ "FreeBSD": home / ".local/share/oterm",
++ "Darwin": home / "Library/Application Support/oterm",
}
- data_path = system_paths[sys.platform]