math/py-primecountpy: new port, Primecount Cython interface
This commit is contained in:
parent
0eb4d8a4e8
commit
bee5c81550
5 changed files with 38 additions and 0 deletions
|
@ -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
|
||||
|
|
25
math/py-primecountpy/Makefile
Normal file
25
math/py-primecountpy/Makefile
Normal file
|
@ -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>
|
3
math/py-primecountpy/distinfo
Normal file
3
math/py-primecountpy/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1642085161
|
||||
SHA256 (primecountpy-0.1.0.tar.gz) = 78fe7cc32115f0669a45d7c90faaf39f7ce3939e39e2e7e5f14c17fe4bff0676
|
||||
SIZE (primecountpy-0.1.0.tar.gz) = 16070
|
4
math/py-primecountpy/pkg-descr
Normal file
4
math/py-primecountpy/pkg-descr
Normal file
|
@ -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/
|
5
math/py-primecountpy/pkg-plist
Normal file
5
math/py-primecountpy/pkg-plist
Normal file
|
@ -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
|
Loading…
Reference in a new issue