Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Mar 2018 06:46:01 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r464044 - head/math/py-matplotlib
Message-ID:  <201803100646.w2A6k1T1009985@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Mar 10 06:46:00 2018
New Revision: 464044
URL: https://svnweb.freebsd.org/changeset/ports/464044

Log:
  math/py-matplotlib: Unbreak build on 12 i386
  
  Also used the helper for py27-only dependency.
  
  Reported by:	antoine (for build failure, in bug#222689), jhale (for dependency)
  Approved by:	tcberner (mentor, implicit)

Modified:
  head/math/py-matplotlib/Makefile
  head/math/py-matplotlib/distinfo

Modified: head/math/py-matplotlib/Makefile
==============================================================================
--- head/math/py-matplotlib/Makefile	Sat Mar 10 06:21:37 2018	(r464043)
+++ head/math/py-matplotlib/Makefile	Sat Mar 10 06:46:00 2018	(r464044)
@@ -8,6 +8,9 @@ PORTREVISION=	1
 CATEGORIES=	math python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES=	5b7a21e53e11a7064b2171c0d91afda67f30c4e7.patch:-p1 # fix of the failure on 12 i386: https://github.com/matplotlib/matplotlib/issues/10698
+
 MAINTAINER=	mainland@apeiron.net
 COMMENT=	Plotting library uses a syntax familiar to MATLAB users
 
@@ -24,6 +27,7 @@ RUN_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pyparsing>=0:devel/py-pyparsing@${FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tornado>0:www/py-tornado@${FLAVOR}
+py27_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}backports.functools_lru_cache>0:devel/py-backports.functools_lru_cache@${FLAVOR}
 
 USES=		compiler:c++11-lib gettext pkgconfig python shebangfix uniquefiles:dirs
 USE_GITHUB=	yes
@@ -80,12 +84,6 @@ TKAGGBACKEND_BUILD_DEPENDS+=	Xvfb:x11-servers/xorg-vfb
 WXAGGBACKEND_BUILD_DEPENDS=	Xvfb:x11-servers/xorg-vfbserver
 .endif
 
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 3000
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}backports.functools_lru_cache>0:devel/py-backports.functools_lru_cache@${FLAVOR}
-.endif
-
 post-extract:
 	${FIND} ${WRKSRC} -name \*.py | ${XARGS} ${CHMOD} -x
 
@@ -114,4 +112,4 @@ post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	${CP} -R ${WRKSRC}/examples/ ${STAGEDIR}${EXAMPLESDIR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/math/py-matplotlib/distinfo
==============================================================================
--- head/math/py-matplotlib/distinfo	Sat Mar 10 06:21:37 2018	(r464043)
+++ head/math/py-matplotlib/distinfo	Sat Mar 10 06:46:00 2018	(r464044)
@@ -1,3 +1,5 @@
-TIMESTAMP = 1519469715
+TIMESTAMP = 1520663268
 SHA256 (matplotlib-matplotlib-v2.1.2_GH0.tar.gz) = 613d79282a0a8ba88cfc52dbcf1b08ab070dae395c3d313d141ccc3f87e3c9fa
 SIZE (matplotlib-matplotlib-v2.1.2_GH0.tar.gz) = 35181192
+SHA256 (5b7a21e53e11a7064b2171c0d91afda67f30c4e7.patch) = f332f13cd365cdc3903bed12bdb483366e0212d9481f0949474334db96cc3257
+SIZE (5b7a21e53e11a7064b2171c0d91afda67f30c4e7.patch) = 1736



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803100646.w2A6k1T1009985>