python-pytoml 0.1.21-2 (aarch64) 2022-15034
-9999
Status | rejected | ||
Submitter | mandian [@T] tutanota.com | ||
Platform | rolling | ||
Repository | main | ||
URL | https://abf.openmandriva.org/build_lists/207323 | ||
Packages |
|
||
Build Date | 2022-05-08 22:23:34 +0000 UTC | ||
Last Updated | 2022-06-03 21:38:39.105074243 +0000 UTC |
$ git show --format=fuller --patch-with-stat --summary acdd96ba9e01bb0183f98faf7674f89393f8147b commit acdd96ba9e01bb0183f98faf7674f89393f8147b Author: mandian <mandian@users.noreply.github.com> AuthorDate: Sun May 8 23:10:44 2022 +0100 Commit: mandian <mandian@users.noreply.github.com> CommitDate: Sun May 8 23:10:44 2022 +0100 use modern macros --- python-pytoml.spec | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/python-pytoml.spec b/python-pytoml.spec index f384138..0fa8e76 100644 --- a/python-pytoml.spec +++ b/python-pytoml.spec @@ -1,18 +1,18 @@ %define srcname pytoml -Name: python-%{srcname} +Name: python-%{srcname} Version: 0.1.21 -Release: 2 -Summary: A TOML-0.4.0 parser/writer for Python +Release: 2 +Summary: A TOML-0.4.0 parser/writer for Python Group: Development/Python -License: BSD -URL: https://github.com/avakar/pytoml -Source0: https://github.com/avakar/pytoml/archive/%{srcname}-%{version}.tar.gz -BuildArch: noarch +License: BSD +URL: https://github.com/avakar/pytoml +Source0: https://github.com/avakar/pytoml/archive/%{srcname}-%{version}.tar.gz +BuildArch: noarch -BuildRequires: pkgconfig(python3) -BuildRequires: python-setuptools -BuildRequires: python-pkg-resources +BuildRequires: pkgconfig(python3) +BuildRequires: python3dist(setuptools) +BuildRequires: python-pkg-resources %description This project aims at being a specs-conforming and strict parser and writer for @@ -20,20 +20,23 @@ TOML files. The library currently supports version 0.4.0 of the specs. +%files +%license LICENSE +%doc README.md +%{py_puresitedir}/%{srcname} +%{py_puresitedir}/%{srcname}-%{version}-py%{py_ver}.egg-info + +#---------------------------------------------------------------------------- + %prep -%setup -q -n %{srcname}-%{version} +%autosetup -p1 -n %{srcname}-%{version} %build -%__python setup.py build +%py_build %install - -%__python setup.py install --skip-build --root %{buildroot} +%py_install %check %__python setup.py test - -%files -%{py_puresitedir}/%{srcname} -%{py_puresitedir}/%{srcname}-%{version}-py%{py_ver}.egg-info
Not Available
benbullard79 [@T] cox.net | No Comment. | 904d 11hrs |
benbullard79 [@T] cox.net | No Comment. | 904d 11hrs |
benbullard79 [@T] cox.net | No Comment. | 904d 11hrs |