Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#47246 closed update (fixed)

py-pmw update to 2.0.0

Reported by: howarth.at.macports@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: petrrr, kurthindenburg (Kurt Hindenburg)
Port: py-pmw

Description (last modified by ryandesign (Ryan Carsten Schmidt))

The attached Portfile and pmw2.patch provides a py33-pmw2 and py34-pmw2 package for the Pmw 2.0.0 release with additional fixes from upstream hg repository for 2.0.1 to eliminate demos and tests failures. These can be checked with...

cd /opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/Pmw/Pmw_2_0_0/demos
python3.3 All.py

and

cd /opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/Pmw/Pmw_2_0_0/tests
python3.3 All.py

Attachments (3)

pmw2.diff (22.1 KB) - added by howarth.at.macports@… 10 years ago.
patch with back port of fixes from hg repository of 2.0.1
Portfile (1.4 KB) - added by howarth.at.macports@… 9 years ago.
Portfile for py-pmw2 package with python35 variant added
Portfile.diff (1.3 KB) - added by howarth.at.macports@… 9 years ago.
Portfile.diff to build the python2 and python3 sources from the 2.0.0 source bundle for the python 27, 34 and 35 variants

Download all attachments as: .zip

Change History (17)

Changed 10 years ago by howarth.at.macports@…

Attachment: pmw2.diff added

patch with back port of fixes from hg repository of 2.0.1

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:2 Changed 10 years ago by petrrr

Cc: petr@… added

Cc Me!

Changed 9 years ago by howarth.at.macports@…

Attachment: Portfile added

Portfile for py-pmw2 package with python35 variant added

comment:3 Changed 9 years ago by howarth.at.macports@…

I can't edit the title of this ticket but the ticket now is changed to a py-pmw update instead of a new package. The appended Portfile should be ignored and the Portfile.diff and pmw2.diff​ patch used instead.

comment:4 Changed 9 years ago by howarth.at.macports@…

Note that the 2.0.1 release upstream is an alpha and has test suite regressions compared to 2.0.0 so it should be avoided.

comment:5 Changed 9 years ago by petrrr

Please to not add new py33 subports anymore. We are in the process of deprecating all python ports for < py27 and < py34.

Changed 9 years ago by howarth.at.macports@…

Attachment: Portfile.diff added

Portfile.diff to build the python2 and python3 sources from the 2.0.0 source bundle for the python 27, 34 and 35 variants

comment:6 Changed 9 years ago by howarth.at.macports@…

Ping

comment:7 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:8 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Port: py-pmw added; py-pmw2 removed
Summary: py-pmw2 2.0.0py-pmw update to 2.0.0
Type: submissionupdate

Since the patch is so large, we could just use the hg tree to grab the latest version

comment:9 Changed 9 years ago by howarth.at.macports@…

Last I looked upstream and the 2.0.1 alpha release both introduced other test suite regressions (hence the cherry picked patches from upstream). Also, using hg seems like a lot of extra dependencies for hg compared to a relatively small patch.

comment:11 Changed 9 years ago by howarth.at.macports@…

Note that the mercurial repo of pmw is very new and I assume the regressions I see in 2.0.1 alpha compared to 2.0.0 with the above patches applied reflect some issue in the migration of the pmw files into hg. Hence my avoidance of 2.0.1 alpha or hg in favor of just applying the bug fixes to 2.0.0.

Last edited 9 years ago by howarth.at.macports@… (previous) (diff)

comment:12 Changed 9 years ago by howarth.at.macports@…

Also note that https://sourceforge.net/p/pmw/hg/ci/13f476c40ca1c47a8ba2184aff0ca1e18a613604/ occurred on the same day as the 2.0.0 release. So it is unclear if the 2.0.0 release was actually generated out of the hg repository or that after the 2.0.0 release, the hg repository was created using the files from the pre-existing 2.0.0 release.

Last edited 9 years ago by howarth.at.macports@… (previous) (diff)

comment:13 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: newclosed

Thanks done r146816 - let us know of any issues

comment:14 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

and r146819 as I forgot to include all my changes

Note: See TracTickets for help on using tickets.