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"