-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is a recipe for mysql-connector-python #2974
Open
kyprosantreou
wants to merge
13
commits into
kivy:develop
Choose a base branch
from
kyprosantreou:develop
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 10 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
146b0cd
This is a recipe for mysql-connector-python
kyprosantreou 333a9dd
mysql-connector-python update
kyprosantreou 0e506c0
mysql-connector-python fix
kyprosantreou d118c6f
Merge branch 'kivy:develop' into develop
kyprosantreou b42cd1e
fix the bug of 2 lines
kyprosantreou 89f1869
error fixed
kyprosantreou ae6e077
Update pythonforandroid/recipes/mysql-connector-python/__init__.py
kyprosantreou 9d6f182
update
kyprosantreou 0823f81
update
kyprosantreou c561230
Merge branch 'kivy:develop' into develop
kyprosantreou 64f3216
Update __init__.py
kyprosantreou 8605308
update
kyprosantreou 90227b3
Merge branch 'kivy:develop' into develop
kyprosantreou File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
pythonforandroid/recipes/mysql-connector-python/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
from pythonforandroid.recipe import CompiledComponentsPythonRecipe | ||
|
||
|
||
class MySQLConnectorPythonRecipe(CompiledComponentsPythonRecipe): | ||
|
||
name = 'mysql-connector-python' | ||
version = '8.3.0' | ||
url = ( | ||
f"https://downloads.mysql.com/archives/get/p/29/file/" | ||
f"mysql-connector-python-py{version}-1ubuntu23.10_amd64.deb" | ||
) | ||
call_hostpython_via_targetpython = False | ||
|
||
depends = ['python3', 'setuptools'] | ||
|
||
|
||
recipe = MySQLConnectorPythonRecipe() |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is giving a 404
Why didn't you keep it as :
Or with line split:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i change the link to url = (
"https://dev.mysql.com/get/Downloads/Connector-Python/"
f"mysql-connector-python-{version}-src.tar.gz"
). Thank you! i home this time will work!