From 23ae7d73c82b4027a2fda61d611ba83aa771b17f Mon Sep 17 00:00:00 2001 From: Ryan Pessa Date: Tue, 12 Jan 2016 17:15:09 -0600 Subject: [PATCH] add babel and pytz recipes --- pythonforandroid/recipes/babel/__init__.py | 15 +++++++++++++++ pythonforandroid/recipes/pytz/__init__.py | 15 +++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 pythonforandroid/recipes/babel/__init__.py create mode 100644 pythonforandroid/recipes/pytz/__init__.py diff --git a/pythonforandroid/recipes/babel/__init__.py b/pythonforandroid/recipes/babel/__init__.py new file mode 100644 index 0000000000..e0f61a5068 --- /dev/null +++ b/pythonforandroid/recipes/babel/__init__.py @@ -0,0 +1,15 @@ +from pythonforandroid.recipe import PythonRecipe + + +class BabelRecipe(PythonRecipe): + name = 'babel' + version = '2.1.1' + url = 'https://pypi.python.org/packages/source/B/Babel/Babel-{version}.tar.gz' + + depends = [('python2', 'python3'), 'setuptools', 'pytz'] + + call_hostpython_via_targetpython = False + install_in_hostpython = True + + +recipe = BabelRecipe() diff --git a/pythonforandroid/recipes/pytz/__init__.py b/pythonforandroid/recipes/pytz/__init__.py new file mode 100644 index 0000000000..7bda460f2e --- /dev/null +++ b/pythonforandroid/recipes/pytz/__init__.py @@ -0,0 +1,15 @@ +from pythonforandroid.recipe import PythonRecipe + + +class PytzRecipe(PythonRecipe): + name = 'pytz' + version = '2015.7' + url = 'https://pypi.python.org/packages/source/p/pytz/pytz-{version}.tar.bz2' + + depends = [('python2', 'python3')] + + call_hostpython_via_targetpython = False + install_in_hostpython = True + + +recipe = PytzRecipe()