Opened 9 months ago

Closed 9 months ago

#69334 closed enhancement (fixed)

py-simplekml: Support newer Python versions

Reported by: dershow Owned by: reneeotten (Renee Otten)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc: chrstphrchvz (Christopher Chavez)
Port: py-simplekml

Description

This port is set to only work with python 3.7. I've tested with newer and it works. Port is attached.

Attachments (1)

Portfile (1.1 KB) - added by dershow 9 months ago.
Portfile for newer python

Download all attachments as: .zip

Change History (6)

Changed 9 months ago by dershow

Attachment: Portfile added

Portfile for newer python

comment:1 Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added
Summary: Update simplekml to newer pythonpy-simplekml: Support newer Python versions
Type: updateenhancement

You should attach a diff, not a complete Portfile, so that we can see what the changes are (or, even better, submit a pull request). Looks like they are:

  • python/py-simplekml/Portfile

    diff --git a/python/py-simplekml/Portfile b/python/py-simplekml/Portfile
    index f15120610d5..624a44bfdd9 100644
    a b checksums rmd160 9455e10d40c8b53bdb20d92bd9d36746d9d1f2df \ 
    2222                    sha256  cda687be2754395fcab664e908ebf589facd41e8436d233d2be37a69efb1c536 \
    2323                    size    52999
    2424
    25 python.versions     37
     25python.versions     37 38 39 310 311
    2626
    2727if {${name} ne ${subport}} {
    2828   depends_build-append \

Any reason why you didn't list 312 as well?

comment:2 Changed 9 months ago by chrstphrchvz (Christopher Chavez)

The reporter replied via email: https://lists.macports.org/pipermail/macports-dev/2024-February/045450.html

Good to know for next time.

I expect 312 should be fine as well, although I haven't tested it.

Thanks

--Adam

comment:3 Changed 9 months ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:4 Changed 9 months ago by dershow

Looks like you ran the diff anyway. Thanks. Can you update the port as well?

comment:5 Changed 9 months ago by reneeotten (Renee Otten)

Owner: set to reneeotten
Resolution: fixed
Status: newclosed

In 816b20738758077c03e3e0511ee7723d846410c6/macports-ports (master):

py-simplemkl: drop py37, add py3{8-12} subports

Closes: #69334

Note: See TracTickets for help on using tickets.