mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
dev-python/meld3: add py3.5, EAPI=6, fix license, deps and tests
Closes: https://github.com/gentoo/gentoo/pull/3074 Package-Manager: portage-2.3.2
This commit is contained in:
committed by
Michał Górny
parent
240eb20430
commit
fbc0a1cc52
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_4} pypy )
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@@ -11,17 +11,12 @@ DESCRIPTION="meld3 is an HTML/XML templating engine"
|
||||
HOMEPAGE="https://github.com/supervisor/meld3 https://pypi.python.org/pypi/meld3"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="ZPL"
|
||||
LICENSE="repoze"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# tests use a local path.
|
||||
RESTRICT=test
|
||||
|
||||
python_test() {
|
||||
PYTHONPATH=. "${PYTHON}" ${PN}/test_${PN}.py || die "Tests failed under ${EPYTHON}"
|
||||
esetup.py test
|
||||
}
|
||||
@@ -7,6 +7,7 @@
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">meld3</remote-id>
|
||||
<remote-id type="github">supervisor/meld3</remote-id>
|
||||
<remote-id type="github">Supervisor/meld3</remote-id>
|
||||
<bugs-to>https://github.com/Supervisor/meld3/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
Reference in New Issue
Block a user