mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-29 22:28:08 -07:00
dev-python/flask-themes: Remove Py2
Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_5,3_6} pypy )
|
||||
PYTHON_COMPAT=( python3_{5,6} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@@ -17,6 +17,8 @@ LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
# suite fails miserably under py3. Cannot even find upstream repo to file. pypi.org does NOT help
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND=">=dev-python/flask-0.6[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
@@ -25,10 +27,3 @@ DEPEND="${RDEPEND}
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/fixtests.patch )
|
||||
|
||||
python_test() {
|
||||
# suite fails miserably under py3. Cannot even find upstream repo to file. pypi.org does NOT help
|
||||
if ! python_is_python3; then
|
||||
PYTHONPATH=.:tests nosetests || die "Tests failed under ${EPYTHON}"
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( pypy{,3} python{2_7,3_{5,6,7}} )
|
||||
PYTHON_COMPAT=( pypy3 python3_{5,6,7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user