diff options
author | Luca Ceresoli <luca@lucaceresoli.net> | 2015-09-28 18:10:31 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-09-30 12:46:42 +0200 |
commit | 7b0e757fb85fd88a76fb4528926914288eb2e477 (patch) | |
tree | 38e6646a048d19b878f633f515fd7d4c0d3d0534 /package/python-pyyaml/python-pyyaml.mk | |
parent | 5f6cb63454a98bfc7e686469b3cf32fa2d40fd70 (diff) | |
download | buildroot-7b0e757fb85fd88a76fb4528926914288eb2e477.tar.gz buildroot-7b0e757fb85fd88a76fb4528926914288eb2e477.zip |
package: Remove trailing slash from all package site URLs
The recommended form is without the trailing slash, and will become
mandatory in a coming commit.
This avoids the need for the $$($(2)_SITE:/=) magic in package/pkg-generic.mk
to avoid double slashes in download URLs, like
"https://mosh.mit.edu//mosh-1.2.5.tar.gz".
^^
Note: this work has already been done in b0b9606530dfc6de4030 a few
months ago and earlier in c7f4b964718bc5a3329b and 4a9eb20de817fa64,
but no check has been added at that time to avoid new slashes to slip
in, and so they did. This time a patch will follow immediately to
prevent future mistakes from being unnoticed.
Mass-replaced with the following command:
git grep -l '_SITE.*/$' | xargs sed -i '/_SITE.*=/s|/$||'
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-pyyaml/python-pyyaml.mk')
-rw-r--r-- | package/python-pyyaml/python-pyyaml.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/python-pyyaml/python-pyyaml.mk b/package/python-pyyaml/python-pyyaml.mk index ef10dac922..f3d72833db 100644 --- a/package/python-pyyaml/python-pyyaml.mk +++ b/package/python-pyyaml/python-pyyaml.mk @@ -6,7 +6,7 @@ PYTHON_PYYAML_VERSION = 3.11 PYTHON_PYYAML_SOURCE = PyYAML-$(PYTHON_PYYAML_VERSION).tar.gz -PYTHON_PYYAML_SITE = https://pypi.python.org/packages/source/P/PyYAML/ +PYTHON_PYYAML_SITE = https://pypi.python.org/packages/source/P/PyYAML PYTHON_PYYAML_SETUP_TYPE = distutils PYTHON_PYYAML_LICENSE = Python software foundation license v2 PYTHON_PYYAML_LICENSE_FILES = LICENSE |