git: a6b418ccb24e - main - math/octave-forge-pythonic: New port.

From: Stephen Montgomery-Smith <stephen_at_FreeBSD.org>
Date: Sat, 05 Nov 2022 21:37:32 UTC
The branch main has been updated by stephen:

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

commit a6b418ccb24ec8c00ff08eac45b9678cbc99a494
Author:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
AuthorDate: 2022-11-05 21:34:50 +0000
Commit:     Stephen Montgomery-Smith <stephen@FreeBSD.org>
CommitDate: 2022-11-05 21:34:50 +0000

    math/octave-forge-pythonic: New port.
    
    Python native calling interface for GNU Octave.
---
 math/Makefile                        |  1 +
 math/octave-forge-pythonic/Makefile  | 34 ++++++++++++++++++++++++++++++++++
 math/octave-forge-pythonic/distinfo  |  3 +++
 math/octave-forge-pythonic/pkg-descr |  8 ++++++++
 4 files changed, 46 insertions(+)

diff --git a/math/Makefile b/math/Makefile
index db2ca2a20029..6aa7f98e331d 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -602,6 +602,7 @@
     SUBDIR += octave-forge-pde1dm
     SUBDIR += octave-forge-plot
     SUBDIR += octave-forge-ponchon-savarit
+    SUBDIR += octave-forge-pythonic
     SUBDIR += octave-forge-quaternion
     SUBDIR += octave-forge-queueing
     SUBDIR += octave-forge-secs1d
diff --git a/math/octave-forge-pythonic/Makefile b/math/octave-forge-pythonic/Makefile
new file mode 100644
index 000000000000..fb71dc496a24
--- /dev/null
+++ b/math/octave-forge-pythonic/Makefile
@@ -0,0 +1,34 @@
+PORTNAME=	octave-forge-pythonic
+DISTVERSION=	0.0.1+
+CATEGORIES=	math
+
+MAINTAINER=	stephen@FreeBSD.org
+COMMENT=	Octave-forge package ${OCTAVE_PKGNAME}
+WWW=		https://packages.octave.org/
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKDIR}/${OCTSRC}/COPYING
+
+BUILD_DEPENDS=	gsed:textproc/gsed
+
+USES=		python
+MAKE_ENV+=	PYTHON=${PYTHON_CMD} SED=gsed
+
+USE_GITLAB=	yes
+GL_ACCOUNT=	mtmiller
+GL_PROJECT=	octave-pythonic
+GL_COMMIT=	3dbe9a06c1dec1a138f398b951e18044a00e063d
+
+# OCTSRC is the name of the directory of the package.
+# It is usually ${OCTAVE_PKGNAME} or ${DISTNAME}.
+OCTSRC=		${GL_PROJECT}-${GL_COMMIT}
+
+WRKSRC=		${WRKDIR}/${OCTSRC}/src
+
+.include "${.CURDIR}/../../Mk/bsd.octave.mk"
+
+post-build:
+	${RM} ${WRKSRC}/Makefile ${WRKSRC}/configure
+	cd ${WRKDIR} && ${TAR} cfz ${OCTAVE_DISTNAME}.tar.gz ${OCTSRC}
+
+.include <bsd.port.mk>
diff --git a/math/octave-forge-pythonic/distinfo b/math/octave-forge-pythonic/distinfo
new file mode 100644
index 000000000000..8eaaccb157ea
--- /dev/null
+++ b/math/octave-forge-pythonic/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1667677896
+SHA256 (octave-forge/mtmiller-octave-pythonic-3dbe9a06c1dec1a138f398b951e18044a00e063d_GL0.tar.gz) = acc2f2d46f26fc140fb5b37a56bb79cf4765eab27bf874d921348574ee44e05a
+SIZE (octave-forge/mtmiller-octave-pythonic-3dbe9a06c1dec1a138f398b951e18044a00e063d_GL0.tar.gz) = 80228
diff --git a/math/octave-forge-pythonic/pkg-descr b/math/octave-forge-pythonic/pkg-descr
new file mode 100644
index 000000000000..7ae47e95a60e
--- /dev/null
+++ b/math/octave-forge-pythonic/pkg-descr
@@ -0,0 +1,8 @@
+The octave-forge package is the result of The GNU Octave Repositry project,
+which is intended to be a central location for custom scripts, functions and
+extensions for GNU Octave. contains the source for all the functions plus
+build and install scripts.
+
+This is pythonic.
+
+ Python native calling interface for GNU Octave.