8000 Fix typos discovered by codespell · idimetrix/python-for-android@d009d0f · GitHub
[go: up one dir, main page]

Skip to content

Commit d009d0f

Browse files
committed
Fix typos discovered by codespell
1 parent 9bfa3eb commit d009d0f

File tree

22 files changed

+28
-28
lines changed

22 files changed

+28
-28
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ packages:
178178
of the project will be run. This happens with cross compilation set up
179179
(`CC`/`CFLAGS`/... set to use the
180180
proper toolchain) and a custom site-packages location.
181-
The actual comand is a simple `pip install .` in the project folder
181+
The actual command is a simple `pip install .` in the project folder
182182
with some extra options: e.g. all dependencies that were already
183183
installed by recipes will be pinned with a `-c` constraints file
184184
to make sure pip won't install them, and build isolation will be

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ It can generate:
1212
* [Android App Bundle](https://developer.android.com/guide/app-bundle/faq)
1313
(AAB) files which can be shared on [Google Play Store](https://play.google.com/store/).
1414
* [Android Archive< 8000 span class="pl-s">](https://developer.android.com/studio/projects/android-library)
15-
(AAR) files which can be used as a re-usable bundle of resources for other
15+
(AAR) files which can be used as a reusable bundle of resources for other
1616
projects.
1717

1818
It supports multiple CPU architectures.
@@ -26,7 +26,7 @@ a Python web server.
2626
It automatically supports dependencies on most pure Python packages. For other
2727
packages, including those that depend on C code, a special "recipe" must be
2828
written to support cross-compiling. python-for-android comes with recipes for
29-
many of the mosty popular libraries (e.g. numpy and sqlalchemy) built in.
29+
many of the mostly popular libraries (e.g. numpy and sqlalchemy) built in.
3030

3131
python-for-android works by cross-compiling the Python interpreter and its
3232
dependencies for Android devices, and bundling it with the app's python code

doc/source/buildoptions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ across all the other bootstraps, the Qt bootstrap introduces the following 3 new
250250
These build options are automatically populated by the ``pyside6-android-deploy`` tool, but can be
251251
modified by updating the ``buildozer.spec`` file. Apart from the above 3 build options, the tool
252252
also automatically identifies the values to be fed into the cli options ``--permission``, ``--add-jar``
253-
depending on the PySide6 modules used by the applicaiton.
253+
depending on the PySide6 modules used by the application.
254254

255255
Requirements blacklist (APK size optimization)
256256
----------------------------------------------

doc/source/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ It can generate:
1313
* `Android App Bundle <https://developer.android.com/guide/app-bundle/faq>`_
1414
(AAB) files which can be shared on `Google Play Store <https://play.google.com/store/>`_.
1515
* `Android Archive <https://developer.android.com/studio/projects/android-library>`_
16-
(AAR) files which can be used as a re-usable bundle of resources for other
16+
(AAR) files which can be used as a reusable bundle of resources for other
1717
projects.
1818

1919
It supports multiple CPU architectures.
@@ -27,7 +27,7 @@ a Python web server.
2727
It automatically supports dependencies on most pure Python packages. For other
2828
packages, including those that depend on C code, a special "recipe" must be
2929
written to support cross-compiling. python-for-android comes with recipes for
30-
many of the mosty popular libraries (e.g. numpy and sqlalchemy) built in.
30+
many of the mostly popular libraries (e.g. numpy and sqlalchemy) built in.
3131

3232
python-for-android works by cross-compiling the Python interpreter and its
3333
dependencies for Android devices, and bundling it with the app's python code

doc/source/services.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ of your APK.
8989
If you are using buildozer, the identifier is set by the ``package.name``
9090
and ``package.domain`` values in your buildozer.spec file.
9191
The name of the service is ``ServiceMyservice``, where ``Myservice``
92-
is the name specied by one of the ``services`` values, but with the first
92+
is the name specified by one of the ``services`` values, but with the first
9393
letter upper case.
9494

9595
If you are using python-for-android directly, the identifier is set by the ``--package``

pythonforandroid/bootstraps/common/build/build.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def get_bootstrap_name():
5555
curdir = dirname(__file__)
5656

5757
BLACKLIST_PATTERNS = [
58-
# code versionning
58+
# code versioning
5959
'^*.hg/*',
6060
'^*.git/*',
6161
'^*.bzr/*',
@@ -170,7 +170,7 @@ def clean(tinfo):
170170
files.append((fn, relpath(realpath(fn), sd)))
171171
files.sort() # deterministic
172172

173-
# create tar.gz of thoses files
173+
# create tar.gz of those files
174174
gf = GzipFile(tfn, 'wb', mtime=0) # deterministic
175175
tf = tarfile.open(None, 'w', gf, format=tarfile.USTAR_FORMAT)
176176
dirs = []
@@ -339,7 +339,7 @@ def make_package(args):
339339
else:
340340
shutil.copytree(res_dir, res_dir_initial)
341341

342-
# Add user resouces
342+
# Add user resources
343343
for resource in args.resources:
344344
resource_src, resource_dest = resource.split(":")
345345
if isfile(realpath(resource_src)):

pythonforandroid/bootstraps/common/build/jni/application/src/start.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ void Java_org_kivy_android_PythonActivity_nativeInit(JNIEnv* env, jclass cls, jo
417417
{
418418
/* This nativeInit follows SDL2 */
419419

420-
/* This interface could expand with ABI negotiation, calbacks, etc. */
420+
/* This interface could expand with ABI negotiation, callbacks, etc. */
421421
/* SDL_Android_Init(env, cls); */
422422

423423
/* SDL_SetMainReady(); */

pythonforandroid/bootstraps/common/build/src/main/java/org/kamranzafar/jtar/TarHeader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
* '4' Block special
4949
* '5' Directory
5050
* '6' FIFO
51-
* '7' Contigous
51+
* '7' Contiguous
5252
* </pre>
5353
*
5454
*

pythonforandroid/bootstraps/common/build/src/main/java/org/kivy/android/PythonService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public void onDestroy() {
180180
@Override
181181
public void onTaskRemoved(Intent rootIntent) {
182182
super.onTaskRemoved(rootIntent);
183-
//sticky servcie runtime/restart is managed by the OS. leave it running when app is closed
183+
//sticky service runtime/restart is managed by the OS. leave it running when app is closed
184184
if (startType() != START_STICKY) {
185185
stopSelf();
186186
}

pythonforandroid/bootstraps/common/build/src/main/java/org/renpy/android/Hardware.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ public static boolean checkNetwork()
260260
}
261261

262262
/**
263-
* To recieve network state changes
263+
* To receive network state changes
264264
*/
265265
public static void registerNetworkCheck()
266266
{

0 commit comments

Comments
 (0)
0