Skip to content

Commit 37b5b21

Browse files
authored
Merge pull request kivy#3131 from kivy/feature/fix_atom
🐛 Update and fix atom recipe, closes kivy#2802
2 parents a4924fc + d6eeea1 commit 37b5b21

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
from pythonforandroid.recipe import CppCompiledComponentsPythonRecipe
1+
from pythonforandroid.recipe import PyProjectRecipe
22

33

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"]
910

1011

1112
recipe = AtomRecipe()
Lines changed: 12 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy