Skip to content

Commit

Permalink
math/py-matplotlib: update to 3.8.0
Browse files Browse the repository at this point in the history
 - Switch to pep517

Changelog: https://github.com/matplotlib/matplotlib/releases/tag/v3.8.0

Approved by:	mainland@apeiron.net (maintainer timeout)
PR:		274571
  • Loading branch information
wenheping authored and clausecker committed Nov 12, 2023
1 parent 7a15060 commit 8e771b3
Show file tree
Hide file tree
Showing 4 changed files with 124 additions and 34 deletions.
11 changes: 6 additions & 5 deletions math/py-matplotlib/Makefile
@@ -1,6 +1,5 @@
PORTNAME= matplotlib
PORTVERSION= 3.7.1
PORTREVISION= 3
DISTVERSION= 3.8.0
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -12,6 +11,8 @@ WWW= https://matplotlib.org/
LICENSE= PSFL

BUILD_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools_scm7>0:devel/py-setuptools_scm7@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pillow>=6.2:graphics/py-pillow@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyparsing>=0:devel/py-pyparsing@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}certifi>=0.10:security/py-certifi@${PY_FLAVOR} \
Expand Down Expand Up @@ -40,7 +41,7 @@ RUN_DEPENDS= ${PYNUMPY} \

USES= compiler:c++11-lib gettext gnome localbase pkgconfig python shebangfix uniquefiles:dirs
USE_CXXSTD= c++14
USE_PYTHON= distutils
USE_PYTHON= pep517

PLIST_SUB= VER=${PORTVERSION}
PORTEXAMPLES= *
Expand All @@ -55,7 +56,7 @@ post-install:
| ${XARGS} ${STRIP_CMD}

post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${CP} -R ${WRKSRC}/examples/ ${STAGEDIR}${EXAMPLESDIR}
#@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
#${CP} -R ${WRKSRC}/examples/ ${STAGEDIR}${EXAMPLESDIR}

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions math/py-matplotlib/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1678113823
SHA256 (matplotlib-3.7.1.tar.gz) = 7b73305f25eab4541bd7ee0b96d87e53ae9c9f1823be5659b806cd85786fe882
SIZE (matplotlib-3.7.1.tar.gz) = 38003777
TIMESTAMP = 1697593172
SHA256 (matplotlib-3.8.0.tar.gz) = df8505e1c19d5c2c26aff3497a7cbd3ccfc2e97043d1e4db3e76afa399164b69
SIZE (matplotlib-3.8.0.tar.gz) = 35864435
6 changes: 3 additions & 3 deletions math/py-matplotlib/files/patch-setup.py
@@ -1,10 +1,10 @@
--- setup.py.orig 2023-03-10 22:52:58 UTC
--- setup.py.orig 2023-09-15 02:26:52 UTC
+++ setup.py
@@ -269,6 +269,7 @@ setup( # Finally, pass this all along to setuptools t
@@ -278,6 +278,7 @@ setup( # Finally, pass this all along to setuptools t

setup( # Finally, pass this all along to setuptools to do the heavy lifting.
name="matplotlib",
+ version="3.7.1",
+ version="3.8.0",
description="Python plotting package",
author="John D. Hunter, Michael Droettboom",
author_email="matplotlib-users@python.org",

0 comments on commit 8e771b3

Please sign in to comment.