File tree 2 files changed +19
-6
lines changed
pythonforandroid/recipes/atom
2 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 1
- from pythonforandroid .recipe import CppCompiledComponentsPythonRecipe
1
+ from pythonforandroid .recipe import PyProjectRecipe
2
2
3
3
4
- class AtomRecipe (CppCompiledComponentsPythonRecipe ):
5
- site_packages_name = 'atom'
6
- version = '0.3.10'
7
- url = 'https://github.com/nucleic/atom/archive/master.zip'
8
- depends = ['setuptools' ]
4
+ class AtomRecipe (PyProjectRecipe ):
5
+ site_packages_name = "atom"
6
+ version = "0.11.0"
7
+ url = "https://files.pythonhosted.org/packages/source/a/atom/atom-{version}.tar.gz"
8
+ depends = ["setuptools" ]
9
+ patches = ["pyproject.toml.patch" ]
9
10
10
11
11
12
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