View | Details | Raw Unified | Return to bug 246364 | Differences between
and this patch

Collapse All | Expand All

(-)i/science/py-scipy/Makefile (-10 / +14 lines)
Lines 1-52 Link Here
1
# Created by: ijliao
1
# Created by: ijliao
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	scipy
4
PORTNAME=	scipy
5
PORTVERSION=	1.2.2
5
PORTVERSION=	1.5.4
6
PORTREVISION=	1
7
CATEGORIES=	science python
6
CATEGORIES=	science python
8
MASTER_SITES=	https://docs.scipy.org/doc/scipy-${PORTVERSION:R}.1/:doc \
7
MASTER_SITES=	https://docs.scipy.org/doc/scipy-${PORTVERSION}/:doc \
9
		CHEESESHOP:source \
8
		CHEESESHOP:source \
10
		SF:source
9
		SF:source
11
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
10
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
12
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:source \
11
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:source \
13
		scipy-ref-${PORTVERSION:R}.1.pdf:doc
12
		scipy-ref-${PORTVERSION}.pdf:doc
14
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
13
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
15
14
16
MAINTAINER=	python@FreeBSD.org
15
MAINTAINER=	python@FreeBSD.org
17
COMMENT=	Scientific tools for Python
16
COMMENT=	Scientific tools for Python
18
17
19
LICENSE=	BSD3CLAUSE
18
LICENSE=	BSD3CLAUSE
20
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
19
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
21
20
22
BUILD_DEPENDS=	${PYNUMPY}
21
BUILD_DEPENDS=	${PYNUMPY} \
23
RUN_DEPENDS=	${PYNUMPY}
22
	${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR}
23
RUN_DEPENDS=	${PYNUMPY} \
24
	${PYTHON_PKGNAMEPREFIX}pybind11>0:devel/py-pybind11@${PY_FLAVOR}
25
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
24
26
25
USES=		fortran python shebangfix
27
USES=		fortran python shebangfix
26
USE_PYTHON=	autoplist concurrent distutils
28
USE_PYTHON=	autoplist concurrent distutils
27
29
28
FFLAGS+=	-std=legacy
30
FFLAGS+=	-std=legacy
29
LDFLAGS+=	-shared
31
LDFLAGS+=	-shared
30
PYDISTUTILS_BUILDARGS=	--fcompiler=gnu95
32
PYDISTUTILS_BUILDARGS=	--fcompiler=gnu95
31
PYDISTUTILS_CONFIGUREARGS=	--fcompiler=gnu95
33
PYDISTUTILS_CONFIGUREARGS=	--fcompiler=gnu95
32
34
33
PORTDOCS=	scipy-ref-${PORTVERSION:R}.1.pdf
35
PORTDOCS=	scipy-ref-${PORTVERSION}.pdf
34
36
35
SHEBANG_FILES=	scipy/sparse/linalg/isolve/tests/test_gcrotmk.py
37
SHEBANG_FILES=	scipy/sparse/linalg/isolve/tests/test_gcrotmk.py \
38
		runtests.py
36
39
37
OPTIONS_DEFINE=	DOCS
40
OPTIONS_DEFINE=	DOCS
38
41
39
post-patch:
42
post-patch:
40
# Syntax error with GCC 5
41
	@${REINPLACE_CMD} -e "s|) IF(| .AND. |" ${WRKSRC}/scipy/odr/odrpack/d_lpkbls.f
42
# This line help fix the plist error because autoplist list it as a file but it is a directory
43
# This line help fix the plist error because autoplist list it as a file but it is a directory
43
	@${TOUCH} ${WRKSRC}/scipy/stats/tests/data/tmp
44
	@${TOUCH} ${WRKSRC}/scipy/stats/tests/data/tmp
44
45
45
post-install:
46
post-install:
46
	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/scipy/ -name '*.so' | ${XARGS} ${STRIP_CMD}
47
	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/scipy/ -name '*.so' | ${XARGS} ${STRIP_CMD}
47
48
48
post-install-DOCS-on:
49
post-install-DOCS-on:
49
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
50
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
50
	${INSTALL_DATA} ${DISTDIR}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
51
	${INSTALL_DATA} ${DISTDIR}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
51
52
53
do-test:
54
	@cd ${WRKSRC} && ${PYTHON_CMD} runtests.py
55
52
.include <bsd.port.mk>
56
.include <bsd.port.mk>
(-)i/science/py-scipy/distinfo (-5 / +5 lines)
Lines 1-5 Link Here
1
TIMESTAMP = 1562167398
1
TIMESTAMP = 1606922420
2
SHA256 (scipy-1.2.2.tar.gz) = a4331e0b8dab1ff75d2c67b5158a8bb9a83c799d7140094dda936d876c7cfbb1
2
SHA256 (scipy-1.5.4.tar.gz) = 4a453d5e5689de62e5d38edf40af3f17560bfd63c9c5bd228c18c1f99afa155b
3
SIZE (scipy-1.2.2.tar.gz) = 23140580
3
SIZE (scipy-1.5.4.tar.gz) = 25237512
4
SHA256 (scipy-ref-1.2.1.pdf) = 57161b57061976cc48c42eff8be7d60dbb4d0e9f099c3c70d8a17eed1b25c54f
4
SHA256 (scipy-ref-1.5.4.pdf) = f956c359f649326f8b53e600bc8a90906862c618340de474c898968308106449
5
SIZE (scipy-ref-1.2.1.pdf) = 36697229
5
SIZE (scipy-ref-1.5.4.pdf) = 33467477

Return to bug 246364