mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-06 14:48:07 -07:00
pypy3 - builds and tests fine, as claimed by upstream Test dependencies - Python-3.3 and newer have unittest.mock in the standard library and this package does not support any versions older than that, patch the relevant test file to use unittest.mock and stop pulling in dev-python/mock (which was pulled in incorrectly anyway). Signed-off-by: Marek Szuba <marecki@gentoo.org>
23 lines
533 B
Bash
23 lines
533 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="A module for (de)serialization to and from VDF, Valve's key-value text format"
|
|
HOMEPAGE="https://github.com/ValvePython/vdf"
|
|
SRC_URI="https://codeload.github.com/ValvePython/${PN}/tar.gz/v${PV} -> ${P}.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${PN}-3.2-mock_from_stdlib.patch
|
|
)
|
|
|
|
distutils_enable_tests pytest
|