Skip to content

Commit

Permalink
Merge pull request #218 from DimitriPapadopoulos/http
Browse files Browse the repository at this point in the history
Update URLs in documentation: http:// → https://
  • Loading branch information
jaraco authored Feb 12, 2024
2 parents 6da7ebb + ee263dc commit f9d42db
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion distutils/command/bdist_rpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ def _make_spec_file(self): # noqa: C901
fixed = "brp-python-bytecompile %{__python} \\\n"
fixed_hook = vendor_hook.replace(problem, fixed)
if fixed_hook != vendor_hook:
spec_file.append('# Workaround for http://bugs.python.org/issue14443')
spec_file.append('# Workaround for https://bugs.python.org/issue14443')
spec_file.append('%define __os_install_post ' + fixed_hook + '\n')

# put locale summaries into spec file
Expand Down
6 changes: 3 additions & 3 deletions distutils/msvc9compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -698,8 +698,8 @@ def link( # noqa: C901
def manifest_setup_ldargs(self, output_filename, build_temp, ld_args):
# If we need a manifest at all, an embedded manifest is recommended.
# See MSDN article titled
# "How to: Embed a Manifest Inside a C/C++ Application"
# (currently at http://msdn2.microsoft.com/en-us/library/ms235591(VS.80).aspx)
# "Understanding manifest generation for C/C++ programs"
# (currently at https://learn.microsoft.com/en-us/cpp/build/understanding-manifest-generation-for-c-cpp-programs)
# Ask the linker to generate the manifest in the temp dir, so
# we can check it, and possibly embed it, later.
temp_manifest = os.path.join(
Expand All @@ -710,7 +710,7 @@ def manifest_setup_ldargs(self, output_filename, build_temp, ld_args):
def manifest_get_embed_info(self, target_desc, ld_args):
# If a manifest should be embedded, return a tuple of
# (manifest_filename, resource_id). Returns None if no manifest
# should be embedded. See http://bugs.python.org/issue7833 for why
# should be embedded. See https://bugs.python.org/issue7833 for why
# we want to avoid any manifest for extension modules if we can)
for arg in ld_args:
if arg.startswith("/MANIFESTFILE:"):
Expand Down
2 changes: 1 addition & 1 deletion distutils/tests/test_bdist_rpm.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def test_quiet(self):

@mac_woes
@requires_zlib()
# http://bugs.python.org/issue1533164
# https://bugs.python.org/issue1533164
@pytest.mark.skipif("not find_executable('rpm')")
@pytest.mark.skipif("not find_executable('rpmbuild')")
def test_no_optimize_flag(self):
Expand Down
2 changes: 1 addition & 1 deletion distutils/tests/test_build_scripts.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def test_version_int(self):
)
cmd.finalize_options()

# http://bugs.python.org/issue4524
# https://bugs.python.org/issue4524
#
# On linux-g++-32 with command line `./configure --enable-ipv6
# --with-suffix=3`, python is compiled okay but the build scripts
Expand Down
2 changes: 1 addition & 1 deletion distutils/tests/test_sdist.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def test_make_distribution(self):

@pytest.mark.usefixtures('needs_zlib')
def test_add_defaults(self):
# http://bugs.python.org/issue2279
# https://bugs.python.org/issue2279

# add_default should also include
# data_files and package_data
Expand Down
3 changes: 1 addition & 2 deletions distutils/unixccompiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,7 @@ def _is_gcc(self):

def runtime_library_dir_option(self, dir):
# XXX Hackish, at the very least. See Python bug #445902:
# http://sourceforge.net/tracker/index.php
# ?func=detail&aid=445902&group_id=5470&atid=105470
# https://bugs.python.org/issue445902
# Linkers on different platforms need different options to
# specify that directories need to be added to the list of
# directories searched for dependencies when a dynamic library
Expand Down
2 changes: 1 addition & 1 deletion docs/distutils/apiref.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,7 @@ directories.

Files in *src* that begin with :file:`.nfs` are skipped (more information on
these files is available in answer D2 of the `NFS FAQ page
<http://nfs.sourceforge.net/#section_d>`_).
<https://nfs.sourceforge.net/#section_d>`_).

.. versionchanged:: 3.3.1
NFS files are ignored.
Expand Down
2 changes: 1 addition & 1 deletion docs/distutils/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -335,4 +335,4 @@ loads its values::
.. % \section{Putting it all together}
.. _docutils: http://docutils.sourceforge.net
.. _docutils: https://docutils.sourceforge.io
2 changes: 1 addition & 1 deletion docs/distutils/setupscript.rst
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ Notes:

'long string'
Multiple lines of plain text in reStructuredText format (see
http://docutils.sourceforge.net/).
https://docutils.sourceforge.io/).

'list of strings'
See below.
Expand Down

0 comments on commit f9d42db

Please sign in to comment.