diff options
| author | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-08-18 00:29:01 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [feature/flatten] <gitlab@liguros.net> | 2020-08-18 00:29:01 +0000 |
| commit | b7dc299f8034d1fcce6de7380b25fbe993dda3a7 (patch) | |
| tree | aa0e886926137e6dd1caa19104fff25992340a52 /dev-python/cached-property | |
| parent | a81b258421b154daef716d5040ab06b6cd40440e (diff) | |
| download | baldeagleos-repo-b7dc299f8034d1fcce6de7380b25fbe993dda3a7.tar.gz baldeagleos-repo-b7dc299f8034d1fcce6de7380b25fbe993dda3a7.tar.xz baldeagleos-repo-b7dc299f8034d1fcce6de7380b25fbe993dda3a7.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python/cached-property')
| -rw-r--r-- | dev-python/cached-property/cached-property-1.5.1.ebuild | 20 | ||||
| -rw-r--r-- | dev-python/cached-property/files/cached-property-1.5.1-test-failure.patch | 10 |
2 files changed, 22 insertions, 8 deletions
diff --git a/dev-python/cached-property/cached-property-1.5.1.ebuild b/dev-python/cached-property/cached-property-1.5.1.ebuild index ee00ea1f6bb1..6caad2c6e1ab 100644 --- a/dev-python/cached-property/cached-property-1.5.1.ebuild +++ b/dev-python/cached-property/cached-property-1.5.1.ebuild @@ -1,7 +1,8 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 + PYTHON_COMPAT=( python3_{5,6,7,8,9} ) inherit distutils-r1 @@ -14,15 +15,18 @@ LICENSE="BSD" SLOT="0" KEYWORDS="amd64 ppc64 x86" -DEPEND=" - test? ( - dev-python/freezegun[${PYTHON_USEDEP}] - )" -RDEPEND="" +DEPEND="test? ( dev-python/freezegun[${PYTHON_USEDEP}] )" distutils_enable_tests pytest -src_install() { - distutils-r1_src_install +python_prepare_all() { + # bug 638250 + eapply "${FILESDIR}"/${PN}-1.5.1-test-failure.patch + + distutils-r1_python_prepare_all +} + +python_install_all() { dodoc README.rst HISTORY.rst CONTRIBUTING.rst AUTHORS.rst + distutils-r1_python_install_all } diff --git a/dev-python/cached-property/files/cached-property-1.5.1-test-failure.patch b/dev-python/cached-property/files/cached-property-1.5.1-test-failure.patch new file mode 100644 index 000000000000..03fabd2900ca --- /dev/null +++ b/dev-python/cached-property/files/cached-property-1.5.1-test-failure.patch @@ -0,0 +1,10 @@ +--- a/tests/test_cached_property.py ++++ b/tests/test_cached_property.py +@@ -191,6 +191,7 @@ + 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() |
