pyassuan-9999.ebuild: Bump to EAPI 6, git-r3, and distutils-r1 dev-python/pyassuan
authorW. Trevor King <wking@tremily.us>
Wed, 25 Apr 2018 21:21:24 +0000 (14:21 -0700)
committerW. Trevor King <wking@tremily.us>
Wed, 25 Apr 2018 21:24:10 +0000 (14:24 -0700)
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

pyassuan-9999.ebuild

index e66cb1a81385e35b2aa9f8dc7694390fa33b5a10..2742968d2c7f4dd808097cda574ddb0bde1bc5fd 100644 (file)
@@ -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
 }