Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Mar 2019 19:41:49 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r496504 - in head/math/py-matplotlib: . files
Message-ID:  <201903211941.x2LJfnVP062748@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Mar 21 19:41:49 2019
New Revision: 496504
URL: https://svnweb.freebsd.org/changeset/ports/496504

Log:
  Update to 2.2.3
  
  - Change MASTER_SITES from GitHub to CHEESESHOP
  - Add USES=gnome
  - Silence extraction and patch message
  - Do not silence installation message
  
  Changes:	https://github.com/matplotlib/matplotlib/releases
  PR:		236276
  Submitted by:	sunpoet (myself)
  
  Approved by:	(maintainer)

Deleted:
  head/math/py-matplotlib/files/patch-extern_ttconv_pprdrv__tt.cpp
Modified:
  head/math/py-matplotlib/Makefile
  head/math/py-matplotlib/distinfo

Modified: head/math/py-matplotlib/Makefile
==============================================================================
--- head/math/py-matplotlib/Makefile	Thu Mar 21 19:41:43 2019	(r496503)
+++ head/math/py-matplotlib/Makefile	Thu Mar 21 19:41:49 2019	(r496504)
@@ -2,15 +2,11 @@
 # $FreeBSD$
 
 PORTNAME=	matplotlib
-DISTVERSIONPREFIX=	v
-DISTVERSION=	2.1.2
-PORTREVISION=	6
+DISTVERSION=	2.2.3
 CATEGORIES=	math python
+MASTER_SITES=	CHEESESHOP
 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
 
@@ -29,8 +25,7 @@ RUN_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}tornado>0:www/py-tornado@${PY_FLAVOR}
 py27_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}backports.functools_lru_cache>0:devel/py-backports.functools_lru_cache@${PY_FLAVOR}
 
-USES=		compiler:c++11-lib gettext pkgconfig python shebangfix uniquefiles:dirs
-USE_GITHUB=	yes
+USES=		compiler:c++11-lib gettext gnome pkgconfig python shebangfix uniquefiles:dirs
 USE_PYTHON=	autoplist distutils
 CFLAGS+=	-I${LOCALBASE}/include
 
@@ -79,18 +74,10 @@ WXAGGBACKEND_BUILD_DEPENDS=	Xvfb:x11-servers/xorg-vfbs
 .endif
 
 post-extract:
-	${FIND} ${WRKSRC} -name \*.py | ${XARGS} ${CHMOD} -x
+	@${FIND} ${WRKSRC} -name '*.py' | ${XARGS} ${CHMOD} -x
 
 post-patch:
-	${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
-			 -e 's|%%TCL_INCLUDEDIR%%|${TCL_INCLUDEDIR}|g' \
-			 -e 's|%%TK_INCLUDEDIR%%|${TK_INCLUDEDIR}|g' \
-			 -e 's|%%TCL_LIBDIR%%|${TCL_LIBDIR}|g' \
-			 -e 's|%%TK_LIBDIR%%|${TK_LIBDIR}|g' \
-			 -e 's|%%TCL_VER%%|${TCL_SHLIB_VER}|g' \
-			 -e 's|%%TK_VER%%|${TK_SHLIB_VER}|g' \
-		${WRKSRC}/setupext.py
-	${REINPLACE_CMD} -e 's|%%GTK_BACKEND%%|${GTK_BACKEND}|g' \
+	@${REINPLACE_CMD} -e 's|%%GTK_BACKEND%%|${GTK_BACKEND}|g' \
 			 -e 's|%%GTKAGG_BACKEND%%|${GTKAGG_BACKEND}|g' \
 			 -e 's|%%QT5AGG_BACKEND%%|${QT5AGG_BACKEND}|g' \
 			 -e 's|%%TKAGG_BACKEND%%|${TKAGG_BACKEND}|g' \
@@ -98,7 +85,7 @@ post-patch:
 		${WRKSRC}/setup.cfg
 
 post-install:
-	@${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/matplotlib -name '*.so' \
+	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/matplotlib -name '*.so' \
 		| ${XARGS} ${STRIP_CMD}
 
 post-install-EXAMPLES-on:

Modified: head/math/py-matplotlib/distinfo
==============================================================================
--- head/math/py-matplotlib/distinfo	Thu Mar 21 19:41:43 2019	(r496503)
+++ head/math/py-matplotlib/distinfo	Thu Mar 21 19:41:49 2019	(r496504)
@@ -1,5 +1,3 @@
-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
+TIMESTAMP = 1547732863
+SHA256 (matplotlib-2.2.3.tar.gz) = 7355bf757ecacd5f0ac9dd9523c8e1a1103faadf8d33c22664178e17533f8ce5
+SIZE (matplotlib-2.2.3.tar.gz) = 36839609



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