dev-python/syrupy: Remove, now in ::gentoo

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny committed 2026-06-02 15:19:35 +02:00
1 parent fc29cf8df7
commit 386d8d3f8b
3 files changed
-52

No files matched your search

-1
View File
@@ -1 +0,0 @@
DIST syrupy-5.1.0.gh.tar.gz 2339258 BLAKE2B 7d888ec47ae10a3946e30262c43453cb9fb9d2e3edf1a5157cfea8811ffa1817c5db94278dd5533d51b51a1e8d0a53dbf653da187024b347a891a341dd6d3921 SHA512 32b98713a2ce64170b914b4ec36878b5175374c2192c5cbe2b118ebb89a33594c12bb29dde45ee9acaeac406e2723e25a73a5e7c2e53d93e584be69ff9b8cdef
-12
View File
@@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="person">
<email>gasc@eurecom.fr</email>
<name>Gasc Henri</name>
</maintainer>
<upstream>
<remote-id type="pypi">syrupy</remote-id>
<remote-id type="github">syrupy-project/syrupy</remote-id>
</upstream>
</pkgmetadata>
-39
View File
@@ -1,39 +0,0 @@
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1
DESCRIPTION="The sweeter pytest snapshot plugin"
HOMEPAGE="https://github.com/syrupy-project/syrupy https://pypi.org/project/syrupy"
SRC_URI="https://github.com/syrupy-project/syrupy/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
DOCS+=( LICENSE README.md CHANGELOG.md )
RDEPEND="
dev-python/rich[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/invoke[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=( pytest-xdist )
distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
# Inject required plugins; autoloading can break (e.g., with pytest-relaxed)
sed -i 's/\([a-zA-Z0-9_]\+\)\.runpytest(/\1.runpytest("-p", "syrupy", "-p", "xdist", /' \
tests/integration/test_*.py || die
}