mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
math/py-py-find-1st: New port: Numpy extension module for efficient search in numpy arrays
This commit is contained in:
parent
0339e00c36
commit
df3fb512fa
@ -983,6 +983,7 @@
|
||||
SUBDIR += py-pplpy
|
||||
SUBDIR += py-primecountpy
|
||||
SUBDIR += py-primme
|
||||
SUBDIR += py-py-find-1st
|
||||
SUBDIR += py-pyFFTW
|
||||
SUBDIR += py-pyaudi
|
||||
SUBDIR += py-pybloom
|
||||
|
27
math/py-py-find-1st/Makefile
Normal file
27
math/py-py-find-1st/Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
PORTNAME= py-find-1st
|
||||
DISTVERSION= 1.1.5
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= ${PORTNAME:S/-/_/g}-${PORTVERSION}
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Numpy extension module for efficient search in numpy arrays
|
||||
WWW= https://github.com/roebel/py_find_1st
|
||||
|
||||
LICENSE= GPLv3
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=46.4.0:devel/py-setuptools@${PY_FLAVOR} \
|
||||
${PYNUMPY} \
|
||||
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
|
||||
RUN_DEPENDS= ${PYNUMPY}
|
||||
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= pep517 autoplist pytest # tests are broken, see https://github.com/roebel/py_find_1st/issues/13
|
||||
|
||||
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
||||
|
||||
post-install:
|
||||
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/utils_find_1st/find_1st${PYTHON_EXT_SUFFIX}.so
|
||||
|
||||
.include <bsd.port.mk>
|
3
math/py-py-find-1st/distinfo
Normal file
3
math/py-py-find-1st/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1676278342
|
||||
SHA256 (py_find_1st-1.1.5.tar.gz) = f99207bc83df361c4cd9c6c2aaf504907ffce7fdd33ae3d3cbf39c68a4f1c1a9
|
||||
SIZE (py_find_1st-1.1.5.tar.gz) = 8807
|
7
math/py-py-find-1st/files/patch-pyproject.toml
Normal file
7
math/py-py-find-1st/files/patch-pyproject.toml
Normal file
@ -0,0 +1,7 @@
|
||||
--- pyproject.toml.orig 2023-02-13 08:53:21 UTC
|
||||
+++ pyproject.toml
|
||||
@@ -1,3 +1,3 @@
|
||||
[build-system]
|
||||
# Minimum requirements for the build system to execute.
|
||||
-requires = ["setuptools", "oldest-supported-numpy", "wheel"] # PEP 508 specifications.
|
||||
+requires = ["setuptools", "numpy", "wheel"] # PEP 508 specifications.
|
3
math/py-py-find-1st/pkg-descr
Normal file
3
math/py-py-find-1st/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
py_find_1st is a numpy extension that allows to find the first index into an
|
||||
1D-array that validates a boolean condition that can consist of a comparison
|
||||
operator and a limit value.
|
Loading…
Reference in New Issue
Block a user