mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
This patch fixes tests with python 3.8.4 and newer. Closes: https://bugs.gentoo.org/735746 Closes: https://bugs.gentoo.org/743823 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
28 lines
775 B
Bash
28 lines
775 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
DISTUTILS_USE_SETUPTOOLS="no"
|
|
MY_P="${PN}-rel-${PV}"
|
|
PYTHON_COMPAT=( python{3_6,3_7,3_8,3_9} )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="A Python module to deal with freedesktop.org specifications"
|
|
HOMEPAGE="https://freedesktop.org/wiki/Software/pyxdg https://cgit.freedesktop.org/xdg/pyxdg/"
|
|
SRC_URI="https://github.com/takluyver/${PN}/archive/rel-${PV}.tar.gz -> ${MY_P}.tar.gz"
|
|
S="${WORKDIR}/${MY_P}"
|
|
|
|
LICENSE="LGPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 sparc x86"
|
|
IUSE="test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
DEPEND="test? ( x11-themes/hicolor-icon-theme )"
|
|
|
|
PATCHES=( "${FILESDIR}/${P}-python384.patch" )
|
|
|
|
distutils_enable_tests nose
|