diff --git a/dev-python/fscacher/Manifest b/dev-python/fscacher/Manifest index 2488e2f..7d16bce 100644 --- a/dev-python/fscacher/Manifest +++ b/dev-python/fscacher/Manifest @@ -1 +1,2 @@ DIST fscacher-0.1.4.tar.gz 35097 SHA256 d3ecd4cdc9cad2ee84a3f37f74b6ef3f87279cd28d2ccf8025893fc581269aca SHA512 e3e85cee4c446552215b6d7092bdc72c31709e05dee7efb52fc6fc985992a3ece338c5a0dee54ed7e6aec797d4b7e2bd77b00f634112134c61f402b604103b5c WHIRLPOOL 177afbe8e616c081e71aff1bdd2ed7081fcc4d648ff4f8549832d513392ea53b61f172753d6ea401d74186f01928ad4710f7c30ca974e6f4024f37818cf23eaa +DIST fscacher-0.2.0.tar.gz 37704 SHA256 7d8f1e6b185658ef049b0e11b9d2caeca5b2b9ac33ff7aeaf9731f3a28f5bd10 SHA512 d3ec18d211e7c5c4e74dbf6d95cecf6558956f24ddeebac3caef66ebfbbdd95055a20c9ea3c9143e65e9de7b5c383f63a10bd8e8cbebea10a2bb5ba70938e89e WHIRLPOOL 350eefa9581a4dfe69d2ab4dd0940687e974ff1771842275f2673afaeaff5cadd6fbf24399e3792b2ee8362c311382d2534076f9c0f531e0313c8cb45338bce0 diff --git a/dev-python/fscacher/files/fscacher-0.2.0-coverage.patch b/dev-python/fscacher/files/fscacher-0.2.0-coverage.patch new file mode 100644 index 0000000..c5c7f85 --- /dev/null +++ b/dev-python/fscacher/files/fscacher-0.2.0-coverage.patch @@ -0,0 +1,10 @@ +--- a/tox.ini 2021-09-27 01:00:33.935464308 -0400 ++++ b/tox.ini 2021-09-27 02:48:34.349729243 -0400 +@@ -31,7 +31,6 @@ + asv run --strict {posargs} HEAD^1..HEAD + + [pytest] +-addopts = --cov=fscacher --no-cov-on-fail + filterwarnings = + error + ignore:The distutils package is deprecated:DeprecationWarning:joblib diff --git a/dev-python/fscacher/fscacher-0.1.4.ebuild b/dev-python/fscacher/fscacher-0.1.4.ebuild index 4483ea8..3f55c86 100644 --- a/dev-python/fscacher/fscacher-0.1.4.ebuild +++ b/dev-python/fscacher/fscacher-0.1.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,6 +13,7 @@ SRC_URI="https://github.com/con/fscacher/archive/refs/tags/${PV}.tar.gz -> ${P}. SLOT="0" LICENSE="MIT" KEYWORDS="~amd64 ~x86" +RESTRICT="test" RDEPEND=" dev-python/appdirs[${PYTHON_USEDEP}] diff --git a/dev-python/fscacher/fscacher-0.2.0.ebuild b/dev-python/fscacher/fscacher-0.2.0.ebuild new file mode 100644 index 0000000..bb63280 --- /dev/null +++ b/dev-python/fscacher/fscacher-0.2.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Cache results of operations on heavy file trees" +HOMEPAGE="https://github.com/con/fscacher" +SRC_URI="https://github.com/con/fscacher/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/appdirs[${PYTHON_USEDEP}] + dev-python/joblib[${PYTHON_USEDEP}] +" +DEPEND=" + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-0.2.0-coverage.patch" +) + +distutils_enable_tests pytest diff --git a/dev-python/fscacher/metadata.xml b/dev-python/fscacher/metadata.xml index f1ef4bb..460ce9d 100644 --- a/dev-python/fscacher/metadata.xml +++ b/dev-python/fscacher/metadata.xml @@ -16,4 +16,8 @@ the behavior of `foo()` is pure in the contents of the path and the values of its other arguments, fscacher can help cache that function, + + con/fscacher + fscacher +