Skip to content

Commit 51e388b

Browse files
committed
switch to PyProjectRecipe
1 parent 34f73bb commit 51e388b

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed
Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
from pythonforandroid.recipe import PythonRecipe
1+
from pythonforandroid.recipe import PyProjectRecipe
22

3-
class HttpxRecipe(PythonRecipe):
4-
name = 'httpx'
5-
version = '0.28.1'
6-
url = 'https://pypi.python.org/packages/source/h/httpx/httpx-{version}.tar.gz'
7-
depends = ['httpcore', 'h11', 'certifi', 'idna', 'sniffio']
83

9-
recipe = HttpxRecipe()
4+
class HttpxRecipe(PyProjectRecipe):
5+
name = "httpx"
6+
version = "0.28.1"
7+
url = (
8+
"https://pypi.python.org/packages/source/h/httpx/httpx-{version}.tar.gz"
9+
)
10+
depends = ["httpcore", "h11", "certifi", "idna", "sniffio"]
11+
12+
recipe = HttpxRecipe()

0 commit comments

Comments
 (0)