Bug 161716 - [PATCH] math/py-matplotlib: fix build on 10-CURRENT
Summary: [PATCH] math/py-matplotlib: fix build on 10-CURRENT
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ruslan Makhmatkhanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-16 18:20 UTC by R.Mahmatkhanov
Modified: 2011-11-11 18:20 UTC (History)
0 users

See Also:


Attachments
file.diff (4.13 KB, patch)
2011-10-16 18:20 UTC, R.Mahmatkhanov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description R.Mahmatkhanov 2011-10-16 18:20:08 UTC
- fix build on 10.0-CURRENT (new item in patch-setupext.py)
while here:
- pet porlint (change spaces with tabs)
- strict python versions to 2.6-2.7. Python 2.4 and 2.5 are EOL, and python3 is
  not supported by py-matplotlib
- use wxPython 2.8+ according to [1]:
  """
  wxpython 2.8 or later
  The python wrappers for the wx widgets library for use with the WX or WXAgg
  backend
  """

- when using wxPython 2.8+, file _wxagg.so does not installs, since 2.8 has
  it's own version of it:
  """
  wxPython: 2.8.12.1
     * WxAgg extension not required for wxPython >= 2.8
  """
  so remove it from pkg-plist and from Makefile.

[1] http://matplotlib.sourceforge.net/users/installing.html

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-10-16 18:20:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->glarkin

glarkin@ wants his PRs (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2011-10-16 18:20:21 UTC
Maintainer of math/py-matplotlib,

Please note that PR ports/161716 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/161716

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2011-10-16 18:20:23 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 4 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2011-11-10 21:22:28 UTC
Responsible Changed
From-To: glarkin->rm

I will take it.
Comment 5 Geoffrey Mainland 2011-11-10 23:00:07 UTC
I approve the patch.

Geoff
Comment 6 dfilter service freebsd_committer freebsd_triage 2011-11-11 18:16:46 UTC
rm          2011-11-11 18:16:37 UTC

  FreeBSD ports repository

  Modified files:
    math/py-matplotlib   Makefile pkg-plist 
    math/py-matplotlib/files patch-setupext.py 
  Log:
    - fix build on FreeBSD 10
    - strict python versions to 2.6-2.7
    - bump USE_WX to 2.8+ according to matplotlib docs
    - fix pkg-plist after switching this port to wxPython 2.8+
    - bump PORTREVISION
  
    PR:             ports/161716
    Submitted by:   rm (myself)
    Approved by:    Geoffrey Mainland <mainland@apeiron.net> (maintainer),
                    novel (mentor)
    Feature safe:   yes
  
  Revision  Changes    Path
  1.41      +3 -7      ports/math/py-matplotlib/Makefile
  1.14      +7 -6      ports/math/py-matplotlib/files/patch-setupext.py
  1.9       +0 -1      ports/math/py-matplotlib/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 7 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2011-11-11 18:19:23 UTC
State Changed
From-To: feedback->closed

Committed, thank you!