Skip to content

Commit

Permalink
Merge pull request #1592 from rmartin16/bump-ppb
Browse files Browse the repository at this point in the history
Bump PursuedPyBear from 1.1 to 3.2.0
  • Loading branch information
freakboy3742 committed Jan 11, 2024
2 parents ee60e2f + a6ec89c commit c643951
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 22 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*.egg-info
/dist
/build
automation/build
docs/_build/
distribute-*
.DS_Store
Expand Down
1 change: 1 addition & 0 deletions changes/1592.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The version of PursuedPyBear for new projects was bumped from 1.1 to 3.2.0.
39 changes: 28 additions & 11 deletions src/briefcase/bootstraps/pursuedpybear.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ def pyproject_table_briefcase_app_extra_content(self):
return """
requires = [
"ppb~=1.1",
"pysdl2-dll==2.0.22",
"ppb~=3.2.0",
]
test_requires = [
{%- if cookiecutter.test_framework == "pytest" %}
Expand All @@ -78,44 +77,63 @@ def pyproject_table_linux(self):
def pyproject_table_linux_system_debian(self):
return """
system_requires = [
# ?? FIXME
]
system_runtime_requires = [
# ?? FIXME
"libsdl2-2.0-0",
"libsdl2-mixer-2.0-0",
"libsdl2-image-2.0-0",
"libsdl2-gfx-1.0-0",
"libsdl2-ttf-2.0-0",
]
"""

def pyproject_table_linux_system_rhel(self):
return """
system_requires = [
# ?? FIXME
]
system_runtime_requires = [
# ?? FIXME
"SDL2",
"SDL2_ttf",
"SDL2_image",
"SDL2_gfx",
"SDL2_mixer",
"libmodplug",
]
"""

def pyproject_table_linux_system_suse(self):
return """
system_requires = [
# ?? FIXME
]
system_runtime_requires = [
# ?? FIXME
"SDL2",
"SDL2_gfx",
"SDL2_ttf",
"SDL2_image",
"SDL2_mixer",
"libmodplug1",
]
"""

def pyproject_table_linux_system_arch(self):
return """
system_requires = [
# ?? FIXME
"sdl2",
"sdl2_ttf",
"sdl2_image",
"sdl2_gfx",
"sdl2_mixer",
]
system_runtime_requires = [
# ?? FIXME
"sdl2",
"sdl2_ttf",
"sdl2_image",
"sdl2_gfx",
"sdl2_mixer",
]
"""

Expand All @@ -124,7 +142,6 @@ def pyproject_table_linux_appimage(self):
manylinux = "manylinux_2_28"
system_requires = [
# ?? FIXME
]
linuxdeploy_plugins = [
Expand Down
39 changes: 28 additions & 11 deletions tests/commands/new/test_build_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,8 +522,7 @@ def main():
pyproject_table_briefcase_app_extra_content="""
requires = [
"ppb~=1.1",
"pysdl2-dll==2.0.22",
"ppb~=3.2.0",
]
test_requires = [
{%- if cookiecutter.test_framework == "pytest" %}
Expand All @@ -543,45 +542,63 @@ def main():
""",
pyproject_table_linux_system_debian="""
system_requires = [
# ?? FIXME
]
system_runtime_requires = [
# ?? FIXME
"libsdl2-2.0-0",
"libsdl2-mixer-2.0-0",
"libsdl2-image-2.0-0",
"libsdl2-gfx-1.0-0",
"libsdl2-ttf-2.0-0",
]
""",
pyproject_table_linux_system_rhel="""
system_requires = [
# ?? FIXME
]
system_runtime_requires = [
# ?? FIXME
"SDL2",
"SDL2_ttf",
"SDL2_image",
"SDL2_gfx",
"SDL2_mixer",
"libmodplug",
]
""",
pyproject_table_linux_system_suse="""
system_requires = [
# ?? FIXME
]
system_runtime_requires = [
# ?? FIXME
"SDL2",
"SDL2_gfx",
"SDL2_ttf",
"SDL2_image",
"SDL2_mixer",
"libmodplug1",
]
""",
pyproject_table_linux_system_arch="""
system_requires = [
# ?? FIXME
"sdl2",
"sdl2_ttf",
"sdl2_image",
"sdl2_gfx",
"sdl2_mixer",
]
system_runtime_requires = [
# ?? FIXME
"sdl2",
"sdl2_ttf",
"sdl2_image",
"sdl2_gfx",
"sdl2_mixer",
]
""",
pyproject_table_linux_appimage="""
manylinux = "manylinux_2_28"
system_requires = [
# ?? FIXME
]
linuxdeploy_plugins = [
Expand Down

0 comments on commit c643951

Please sign in to comment.