python-dataclasses 0.7-1 (armv7hnl;znver1;i686;aarch64;x86_64) 2020-12003
9999
Status | published | ||||||||||
Submitter | angrypenguinpoland [@T] gmail.com | ||||||||||
Platform | rolling | ||||||||||
Repository | main | ||||||||||
URL | https://abf.openmandriva.org/build_lists/808099 | ||||||||||
Packages |
|
||||||||||
Build Date | 2020-07-16 00:06:21 +0000 UTC | ||||||||||
Last Updated | 2020-07-17 20:58:39.809709268 +0000 UTC |
$ git show --format=fuller --patch-with-stat --summary 430cab9030ab599608c05f49a407e6a96fa83e90 commit 430cab9030ab599608c05f49a407e6a96fa83e90 Author: AngryPenguinPL <angrypenguinpoland@gmail.com> AuthorDate: Thu Jul 16 01:53:10 2020 +0200 Commit: GitHub <noreply@github.com> CommitDate: Thu Jul 16 01:53:10 2020 +0200 clean --- python-dataclasses.spec | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/python-dataclasses.spec b/python-dataclasses.spec index 6ba76f0..b15c0a0 100644 --- a/python-dataclasses.spec +++ b/python-dataclasses.spec @@ -1,19 +1,15 @@ - -%define skip_python2 1 -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-dataclasses Version: 0.7 -Release: lp152.1.1 -Summary: A backport of the dataclasses module for Python 3.6 +Release: 1 +Summary: A backport of the dataclasses module for Python 3.X License: Apache-2.0 URL: https://github.com/ericvsmith/dataclasses Source: https://files.pythonhosted.org/packages/source/d/dataclasses/dataclasses-%{version}.tar.gz -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module testsuite} -BuildRequires: fdupes -BuildRequires: python-rpm-macros + +BuildRequires: pkgconfig(python) +BuildRequires: python3dist(setuptools) + BuildArch: noarch -%python_subpackages %description This is an implementation of PEP 557, Data Classes. It is a backport for Python 3.6. @@ -22,16 +18,12 @@ This is an implementation of PEP 557, Data Classes. It is a backport for Python %setup -q -n dataclasses-%{version} %build -%python_build +%py_build %install -%python_install -%python_expand %fdupes %{buildroot}%{$python_sitelib} - -%check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python test/test_dataclasses.py -v +%py_install -%files %{python_files} +%files %doc README.rst %license LICENSE.txt %{python_sitelib}/*
Not Available
benbullard79 [@T] cox.net | No Comment. | 1372d 10hrs |
benbullard79 [@T] cox.net | No Comment. | 1372d 10hrs |