Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Aug 2021 21:30:15 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: 10875d93bb72 - main - biology/py-python-libsbml: New port: LibSBML Python API
Message-ID:  <202108172130.17HLUF94096565@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=10875d93bb728801a61c3d78a1e140718fd0cfdf

commit 10875d93bb728801a61c3d78a1e140718fd0cfdf
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-08-17 21:21:57 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-08-17 21:30:07 +0000

    biology/py-python-libsbml: New port: LibSBML Python API
---
 biology/Makefile                    |  1 +
 biology/py-python-libsbml/Makefile  | 21 +++++++++++++++++++++
 biology/py-python-libsbml/distinfo  |  3 +++
 biology/py-python-libsbml/pkg-descr |  4 ++++
 biology/py-python-libsbml/pkg-plist |  3 +++
 5 files changed, 32 insertions(+)

diff --git a/biology/Makefile b/biology/Makefile
index 9f1aa3be4cd9..d02ab1ac20eb 100644
--- a/biology/Makefile
+++ b/biology/Makefile
@@ -151,6 +151,7 @@
     SUBDIR += py-pandas-charm
     SUBDIR += py-pyfaidx
     SUBDIR += py-pysam
+    SUBDIR += py-python-libsbml
     SUBDIR += py-resdk
     SUBDIR += py-scikit-bio
     SUBDIR += py-xenaPython
diff --git a/biology/py-python-libsbml/Makefile b/biology/py-python-libsbml/Makefile
new file mode 100644
index 000000000000..2acf5ef53d00
--- /dev/null
+++ b/biology/py-python-libsbml/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	python-libsbml
+DISTVERSION=	5.19.0
+CATEGORIES=	biology python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	LibSBML Python API
+
+LICENSE=	LGPL21
+
+BUILD_DEPENDS=	cmake:devel/cmake \
+		swig:devel/swig
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist distutils # autoplist produces incomplete plist, missing files are in pkg-plist. Reported to the upstream author fbergman@caltech.edu on 2021-08-17
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/libsbml/_libsbml.cpython-38.so
+
+.include <bsd.port.mk>
diff --git a/biology/py-python-libsbml/distinfo b/biology/py-python-libsbml/distinfo
new file mode 100644
index 000000000000..6f7129d3cedb
--- /dev/null
+++ b/biology/py-python-libsbml/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1629231482
+SHA256 (python-libsbml-5.19.0.tar.gz) = 87596017aa76c1284e83247593fe999ab7ba9a84e7488bcf0434b01277858f86
+SIZE (python-libsbml-5.19.0.tar.gz) = 36842483
diff --git a/biology/py-python-libsbml/pkg-descr b/biology/py-python-libsbml/pkg-descr
new file mode 100644
index 000000000000..22c87a0470a3
--- /dev/null
+++ b/biology/py-python-libsbml/pkg-descr
@@ -0,0 +1,4 @@
+Python binding for libsbml - Systems Biology Markup Language (SBML) read/write
+library.
+
+WWW: http://sbml.org/Main_Page
diff --git a/biology/py-python-libsbml/pkg-plist b/biology/py-python-libsbml/pkg-plist
new file mode 100644
index 000000000000..092f79185065
--- /dev/null
+++ b/biology/py-python-libsbml/pkg-plist
@@ -0,0 +1,3 @@
+%%PYTHON_SITELIBDIR%%/libsbml/__init__.py
+%%PYTHON_SITELIBDIR%%/libsbml/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/libsbml/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108172130.17HLUF94096565>