Skip to content

Commit

Permalink
dbus-python: add dbus-python38 subport
Browse files Browse the repository at this point in the history
  • Loading branch information
mamoll committed Oct 29, 2019
1 parent 42baaa2 commit 8fe8bee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devel/dbus-python/Portfile
Expand Up @@ -6,7 +6,7 @@ name dbus-python
version 1.2.8
#revision 0

set python_versions {27 34 35 36 37}
set python_versions {27 34 35 36 37 38}

# this default version should stay synchronized with python_get_default_version
# in the python PortGroup
Expand Down

3 comments on commit 8fe8bee

@cjones051073
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mamoll
Copy link
Member Author

@mamoll mamoll commented on 8fe8bee Oct 29, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might actually be an issue with python3.8 itself. This produces the wrong output:

> python3.8 -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('LINKFORSHARED'))"
-L/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/config-3.8-darwin -lpython3.8m -ldl -framework CoreFoundation

In Python3.8 the library doesn't have the m suffix.

@mamoll
Copy link
Member Author

@mamoll mamoll commented on 8fe8bee Oct 29, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reported here: https://trac.macports.org/ticket/59518
Workaround committed here: 6836194

Please sign in to comment.