8000 add babel and pytz recipes · kived/python-for-android@23ae7d7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 23ae7d7

Browse files
committed
add babel and pytz recipes
1 parent fdb2b5f commit 23ae7d7

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
from pythonforandroid.recipe import PythonRecipe
2+
3+
4+
class BabelRecipe(PythonRecipe):
5+
name = 'babel'
6+
version = '2.1.1'
7+
url = 'https://pypi.python.org/packages/source/B/Babel/Babel-{version}.tar.gz'
8+
9+
depends = [('python2', 'python3'), 'setuptools', 'pytz']
10+
11+
call_hostpython_via_targetpython = False
12+
install_in_hostpython = True
13+
14+
15+
recipe = BabelRecipe()
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
from pythonforandroid.recipe import PythonRecipe
2+
3+
4+
class PytzRecipe(PythonRecipe):
5+
name = 'pytz'
6+
version = '2015.7'
7+
url = 'https://pypi.python.org/packages/source/p/pytz/pytz-{version}.tar.bz2'
8+
9+
depends = [('python2', 'python3')]
10+
11+
call_hostpython_via_targetpython = False
12+
install_in_hostpython = True
13+
14+
15+
recipe = PytzRecipe()

0 commit comments

Comments
 (0)
0