File tree 2 files changed +18
-4
lines changed
pythonforandroid/recipes/atom
2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 1
- from pythonforandroid .recipe import CppCompiledComponentsPythonRecipe
1
+ import os
2
+ from pythonforandroid .recipe import PyProjectRecipe
2
3
3
4
4
- class AtomRecipe (CppCompiledComponentsPythonRecipe ):
5
+ class AtomRecipe (PyProjectRecipe ):
5
6
site_packages_name = 'atom'
6
- version = '0.3.10 '
7
- url = 'https://github.com/nucleic/atom/archive/master.zip '
7
+ version = '0.11.0 '
8
+ url = 'https://files.pythonhosted.org/packages/source/a/atom/atom-{version}.tar.gz '
8
9
depends = ['setuptools' ]
10
+ patches = ['pyproject.toml.patch' ]
9
11
10
12
11
13
recipe = AtomRecipe ()
Original file line number Diff line number Diff line change
1
+ diff --git a/pyproject.toml b/pyproject.toml
2
+ index d41287f..c83b053 100644
3
+ --- a/pyproject.toml
4
+ +++ b/pyproject.toml
5
+ @@ -40,6 +40,7 @@
6
+ [tool.setuptools]
7
+ include-package-data = false
8
+ package-data = { atom = ["py.typed", "*.pyi"] }
9
+ + packages = ["atom"]
10
+
11
+ [tool.setuptools_scm]
12
+ write_to = "atom/version.py"
You can’t perform that action at this time.
0 commit comments