From 451ae9d05cb8f0fcbf4d7f2d64a13678b53714b4 Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Sun, 8 Aug 2021 18:22:09 +0500 Subject: [PATCH] dev-python/colored: drop live, bump eapi/python Closes: https://bugs.gentoo.org/800123 Signed-off-by: Anna (cybertailor) Vyalkova --- dev-python/colored/colored-1.4.2.ebuild | 27 +++++++++++++------------ dev-python/colored/colored-9999.ebuild | 23 --------------------- 2 files changed, 14 insertions(+), 36 deletions(-) delete mode 100644 dev-python/colored/colored-9999.ebuild diff --git a/dev-python/colored/colored-1.4.2.ebuild b/dev-python/colored/colored-1.4.2.ebuild index f418fb0c99..66c738a8ed 100644 --- a/dev-python/colored/colored-1.4.2.ebuild +++ b/dev-python/colored/colored-1.4.2.ebuild @@ -1,23 +1,24 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} pypy3 ) +inherit distutils-r1 EGIT_REPO_URI="https://gitlab.com/dslackw/${PN}" -case "${PV}" in - 9999) - inherit git-r3 - ;; - *) - SRC_URI="${EGIT_REPO_URI}/-/archive/${PV}/${P}.tar.gz" - KEYWORDS="~amd64" -esac - -PYTHON_COMPAT=( python3_{7,8,9} ) -inherit distutils-r1 DESCRIPTION="Very simple Python library for color and formatting in terminal" HOMEPAGE="https://gitlab.com/dslackw/colored" -LICENSE="MIT" +SRC_URI="https://gitlab.com/dslackw/${PN}/-/archive/${PV}/${P}.tar.gz" +LICENSE="MIT" +KEYWORDS="~amd64 ~x86" SLOT="0" + +DOCS=( CHANGES.md README.rst docs ) + +python_test() { + "${EPYTHON}" tests/test_hex_1.py || die + "${EPYTHON}" tests/test_hex_2.py || die +} diff --git a/dev-python/colored/colored-9999.ebuild b/dev-python/colored/colored-9999.ebuild deleted file mode 100644 index f418fb0c99..0000000000 --- a/dev-python/colored/colored-9999.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -EGIT_REPO_URI="https://gitlab.com/dslackw/${PN}" -case "${PV}" in - 9999) - inherit git-r3 - ;; - *) - SRC_URI="${EGIT_REPO_URI}/-/archive/${PV}/${P}.tar.gz" - KEYWORDS="~amd64" -esac - -PYTHON_COMPAT=( python3_{7,8,9} ) -inherit distutils-r1 - -DESCRIPTION="Very simple Python library for color and formatting in terminal" -HOMEPAGE="https://gitlab.com/dslackw/colored" -LICENSE="MIT" - -SLOT="0"