
from pythonforandroid.recipe import PythonRecipe


class PySDL2Recipe(PythonRecipe):
    version = '0.9.3'
    url = 'https://bitbucket.org/marcusva/py-sdl2/downloads/PySDL2-{version}.tar.gz'

    depends = ['sdl2']


recipe = PySDL2Recipe()


from pythonforandroid.recipe import PythonRecipe


class PySDL2Recipe(PythonRecipe):
    version = '0.9.6'
    url = 'https://files.pythonhosted.org/packages/source/P/PySDL2/PySDL2-{version}.tar.gz'

    depends = ['sdl2']


recipe = PySDL2Recipe()

Fix outdated PySDL2 version and non-PyPI install source
Fix outdated PySDL2 version and non-PyPI install source

  
  from pythonforandroid.recipe import PythonRecipe
  
  
  class PySDL2Recipe(PythonRecipe):
-     version = '0.9.3'
+     version = '0.9.6'
-     url = 'https://bitbucket.org/marcusva/py-sdl2/downloads/PySDL2-{version}.tar.gz'
+     url = 'https://files.pythonhosted.org/packages/source/P/PySDL2/PySDL2-{version}.tar.gz'
  
      depends = ['sdl2']
  
  
  recipe = PySDL2Recipe()
  
Fix outdated PySDL2 version and non-PyPI install source
## Code Before:

from pythonforandroid.recipe import PythonRecipe


class PySDL2Recipe(PythonRecipe):
    version = '0.9.3'
    url = 'https://bitbucket.org/marcusva/py-sdl2/downloads/PySDL2-{version}.tar.gz'

    depends = ['sdl2']


recipe = PySDL2Recipe()

## Instruction:
Fix outdated PySDL2 version and non-PyPI install source
## Code After:

from pythonforandroid.recipe import PythonRecipe


class PySDL2Recipe(PythonRecipe):
    version = '0.9.6'
    url = 'https://files.pythonhosted.org/packages/source/P/PySDL2/PySDL2-{version}.tar.gz'

    depends = ['sdl2']


recipe = PySDL2Recipe()
