git: db33acc253e8 - main - devel/ipython: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 27 Jan 2024 00:31:13 UTC
The branch main has been updated by bofh:

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

commit db33acc253e8c5ab451f83c1300ccfaadf131880
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-27 00:30:24 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-27 00:30:44 +0000

    devel/ipython: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 devel/ipython/Makefile                 |  1 +
 devel/ipython/files/patch-setupbase.py | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+)

diff --git a/devel/ipython/Makefile b/devel/ipython/Makefile
index ae717ae73672..ba8cef5680f9 100644
--- a/devel/ipython/Makefile
+++ b/devel/ipython/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	ipython
 PORTVERSION=	8.18.1
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/devel/ipython/files/patch-setupbase.py b/devel/ipython/files/patch-setupbase.py
new file mode 100644
index 000000000000..088121bbd21f
--- /dev/null
+++ b/devel/ipython/files/patch-setupbase.py
@@ -0,0 +1,19 @@
+--- setupbase.py.orig	2024-01-27 00:28:40 UTC
++++ setupbase.py
+@@ -145,10 +145,7 @@ def find_data_files():
+     Just man pages at this point.
+     """
+ 
+-    if "freebsd" in sys.platform:
+-        manpagebase = pjoin('man', 'man1')
+-    else:
+-        manpagebase = pjoin('share', 'man', 'man1')
++    manpagebase = pjoin('share', 'man', 'man1')
+ 
+     # Simple file lists can be made by hand
+     manpages = [f for f in glob(pjoin('docs','man','*.1.gz')) if isfile(f)]
+@@ -346,4 +343,3 @@ def git_prebuild(pkg_dir, build_cmd=build_py):
+                 )
+ 
+     return MyBuildPy
+-