Skip to content

Commit cf969d5

Browse files
committed
🐛 Update and fix atom recipe, closes TODO-2802
1 parent ceed049 commit cf969d5

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed
+6-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
from pythonforandroid.recipe import CppCompiledComponentsPythonRecipe
1+
import os
2+
from pythonforandroid.recipe import PyProjectRecipe
23

34

4-
class AtomRecipe(CppCompiledComponentsPythonRecipe):
5+
class AtomRecipe(PyProjectRecipe):
56
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'
89
depends = ['setuptools']
10+
patches = ['pyproject.toml.patch']
911

1012

1113
recipe = AtomRecipe()
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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"

0 commit comments

Comments
 (0)