Makefile 869 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # $OpenBSD: Makefile,v 1.8 2017/04/23 09:17:16 shadchin Exp $
  2. COMMENT = computer algebra system (CAS) in Python
  3. MODPY_EGG_VERSION = 1.0
  4. DISTNAME = sympy-${MODPY_EGG_VERSION}
  5. PKGNAME = py-sympy-${MODPY_EGG_VERSION}
  6. CATEGORIES = math
  7. HOMEPAGE = http://sympy.org
  8. MAINTAINER = Alexandr Shadchin <shadchin@openbsd.org>
  9. # New BSD
  10. PERMIT_PACKAGE_CDROM = Yes
  11. MODULES = lang/python
  12. MODPY_PI = Yes
  13. MODPY_SETUPTOOLS = Yes
  14. RUN_DEPENDS = devel/ipython${MODPY_FLAVOR} \
  15. math/py-mpmath${MODPY_FLAVOR}
  16. TEST_DEPENDS = ${RUN_DEPENDS} \
  17. devel/py-test${MODPY_FLAVOR} \
  18. graphics/py-matplotlib${MODPY_FLAVOR} \
  19. math/py-numpy${MODPY_FLAVOR}
  20. FLAVORS = python3
  21. FLAVOR ?=
  22. TEST_IS_INTERACTIVE = X11
  23. PORTHOME = ${WRKSRC}
  24. post-install:
  25. mv ${PREFIX}/bin/isympy{,${MODPY_BIN_SUFFIX}}
  26. mv ${PREFIX}/man/man1/isympy{,${MODPY_BIN_SUFFIX}}.1
  27. .include <bsd.port.mk>