From 5128e07ab6535c3511ccffaea5cdc12d793ef0f6 Mon Sep 17 00:00:00 2001 From: Paul Brussee Date: Mon, 21 Mar 2016 20:53:44 +0100 Subject: [PATCH 1/2] added recipes for cherrypy, libnacl, requests --- pythonforandroid/recipes/cherrypy/__init__.py | 10 ++++++++++ pythonforandroid/recipes/libnacl/__init__.py | 10 ++++++++++ pythonforandroid/recipes/requests/__init__.py | 10 ++++++++++ 3 files changed, 30 insertions(+) create mode 100644 pythonforandroid/recipes/cherrypy/__init__.py create mode 100644 pythonforandroid/recipes/libnacl/__init__.py create mode 100644 pythonforandroid/recipes/requests/__init__.py diff --git a/pythonforandroid/recipes/cherrypy/__init__.py b/pythonforandroid/recipes/cherrypy/__init__.py new file mode 100644 index 0000000000..74ed3dbb92 --- /dev/null +++ b/pythonforandroid/recipes/cherrypy/__init__.py @@ -0,0 +1,10 @@ +from pythonforandroid.toolchain import PythonRecipe + +class CherryPyRecipe(PythonRecipe): + version = '5.1.0' + url = 'https://bitbucket.org/cherrypy/cherrypy/get/{version}.tar.gz' + depends = ['hostpython2', 'setuptools'] + site_packages_name = 'cherrypy' + call_hostpython_via_targetpython = False + +recipe = CherryPyRecipe() diff --git a/pythonforandroid/recipes/libnacl/__init__.py b/pythonforandroid/recipes/libnacl/__init__.py new file mode 100644 index 0000000000..62fc7bee2a --- /dev/null +++ b/pythonforandroid/recipes/libnacl/__init__.py @@ -0,0 +1,10 @@ +from pythonforandroid.toolchain import PythonRecipe + +class LibNaClRecipe(PythonRecipe): + version = '1.4.4' + url = 'https://github.com/saltstack/libnacl/archive/v{version}.tar.gz' + depends = ['hostpython2', 'setuptools'] + site_packages_name = 'libnacl' + call_hostpython_via_targetpython = False + +recipe = LibNaClRecipe() diff --git a/pythonforandroid/recipes/requests/__init__.py b/pythonforandroid/recipes/requests/__init__.py new file mode 100644 index 0000000000..753f918a85 --- /dev/null +++ b/pythonforandroid/recipes/requests/__init__.py @@ -0,0 +1,10 @@ +from pythonforandroid.toolchain import PythonRecipe + +class RequestsRecipe(PythonRecipe): + version = '2.9.1' + url = 'https://github.com/kennethreitz/requests/archive/v{version}.tar.gz' + depends = ['hostpython2', 'setuptools'] + site_packages_name = 'requests' + call_hostpython_via_targetpython = False + +recipe = RequestsRecipe() From d65d4abb5752cdb2d2d7004cc329ed45d1cd8c00 Mon Sep 17 00:00:00 2001 From: Paul Brussee Date: Fri, 15 Apr 2016 16:22:40 +0200 Subject: [PATCH 2/2] added recipes for feedparser, decorator --- pythonforandroid/recipes/decorator/__init__.py | 10 ++++++++++ pythonforandroid/recipes/feedparser/__init__.py | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 pythonforandroid/recipes/decorator/__init__.py create mode 100644 pythonforandroid/recipes/feedparser/__init__.py diff --git a/pythonforandroid/recipes/decorator/__init__.py b/pythonforandroid/recipes/decorator/__init__.py new file mode 100644 index 0000000000..6a20b31eb9 --- /dev/null +++ b/pythonforandroid/recipes/decorator/__init__.py @@ -0,0 +1,10 @@ +from pythonforandroid.toolchain import PythonRecipe + +class DecoratorPyRecipe(PythonRecipe): + version = '4.0.9' + url = 'https://pypi.python.org/packages/source/d/decorator/decorator-{version}.tar.gz' + depends = ['hostpython2', 'setuptools'] + site_packages_name = 'decorator' + call_hostpython_via_targetpython = False + +recipe = DecoratorPyRecipe() diff --git a/pythonforandroid/recipes/feedparser/__init__.py b/pythonforandroid/recipes/feedparser/__init__.py new file mode 100644 index 0000000000..d030494aaf --- /dev/null +++ b/pythonforandroid/recipes/feedparser/__init__.py @@ -0,0 +1,10 @@ +from pythonforandroid.toolchain import PythonRecipe + +class FeedparserPyRecipe(PythonRecipe): + version = '5.2.1' + url = 'https://github.com/kurtmckee/feedparser/archive/{version}.tar.gz' + depends = ['hostpython2', 'setuptools'] + site_packages_name = 'feedparser' + call_hostpython_via_targetpython = False + +recipe = FeedparserPyRecipe()