dev-python/meld3: add py3.5, EAPI=6, fix license, deps and tests
authorLouis Sautier <sautier.louis@gmail.com>
Sun, 11 Dec 2016 01:42:41 +0000 (02:42 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 11 Dec 2016 15:39:49 +0000 (16:39 +0100)
Closes: https://github.com/gentoo/gentoo/pull/3074
Package-Manager: portage-2.3.2

dev-python/meld3/meld3-1.0.2-r1.ebuild [moved from dev-python/meld3/meld3-1.0.2.ebuild with 60% similarity]
dev-python/meld3/metadata.xml

similarity index 60%
rename from dev-python/meld3/meld3-1.0.2.ebuild
rename to dev-python/meld3/meld3-1.0.2-r1.ebuild
index 6919603debb69909fad7eddb8ec92c9733f8d75d..8975dde39249245d388104457cb60acf3cfcee39 100644 (file)
@@ -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
 }
index ae6ed43b4ecbf4fc1abb5df527e5198f45e7bf9f..0fa59babf6c524788d66f3988b31a149a75f74d6 100644 (file)
@@ -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>