Compare commits

..

No commits in common. "6bdb3f8385854d68152a00aed7d09196c56992ca" and "ef5c2e9345b6d81d9d590162389ed17ee7c973e7" have entirely different histories.

4 changed files with 0 additions and 83 deletions

View File

@ -1,13 +0,0 @@
diff -Nur cached-property-1.5.1/tests/test_cached_property.py cached-property-1.5.1-new/tests/test_cached_property.py
--- cached-property-1.5.1/tests/test_cached_property.py 2018-09-05 23:30:37.000000000 +0800
+++ cached-property-1.5.1-new/tests/test_cached_property.py 2021-08-05 20:11:27.000000000 +0800
@@ -190,7 +190,8 @@
# Things are not reverted when we are back to the present
self.assert_cached(check, 2)
self.assert_cached(check, 2)
-
+
+ @unittest.skip("Gentoo Bug #638250")
def test_threads_ttl_expiry(self):
Check = CheckFactory(self.cached_property_factory(ttl=100000), threadsafe=True)
check = Check()

Binary file not shown.

View File

@ -1,66 +0,0 @@
Name: python-cached_property
Version: 1.5.2
Release: 1
Summary: A cached-property for decorating methods in Python classes
License: BSD-3-Clause
URL: https://github.com/pydanny/cached-property
Source0: https://github.com/pydanny/cached-property/archive/%{version}/cached-property-%{version}.tar.gz
Patch0001: cached-property-1.5.1-test-failure.patch
BuildArch: noarch
BuildRequires: python%{python3_pkgversion}-devel python%{python3_pkgversion}-dateutil
BuildRequires: python%{python3_pkgversion}-freezegun python%{python3_pkgversion}-pytest
%description
cached_property allows properties in Python classes to be cached until the cache
is invalidated or expired.
%package -n python%{python3_pkgversion}-cached_property
Summary: A cached-property for decorating methods in Python classes.
%{?python_provide:%python_provide python%{python3_pkgversion}-cached_property}
Provides: python%{python3_pkgversion}-cached-property = %{version}-%{release}
Obsoletes: python%{python3_pkgversion}-cached-property < 1.3.0-2
%description -n python%{python3_pkgversion}-cached_property
cached_property allows properties in Python classes to be cached until the cache
is invalidated or expired.
%package_help
%prep
%autosetup -n cached-property-%{version} -p1
%build
%{__python3} setup.py build
%install
%{__python3} setup.py install -O1 --skip-build --root %{buildroot}
%check
PYTHONPATH=./ py.test-3
%files -n python%{python3_pkgversion}-cached_property
%defattr(-,root,root)
%doc AUTHORS.rst
%license LICENSE
%{python3_sitelib}/cached_property*
%{python3_sitelib}/__pycache__/cached_property*
%files help
%defattr(-,root,root)
%doc HISTORY.rst CONTRIBUTING.rst README.rst
%changelog
* Mon Oct 17 2022 Ge Wang <wangge20@h-partners.com> - 1.5.2-1
- Upgrade to version 1.5.2
* Thu Aug 5 2021 Shenmei Tu <tushenmei@huawei.com> - 1.5.1-3
- cached-property-1.5.1-test-failure.patch
* Wed Oct 21 2020 chengzihan <chengzihan2@huawei.com> - 1.5.1-2
- Remove subpackage python2-cached_property
* Wed Feb 12 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.5.1-1
- Package init

View File

@ -1,4 +0,0 @@
version_control: github
src_repo: pydanny/cached-property
tag_prefix: ^v
seperator: .