forked from pool/python-srcinfo
- List files and directories explicitly in %files. - Add patch support-new-poetry.patch: * Do not use deprecated sections in pyproject.toml. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-srcinfo?expand=0&rev=16
27 lines
760 B
Diff
27 lines
760 B
Diff
Index: srcinfo-0.1.2/pyproject.toml
|
|
===================================================================
|
|
--- srcinfo-0.1.2.orig/pyproject.toml
|
|
+++ srcinfo-0.1.2/pyproject.toml
|
|
@@ -1,8 +1,8 @@
|
|
-[tool.poetry]
|
|
+[project]
|
|
name = "srcinfo"
|
|
version = "0.1.2"
|
|
description = "A small library to parse .SRCINFO files"
|
|
-authors = ["Johannes Löthberg <johannes@kyriasis.com>"]
|
|
+authors = [{ name = "Johannes Löthberg", email = "johannes@kyriasis.com" }]
|
|
license = "ISC"
|
|
readme = "README.rst"
|
|
|
|
@@ -14,8 +14,8 @@ classifiers = [
|
|
"License :: OSI Approved :: ISC License (ISCL)",
|
|
]
|
|
|
|
-[tool.poetry.scripts]
|
|
-parse_srcinfo = { callable = "srcinfo.main:main" }
|
|
+[project.scripts]
|
|
+parse_srcinfo = "srcinfo.main:main"
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.7"
|