python-cachetools 4.1.0-1 (armv7hnl;znver1;i686;aarch64;x86_64) 2020-11964
9999
| Status | published | ||||||||||
| Submitter | angrypenguinpoland [@T] gmail.com | ||||||||||
| Platform | rolling | ||||||||||
| Repository | main | ||||||||||
| URL | https://abf.openmandriva.org/build_lists/786584 | ||||||||||
| Packages |
|
||||||||||
| Build Date | 2020-06-28 13:58:17 +0000 UTC | ||||||||||
| Last Updated | 2020-07-05 01:05:06.731425572 +0000 UTC |
$ git show --format=fuller --patch-with-stat --summary 5598ab6d64e682671a744fba826d1d64d537b55a
commit 5598ab6d64e682671a744fba826d1d64d537b55a
Author: AngryPenguinPL <angrypenguinpoland@gmail.com>
AuthorDate: Sun Jun 28 15:44:13 2020 +0200
Commit: GitHub <noreply@github.com>
CommitDate: Sun Jun 28 15:44:13 2020 +0200
openmandrivize
---
python-cachetools.spec | 27 ++++++++-------------------
1 file changed, 8 insertions(+), 19 deletions(-)
diff --git a/python-cachetools.spec b/python-cachetools.spec
index d5cbba6..2cd92ed 100644
--- a/python-cachetools.spec
+++ b/python-cachetools.spec
@@ -2,7 +2,7 @@
Name: python-cachetools
Version: 4.1.0
-Release: %mkrel 1
+Release: 1
Group: Development/Python
Summary: Extensible memoizing collections and decorators
@@ -11,26 +11,15 @@ URL: https://github.com/tkem/cachetools
Source0: https://pypi.io/packages/source/c/cachetools/cachetools-%{version}.tar.gz
BuildArch: noarch
-BuildRequires: python3-devel
+BuildRequires: pkgconfig(python)
BuildRequires: python3dist(setuptools)
-
-
-%description
-This module provides various memoizing collections and decorators,
-including a variant of the Python 3 Standard Library `@lru_cache`_
-function decorator.
-
-%package -n python3-%{pypi_name}
-Summary: Extensible memoizing collections and decorators
-Group: Development/Python
%{?python_provide:%python_provide python3-%{pypi_name}}
-%description -n python3-%{pypi_name}
+%description
This module provides various memoizing collections and decorators,
including a variant of the Python 3 Standard Library `@lru_cache`_
function decorator.
-
%prep
%setup -q -n %{pypi_name}-%{version}
@@ -40,13 +29,13 @@ rm -rf %{pypi_name}.egg-info
find -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|'
%build
-%py3_build
+%py_build
%install
-%py3_install
+%py_install
-%files -n python3-%{pypi_name}
+%files
%doc README.rst
%license LICENSE
-%{python3_sitelib}/%{pypi_name}
-%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
+%{python_sitelib}/%{pypi_name}
+%{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
Not Available
| benbullard79 [@T] cox.net | No Comment. | 1988d 08hrs |
| benbullard79 [@T] cox.net | No Comment. | 1988d 08hrs |