Skip to content
This repository was archived by the owner on Jun 15, 2022. It is now read-only.

Commit 770aee0

Browse files
committed
Change from 'OS X' to 'macOS'
1 parent 0d31801 commit 770aee0

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

docs/installation.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ the `python2-pyspotify package
5858
:ref:`installing from source <source-install>` in these cases.
5959

6060

61-
OS X: Install wheel package from PyPI with pip
61+
macOS: Install wheel package from PyPI with pip
6262
==============================================
6363

6464
From PyPI, you can install precompiled wheel packages of pyspotify that bundle
6565
libspotify. The packages should work on all combinations of:
6666

67-
- OS X 10.6 and newer
67+
- macOS 10.6 and newer
6868
- 32-bit and 64-bit
6969
- Apple-Python, Python.org-Python, Homebrew-Python
7070

@@ -78,7 +78,7 @@ libspotify. The packages should work on all combinations of:
7878
pip install pyspotify
7979

8080

81-
OS X: Install from Homebrew
81+
macOS: Install from Homebrew
8282
===========================
8383

8484
The `Mopidy <https://mopidy.com/>`__ project maintains its own `Homebrew

spotify/api.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ typedef struct sp_session_config {
726726
* is a sample pem file in examples. It is recommended that the application export a similar file from
727727
* the local certificate store.
728728
*/
729-
// XXX As of 2013-06-25 this isn't available in the OS X build of libspotify.
729+
// XXX As of 2013-06-25 this isn't available in the macOS build of libspotify.
730730
//const char *ca_certs_filename;
731731
...;
732732

spotify/config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def ca_certs_filename(self):
267267
used for verifying third parties' HTTPS servers, like the Last.fm
268268
servers if you scrobbling the music you listen to through libspotify.
269269
270-
libspotify for OS X use other means for communicating with HTTPS
270+
libspotify for macOS use other means for communicating with HTTPS
271271
servers and ignores this configuration.
272272
273273
The file must be a concatenation of all certificates in PEM format.

spotify/sink.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class PortAudioSink(Sink):
115115

116116
"""Audio sink for `PortAudio <http://www.portaudio.com/>`_.
117117
118-
PortAudio is available for many platforms, including Linux, OS X, and
118+
PortAudio is available for many platforms, including Linux, macOS, and
119119
Windows. This audio sink requires `PyAudio
120120
<https://pypi.python.org/pypi/pyaudio>`_. PyAudio is probably packaged in
121121
your Linux distribution.
@@ -130,7 +130,7 @@ class PortAudioSink(Sink):
130130
sudo apt-get install portaudio19-dev
131131
pip install --allow-unverified=pyaudio pyaudio
132132
133-
On OS X you can install PortAudio using Homebrew::
133+
On macOS you can install PortAudio using Homebrew::
134134
135135
brew install portaudio
136136
pip install --allow-unverified=pyaudio pyaudio

tasks.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,17 @@ def mac_wheels(ctx):
5050
"""
5151
Create wheel packages compatible with:
5252
53-
- OS X 10.6+
53+
- macOS 10.6+
5454
- 32-bit and 64-bit
5555
- Apple-Python, Python.org-Python, Homebrew-Python
5656
5757
Based upon https://github.com/MacPython/wiki/wiki/Spinning-wheels
5858
"""
5959

6060
versions = [
61-
# Python.org Python 2.7 for Mac OS X 10.6 and later
61+
# Python.org Python 2.7 for macOS 10.6 and later
6262
"/Library/Frameworks/Python.framework/Versions/2.7/bin/python",
63-
# Python.org Python 3.7 for Mac OS X 10.6 and later
63+
# Python.org Python 3.7 for macOS 10.6 and later
6464
"/Library/Frameworks/Python.framework/Versions/3.7/bin/python3",
6565
# Homebrew Python 2.7
6666
"/usr/local/bin/python2.7",

tests/test_config.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ def test_proxy_password_converts_none_to_empty_string_and_back(self):
249249

250250
@unittest.skipIf(
251251
platform.system() == "Darwin",
252-
"The struct field does not exist in libspotify for OS X",
252+
"The struct field does not exist in libspotify for macOS",
253253
)
254254
def test_ca_certs_filename(self):
255255
self.config.ca_certs_filename = b"ca.crt"
@@ -262,7 +262,7 @@ def test_ca_certs_filename(self):
262262

263263
@unittest.skipIf(
264264
platform.system() == "Darwin",
265-
"The struct field does not exist in libspotify for OS X",
265+
"The struct field does not exist in libspotify for macOS",
266266
)
267267
def test_ca_certs_filename_defaults_to_none(self):
268268
self.assertIsNone(self.config.ca_certs_filename)
@@ -325,7 +325,7 @@ def test_sp_session_config_has_unicode_encoded_as_utf8(self):
325325

326326
@unittest.skipIf(
327327
platform.system() == "Darwin",
328-
"The struct field does not exist in libspotify for OS X",
328+
"The struct field does not exist in libspotify for macOS",
329329
)
330330
def test_sp_session_config_ca_certs_filename_has_unicode_encoded_as_utf8(
331331
self,

0 commit comments

Comments
 (0)