Files
ports/math/py-numarray/Makefile
Ruslan Makhmatkhanov a6a7ea1912 math/py-numarray: mark deprecated
This port is unmaintained and obsoleted upstream in favor of NumPy [1].
We no more have not deprecated consumers in ports tree, so deprecate
this port too.

[1] https://wiki.python.org/moin/NumArray
2019-04-29 22:22:27 +00:00

47 lines
1.1 KiB
Makefile

# Created by: Hye-Shik Chang
# $FreeBSD$
PORTNAME= numarray
PORTVERSION= 1.5.2
PORTREVISION= 3
CATEGORIES= math python
MASTER_SITES= SF/numpy/Old%20Numarray/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Numeric array manipulation extension module for Python
LICENSE= BSD3CLAUSE
DEPRECATED= Obsoleted upstream in favor of NumPy
EXPIRATION_DATE= 2019-05-30
USES= python:2.7 shebangfix
SHEBANG_FILES= Examples/convolve/benchmark.py
USE_PYTHON= distutils autoplist
PORTDOCS= *
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
post-configure:
cd ${WRKSRC} && \
${PYTHON_CMD} generate.py && \
${PYTHON_CMD} Include/numarray/genapis.py
post-install:
@${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/numarray -name "*.so" -exec \
${STRIP_CMD} {} \;
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${TAR} -C ${WRKSRC}/Doc -cf- .|${TAR} -C ${STAGEDIR}${DOCSDIR} -xf-
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${TAR} -C ${WRKSRC}/Examples -cf- .|${TAR} -C ${STAGEDIR}${EXAMPLESDIR} -xf-
@${RM} -r ${STAGEDIR}${EXAMPLESDIR}/ufunc/build
.include <bsd.port.mk>