From: W. Trevor King Date: Wed, 25 Apr 2018 21:21:24 +0000 (-0700) Subject: pyassuan-9999.ebuild: Bump to EAPI 6, git-r3, and distutils-r1 X-Git-Url: http://git.tremily.us/?p=wtk-overlay.git;a=commitdiff_plain;h=e82625e57ced3591b2e3c412d5dea0449cb80fe6 pyassuan-9999.ebuild: Bump to EAPI 6, git-r3, and distutils-r1 Also claim compatibility with Python 3.3 through 3.6 to match upstream since [1] and drop nose for testing to match upstream since [2]. [1]: https://github.com/wking/pyassuan/commit/7bdffe153e0999625a9e874ce68c5fcf43c3eac8 [2]: https://github.com/wking/pyassuan/commit/1c19d389bbf5894a0bf451e2fc9ddace4317661a --- diff --git a/pyassuan-9999.ebuild b/pyassuan-9999.ebuild index e66cb1a..2742968 100644 --- a/pyassuan-9999.ebuild +++ b/pyassuan-9999.ebuild @@ -2,16 +2,13 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI="4" -PYTHON_DEPEND="3:3.3" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="2.* 3.[012]" +EAPI="6" +PYTHON_COMPAT=( python{3_3,3_4,3_5,3_6} ) -inherit eutils distutils +inherit eutils distutils-r1 if [[ ${PV} == "9999" ]] ; then - inherit git-2 - EGIT_BRANCH="master" + inherit git-r3 EGIT_REPO_URI="git://tremily.us/${PN}.git" SRC_URI="" else @@ -27,12 +24,11 @@ KEYWORDS="~amd64 ~x86" IUSE="doc test" RDEPEND="" -DEPEND="${RDEPEND} - test? ( dev-python/nose )" +DEPEND="${RDEPEND}" src_unpack() { if [[ ${PV} == "9999" ]] ; then - git-2_src_unpack + git-r3_src_unpack else unpack ${A} fi @@ -40,6 +36,6 @@ src_unpack() { } src_install() { - distutils_src_install + distutils-r1_src_install dodoc README }