Diff backports-functools-lru-cache-1.3 with a backports-functools-lru-cache-1.4-r1

/usr/portage/dev-python/backports-functools-lru-cache/backports-functools-lru-cache-1.4-r1.ebuild 2019-12-11 02:41:00.000000000 +0300
3 3

  
4 4
EAPI=6
5 5

  
6
PYTHON_COMPAT=( python2_7 )
6
PYTHON_COMPAT=( python2_7 pypy )
7 7

  
8 8
inherit distutils-r1
9 9

  
......
15 15

  
16 16
LICENSE="MIT"
17 17
SLOT="0"
18
KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ppc64 sparc x86"
18
KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos"
19 19
IUSE="doc test"
20 20
RESTRICT="!test? ( test )"
21 21

  
22
RDEPEND="dev-python/backports[${PYTHON_USEDEP}]"
22 23
DEPEND="
23 24
	dev-python/setuptools[${PYTHON_USEDEP}]
24
	>=dev-python/setuptools_scm-1.9[${PYTHON_USEDEP}]
25
	>=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
25 26
	doc? (
26
		dev-python/sphinx[${PYTHON_USEDEP}]
27
		>=dev-python/jaraco-packaging-3.2[${PYTHON_USEDEP}]
27 28
		dev-python/rst-linker[${PYTHON_USEDEP}]
29
		dev-python/sphinx[${PYTHON_USEDEP}]
28 30
	)
29 31
	test? (
30 32
		>=dev-python/pytest-2.8[${PYTHON_USEDEP}]
31
		dev-python/pytest-runner[${PYTHON_USEDEP}]
32 33
	)
33 34
"
34 35

  
35 36
S="${WORKDIR}/${MY_PN}-${PV}"
36 37

  
37 38
python_compile_all() {
38
	use doc && esetup.py build_sphinx
39
	if use doc; then
40
		cd docs || die
41
		sphinx-build . _build/html || die
42
		HTML_DOCS=( docs/_build/html/. )
43
	fi
39 44
}
40 45

  
41 46
python_test() {
42 47
	PYTHONPATH=. py.test || die "tests failed with ${EPYTHON}"
43 48
}
44 49

  
45
python_install_all() {
46
	use doc && local HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. )
47
	distutils-r1_python_install_all
50
python_install() {
51
	# avoid a collision with dev-python/backports
52
	rm "${BUILD_DIR}"/lib/backports/__init__.py || die
53
	distutils-r1_python_install --skip-build
48 54
}
Thank you!