dev-python/colored: drop live, bump eapi/python

Closes: https://bugs.gentoo.org/800123
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2021-08-08 18:22:09 +05:00
parent 8df24a761e
commit 451ae9d05c
2 changed files with 14 additions and 36 deletions

View File

@@ -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
}

View File

@@ -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"