Opened 10 years ago

Closed 10 years ago

#45683 closed update (fixed)

py-pudb: Update add subport for Python 3.4

Reported by: jenstroeger (Jens Troeger) Owned by: petrrr
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: py-pudb

Description

The https://pypi.python.org/pypi/pudb debugger works with Python 3+ when installed using pip. It would be handy to install the debugger through MacPorts. Alas, only py2x portfiles exists, and no py3x ones.

Both dependencies (uwid and pygments) already exist for py3x so I think adding Python 3 support is just a matter of adding portfiles.

An update would be appreciated :)

Change History (12)

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Cc: dechaume removed
Owner: changed from macports-tickets@… to dechaume@…
Port: py-pudb added; pudb removed
Version: 2.3.2

Trac requires complete email addresses.

comment:2 in reply to:  1 Changed 10 years ago by jenstroeger (Jens Troeger)

Replying to mf2k@…:

Trac requires complete email addresses.

Also please add ryandesign@… who seems to be the last who modified the Portfile.

comment:3 Changed 10 years ago by jenstroeger (Jens Troeger)

Based on the current py-pudb/Portfile, these changes might suffice.

8c8
< version             0.92.15
---
> version             2014.1
29,30c29,30
< python.versions     24 25 26 27
< python.default_version 27
---
> python.versions     24 25 26 27 31 32 32 34
> python.default_version 33

comment:4 in reply to:  3 Changed 10 years ago by larryv (Lawrence Velázquez)

Cc: ryandesign@… added
Summary: Update pudbpy-pudb: Add subport for Python 3.4

We’ve deprecated all Python versions other than 2.7 and 3.4, so we won’t be adding py3{1,2,3} subports. A py34-pudb would be fine, if it works.

comment:5 Changed 10 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:6 Changed 10 years ago by petrrr

Jens, please attach unified diff, there are more useful.

Also: Usually, when you bump the version you also need to update the checksums.

comment:7 Changed 10 years ago by petrrr

I removed py{24,25,26} subports in r129131 and added py34 in r129132.

comment:8 Changed 10 years ago by petrrr

Version 0.92.15 seems not to be compatible with Py3k:

Traceback (most recent call last):
  File "setup.py", line 3, in <module>
    from ez_setup import use_setuptools
  File "/opt/local/var/macports/build/_Users_petr_sandbox_SVN-repos_macports_dports_python_py-pudb/py34-pudb/work/pudb-0.92.15/ez_setup.py", line 98
    except pkg_resources.VersionConflict, e:
                                        ^
SyntaxError: invalid syntax

comment:9 Changed 10 years ago by petrrr

Update to 2014.1, add livecheck and use PyPI pattern in r129134. Now installs correctly for py27 and py34.

comment:10 Changed 10 years ago by petrrr

Owner: changed from dechaume@… to petr@…
Status: newassigned

comment:11 Changed 10 years ago by petrrr

Cc: petr@… removed

Cc Me!

comment:12 Changed 10 years ago by petrrr

Resolution: fixed
Status: assignedclosed
Summary: py-pudb: Add subport for Python 3.4py-pudb: Update add subport for Python 3.4
Note: See TracTickets for help on using tickets.