dev-python/ufmt: new package, add 1.3.3

Signed-off-by: James Beddek <telans@posteo.de>
This commit is contained in:
James Beddek
2022-06-08 17:06:08 +12:00
parent 4a1d177abb
commit 5ed9756105
3 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Safe, atomic formatting with black and usort"
HOMEPAGE="https://github.com/omnilib/ufmt/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/black-20.8.0[${PYTHON_USEDEP}]
>=dev-python/moreorless-0.4.0[${PYTHON_USEDEP}]
>=dev-python/tomlkit-0.7.2[${PYTHON_USEDEP}]
>=dev-python/trailrunner-1.2.1[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-4.0[${PYTHON_USEDEP}]
>=dev-python/usort-1.0[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
distutils_enable_tests unittest