summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Sautier <sautier.louis@gmail.com>2016-12-11 02:42:41 +0100
committerMichał Górny <mgorny@gentoo.org>2016-12-11 16:39:49 +0100
commitfbc0a1cc52b08173f049388291da8d42b8bb5fc2 (patch)
tree3031efca55db8adac2d0b3fb8961ae5c8e3545ce /dev-python/meld3
parentapp-misc/neofetch: version bump to 2.0.2 (diff)
downloadgentoo-fbc0a1cc52b08173f049388291da8d42b8bb5fc2.tar.gz
gentoo-fbc0a1cc52b08173f049388291da8d42b8bb5fc2.tar.bz2
gentoo-fbc0a1cc52b08173f049388291da8d42b8bb5fc2.zip
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
Diffstat (limited to 'dev-python/meld3')
-rw-r--r--dev-python/meld3/meld3-1.0.2-r1.ebuild (renamed from dev-python/meld3/meld3-1.0.2.ebuild)15
-rw-r--r--dev-python/meld3/metadata.xml3
2 files changed, 7 insertions, 11 deletions
diff --git a/dev-python/meld3/meld3-1.0.2.ebuild b/dev-python/meld3/meld3-1.0.2-r1.ebuild
index 6919603debb6..8975dde39249 100644
--- a/dev-python/meld3/meld3-1.0.2.ebuild
+++ b/dev-python/meld3/meld3-1.0.2-r1.ebuild
@@ -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
}
diff --git a/dev-python/meld3/metadata.xml b/dev-python/meld3/metadata.xml
index ae6ed43b4ecb..0fa59babf6c5 100644
--- a/dev-python/meld3/metadata.xml
+++ b/dev-python/meld3/metadata.xml
@@ -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>