Skip to content

Commit

Permalink
py-gssapi: Remove setup.py patch
Browse files Browse the repository at this point in the history
Previously, two changes were made to python-gssapi's setup.py:

* Instead of using macOS' GSS.Framework on Mac OS X 10.7+, the minimum
  is raised to 10.9+.

* When not using GSS.Framework (that is, on Mac OS X below 10.9),
  instead of looking for a lib*.so file, look for a lib*.dylib file.

With the addition of the `kerberos5` variant, the above changes are no
longer needed:

* We force `kerberos5` use on Mac OS X below 10.9, so we don't need to
  change the minimum version in setup.py.

* When using the `kerberos5` variant, we short-circuit much of
  setup.py's detection logic by setting environment variables, so we
  don't need to change the code in setup.py.
  • Loading branch information
akkornel committed Feb 21, 2025
1 parent 07f1d30 commit 786b7aa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
2 changes: 0 additions & 2 deletions python/py-gssapi/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ checksums rmd160 71966a7d6bf97fca5ccf27f687334b53f8bd1d85 \

python.versions 39 310 311 312 313

patchfiles patch-setup.py.diff

# python-gssapi knows when it's running on macOS, and automatically configures
# itself to use macOS' GSSAPI Framework, which uses macOS' build of Heimdal
# Kerberos.
Expand Down
20 changes: 0 additions & 20 deletions python/py-gssapi/files/patch-setup.py.diff

This file was deleted.

0 comments on commit 786b7aa

Please sign in to comment.