15
0
Files
python-async-wrapper/fix-version.patch
Matej Cepl 2662d3ec76 - Use the tarball from GitHub, because it contains tests
- Add fix-version.patch, because we cannot use dynamically
  generated version number from the GitHub tarball.
- Run tests
- Add missing Requires

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-async-wrapper?expand=0&rev=4
2024-10-02 15:02:36 +00:00

25 lines
581 B
Diff

---
pyproject.toml | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[project]
name = "async-wrapper"
-dynamic = ["version"]
+version = "@VERSION@"
description = "async wrapper"
authors = [{ name = "phi", email = "phi.friday@gmail.com" }]
readme = "README.md"
@@ -67,9 +67,6 @@ check = "pre-commit run --all-files --sh
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
-[tool.hatch.version]
-source = "vcs"
-
[tool.hatch.build.targets.wheel]
packages = ["src/async_wrapper"]