Date: Thu, 13 Jan 2022 17:10:36 GMT From: Thierry Thomas <thierry@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: bee5c815503c - main - math/py-primecountpy: new port, Primecount Cython interface Message-ID: <202201131710.20DHAa42091511@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=bee5c815503c3ed99c89f2489a61a980b90f2b8e commit bee5c815503c3ed99c89f2489a61a980b90f2b8e Author: Thierry Thomas <thierry@FreeBSD.org> AuthorDate: 2022-01-13 17:09:15 +0000 Commit: Thierry Thomas <thierry@FreeBSD.org> CommitDate: 2022-01-13 17:10:23 +0000 math/py-primecountpy: new port, Primecount Cython interface --- math/Makefile | 1 + math/py-primecountpy/Makefile | 25 +++++++++++++++++++++++++ math/py-primecountpy/distinfo | 3 +++ math/py-primecountpy/pkg-descr | 4 ++++ math/py-primecountpy/pkg-plist | 5 +++++ 5 files changed, 38 insertions(+) diff --git a/math/Makefile b/math/Makefile index 5eb44d357b11..8bbb621ccf88 100644 --- a/math/Makefile +++ b/math/Makefile @@ -887,6 +887,7 @@ SUBDIR += py-plastex SUBDIR += py-point-annotator SUBDIR += py-pplpy + SUBDIR += py-primecountpy SUBDIR += py-primme SUBDIR += py-pyFFTW SUBDIR += py-pybloom diff --git a/math/py-primecountpy/Makefile b/math/py-primecountpy/Makefile new file mode 100644 index 000000000000..5dc5a693026d --- /dev/null +++ b/math/py-primecountpy/Makefile @@ -0,0 +1,25 @@ +# Created by: thierry@pompo.net + +PORTNAME= primecountpy +PORTVERSION= 0.1.0 +CATEGORIES= math python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= thierry@FreeBSD.org +COMMENT= Primecount Cython interface + +LICENSE= GPLv3 + +BUILD_DEPENDS= ${PYDEPS} +LIB_DEPENDS= libpari.so:math/pari \ + libprimecount.so:math/primecount \ + libprimesieve.so:math/primesieve +RUN_DEPENDS= ${PYDEPS} + +USES= localbase python:3.7+ +USE_PYTHON= cython distutils + +PYDEPS= ${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR} + +.include <bsd.port.mk> diff --git a/math/py-primecountpy/distinfo b/math/py-primecountpy/distinfo new file mode 100644 index 000000000000..ad3fbcadde22 --- /dev/null +++ b/math/py-primecountpy/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1642085161 +SHA256 (primecountpy-0.1.0.tar.gz) = 78fe7cc32115f0669a45d7c90faaf39f7ce3939e39e2e7e5f14c17fe4bff0676 +SIZE (primecountpy-0.1.0.tar.gz) = 16070 diff --git a/math/py-primecountpy/pkg-descr b/math/py-primecountpy/pkg-descr new file mode 100644 index 000000000000..bf7a15c12818 --- /dev/null +++ b/math/py-primecountpy/pkg-descr @@ -0,0 +1,4 @@ +This is a Cython interface to the C++ library primecount. + +WWW: https://github.com/dimpase/primecountpy +WWW: https://pypi.org/project/primecountpy/ diff --git a/math/py-primecountpy/pkg-plist b/math/py-primecountpy/pkg-plist new file mode 100644 index 000000000000..c759a15b49b9 --- /dev/null +++ b/math/py-primecountpy/pkg-plist @@ -0,0 +1,5 @@ +%%PYTHON_SITELIBDIR%%/primecountpy/__init__.py +%%PYTHON_SITELIBDIR%%/primecountpy/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.opt-1.pyc +%%PYTHON_SITELIBDIR%%/primecountpy/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc +%%PYTHON_SITELIBDIR%%/primecountpy/defs.pxd +%%PYTHON_SITELIBDIR%%/primecountpy/primecount%%PYTHON_EXT_SUFFIX%%.so
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201131710.20DHAa42091511>