diff --git a/README.md b/README.md index 4445e65..64bf4f4 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ your application requirements and settings such as title, icon, included modules etc. Buildozer will use that spec to create a package for Android, iOS, Windows, OSX and/or Linux. -Buildozer currently supports packaging for Android via the [python-for-android](http://github.com/kivy/python-for-android/) +Buildozer currently supports packaging for Android via the [python-for-android](https://github.com/kivy/python-for-android/) project, and for iOS via the kivy-ios project. iOS and OSX are still under work. For Android, buildozer will automatically download and prepare the @@ -24,7 +24,7 @@ build dependencies. For more information, see Note that only Python 3 is supported. Note that this tool has nothing to do with the eponymous online build service -[buildozer.io](http://buildozer.io). +[buildozer.io](https://buildozer.io). ## Installing Buildozer with target Python 3 (default): @@ -176,7 +176,7 @@ For [debugging on Android](https://python-for-android.readthedocs.io/en/stable/t ## Contributing We love pull requests and discussing novel ideas. Check out our -[contribution guide](http://kivy.org/docs/contribute.html) and +[contribution guide](https://kivy.org/docs/contribute.html) and feel free to improve buildozer. The following mailing list and IRC channel are used exclusively for diff --git a/buildozer/targets/android.py b/buildozer/targets/android.py index 9a8eef3..381d40d 100644 --- a/buildozer/targets/android.py +++ b/buildozer/targets/android.py @@ -368,7 +368,7 @@ class TargetAndroid(Target): self.buildozer.info('Android ANT is missing, downloading') archive = 'apache-ant-{0}-bin.tar.gz'.format(APACHE_ANT_VERSION) - url = 'http://archive.apache.org/dist/ant/binaries/' + url = 'https://archive.apache.org/dist/ant/binaries/' self.buildozer.download(url, archive, cwd=ant_dir) @@ -427,7 +427,7 @@ class TargetAndroid(Target): # https://developer.android.com/ndk/downloads/older_releases if platform in ('win32', 'cygwin'): - # Checking of 32/64 bits at Windows from: http://stackoverflow.com/a/1405971/798575 + # Checking of 32/64 bits at Windows from: https://stackoverflow.com/a/1405971/798575 import struct archive = 'android-ndk-r{0}-windows-{1}.zip' is_64 = (8 * struct.calcsize("P") == 64) @@ -460,7 +460,7 @@ class TargetAndroid(Target): if _version >= '10e': url = 'https://dl.google.com/android/repository/' else: - url = 'http://dl.google.com/android/ndk/' + url = 'https://dl.google.com/android/ndk/' self.buildozer.download(url, archive, @@ -659,7 +659,7 @@ class TargetAndroid(Target): self.buildozer.error( 'You might have missed to install 32bits libs') self.buildozer.error( - 'Check http://buildozer.readthedocs.org/en/latest/installation.html') + 'Check https://buildozer.readthedocs.org/en/latest/installation.html') self.buildozer.error('') else: self.buildozer.error('') diff --git a/buildozer/targets/osx.py b/buildozer/targets/osx.py index fa4444a..6fd5d22 100644 --- a/buildozer/targets/osx.py +++ b/buildozer/targets/osx.py @@ -46,14 +46,14 @@ class TargetOSX(Target): self.buildozer.info('Downloading kivy...') status_code = check_output( ('curl', '-L', '--write-out', '%{http_code}', '-o', 'Kivy{}.dmg'.format(py_branch), - 'http://kivy.org/downloads/{}/Kivy-{}-osx-python{}.dmg' + 'https://kivy.org/downloads/{}/Kivy-{}-osx-python{}.dmg' .format(current_kivy_vers, current_kivy_vers, py_branch)), cwd=cwd) if status_code == "404": self.buildozer.error( "Unable to download the Kivy App. Check osx.kivy_version in your buildozer.spec, and verify " - "Kivy servers are accessible. http://kivy.org/downloads/") + "Kivy servers are accessible. https://kivy.org/downloads/") check_call(("rm", "Kivy{}.dmg".format(py_branch)), cwd=cwd) sys.exit(1) diff --git a/buildozer/tools/packer/Makefile b/buildozer/tools/packer/Makefile index 5021d91..8ae8b96 100644 --- a/buildozer/tools/packer/Makefile +++ b/buildozer/tools/packer/Makefile @@ -25,7 +25,7 @@ torrent: mktorrent \ -a ${TORRENT_ANNOUNCE} \ -o output-kivy-buildozer-vm/kivy-buildozer-vm.torrent \ - -w http://txzone.net/files/torrents/${PACKAGE_FILENAME} \ + -w https://txzone.net/files/torrents/${PACKAGE_FILENAME} \ -v output-kivy-buildozer-vm/${PACKAGE_FILENAME} upload: diff --git a/buildozer/tools/packer/scripts/additional-packages.sh b/buildozer/tools/packer/scripts/additional-packages.sh index b97ebe8..116cefe 100644 --- a/buildozer/tools/packer/scripts/additional-packages.sh +++ b/buildozer/tools/packer/scripts/additional-packages.sh @@ -3,7 +3,7 @@ # an error when using the android sdk: # "Can't read cryptographic policy directory: unlimited" -wget http://bootstrap.pypa.io/get-pip.py +wget https://bootstrap.pypa.io/get-pip.py python get-pip.py rm get-pip.py diff --git a/docs/Makefile b/docs/Makefile index 7048a95..0d57ec6 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -9,7 +9,7 @@ BUILDDIR = build # User-friendly check for sphinx-build ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1) -$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/) +$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from https://www.sphinx-doc.org/) endif # Internal variables. diff --git a/docs/make.bat b/docs/make.bat index c5f1be8..acd4fe5 100644 --- a/docs/make.bat +++ b/docs/make.bat @@ -56,7 +56,7 @@ if errorlevel 9009 ( echo.may add the Sphinx directory to PATH. echo. echo.If you don't have Sphinx installed, grab it from - echo.http://sphinx-doc.org/ + echo.https://www.sphinx-doc.org/ exit /b 1 ) diff --git a/docs/source/contribute.rst b/docs/source/contribute.rst index f3c7575..0ce90ba 100644 --- a/docs/source/contribute.rst +++ b/docs/source/contribute.rst @@ -15,10 +15,10 @@ limitation. To test your own recipe via Buildozer, you need to: -#. Fork `Python for Android `_, and +#. Fork `Python for Android `_, and clone your own version (this will allow easy contribution later):: - git clone http://github.com/YOURNAME/python-for-android + git clone https://github.com/YOURNAME/python-for-android #. Change your `buildozer.spec` to reference your version:: @@ -44,6 +44,6 @@ include it in the python-for-android project, by issuing a Pull Request: git push origin master -#. Go to `http://github.com/YOURNAME/python-for-android`, and you should see +#. Go to `https://github.com/YOURNAME/python-for-android`, and you should see your new branch and a button "Pull Request" on it. Use it, write a description about what you did, and Send! diff --git a/setup.py b/setup.py index 1df1fd9..01c2956 100644 --- a/setup.py +++ b/setup.py @@ -57,7 +57,7 @@ setup( long_description_content_type='text/markdown', author='Mathieu Virbel', author_email='mat@kivy.org', - url='http://github.com/kivy/buildozer', + url='https://github.com/kivy/buildozer', license='MIT', packages=[ 'buildozer', 'buildozer.targets', 'buildozer.libs', 'buildozer.scripts' diff --git a/tests/test_buildozer.py b/tests/test_buildozer.py index 7f27c42..0856072 100644 --- a/tests/test_buildozer.py +++ b/tests/test_buildozer.py @@ -158,7 +158,7 @@ class TestBuildozer(unittest.TestCase): assert m_file_extract.call_args_list == [mock.call(mock.ANY, cwd='/my/ant/path')] assert ant_path == my_ant_path assert download.call_args_list == [ - mock.call("http://archive.apache.org/dist/ant/binaries/", mock.ANY, cwd=my_ant_path)] + mock.call("https://archive.apache.org/dist/ant/binaries/", mock.ANY, cwd=my_ant_path)] # Mock ant already installed with mock.patch.object(Buildozer, 'file_exists', return_value=True): ant_path = target._install_apache_ant()