app-portage/flaggie: EAPI 7, newer impls
authorMichał Górny <mgorny@gentoo.org>
Sat, 4 Jan 2020 20:06:37 +0000 (21:06 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sat, 4 Jan 2020 20:12:43 +0000 (21:12 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
app-portage/flaggie/flaggie-0.2.1-r1.ebuild
app-portage/flaggie/flaggie-9999.ebuild

index d16a34cf3a3f4aedf9ee2e049351a4a27ae0fa49..2257dbe98c4e29684238a9cd2d283281315aa7f7 100644 (file)
@@ -1,9 +1,10 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-PYTHON_COMPAT=( python{2_7,3_5,3_6} pypy )
+DISTUTILS_USE_SETUPTOOLS=no
+PYTHON_COMPAT=( python{2_7,3_{6,7,8}} )
 
 inherit bash-completion-r1 distutils-r1
 
@@ -24,13 +25,13 @@ python_install_all() {
 }
 
 pkg_postinst() {
-       ewarn "Please denote that flaggie creates backups of your package.* files"
+       ewarn "Please note that flaggie creates backups of your package.* files"
        ewarn "before performing each change through appending a single '~'."
        ewarn "If you'd like to keep your own backup of them, please use another"
        ewarn "naming scheme (or even better some VCS)."
-       elog
-       elog "bash-completion support requires:"
-       elog "  app-shells/gentoo-bashcomp"
-       has_version app-shells/gentoo-bashcomp && \
-               elog "(installed already)"
+       if ! has_version app-shells/gentoo-bashcomp; then
+               elog
+               elog "If you want to use bash-completion, you need to install:"
+               elog "  app-shells/gentoo-bashcomp"
+       fi
 }
index d979063b48d1e33654ef2baba517c629879757ae..4a0285406c397603f7a2a964d079555c43fd2548 100644 (file)
@@ -1,8 +1,10 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-PYTHON_COMPAT=( python{2_7,3_5,3_6} )
+EAPI=7
+
+DISTUTILS_USE_SETUPTOOLS=no
+PYTHON_COMPAT=( python{2_7,3_{6,7,8}} )
 
 EGIT_REPO_URI="https://github.com/mgorny/flaggie.git"
 inherit bash-completion-r1 distutils-r1 git-r3