Skip to content
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

Upgrade itsdangerous recipe to 2.2.0 #946

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Kivy for iOS


[![Backers on Open Collective](https://opencollective.com/kivy/backers/badge.svg)](https://opencollective.com/kivy)
[![Sponsors on Open Collective](https://opencollective.com/kivy/sponsors/badge.svg)](https://opencollective.com/kivy)
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg)](code_of_conduct.md)
Expand Down
10 changes: 10 additions & 0 deletions kivy_ios/recipes/bitarray/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from kivy_ios.toolchain import PythonRecipe


class BitarrayRecipe(PythonRecipe):
version = "3.0.0"
url = "https://github.com/ilanschnell/bitarray/archive/refs/tags/{version}.tar.gz"
depends = ["hostpython3", "python3"]


recipe = BitarrayRecipe()
6 changes: 3 additions & 3 deletions kivy_ios/recipes/itsdangerous/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@


class ItsDangerousRecipe(PythonRecipe):
version = "1.1.0"
version = "2.2.0"
url = "https://github.com/mitsuhiko/itsdangerous/archive/{version}.zip"
depends = ["python"]

def install(self):
plat = list(self.platforms_to_build)[0]
build_dir = self.get_build_dir(plat)
hostpython = sh.Command(self.ctx.hostpython)
hostpython_pip = sh.Command(join(self.ctx.dist_dir, "hostpython3", "bin", "pip3"))
build_env = plat.get_env()
dest_dir = join(self.ctx.dist_dir, "root", "python3")
build_env['PYTHONPATH'] = self.ctx.site_packages_dir
with cd(build_dir):
shprint(hostpython, "setup.py", "install", "--prefix", dest_dir, _env=build_env)
shprint(hostpython_pip, "install", build_dir, "--prefix", dest_dir, _env=build_env)


recipe = ItsDangerousRecipe()
Loading