dev-python/py-nanoid: new package, add 9999

Signed-off-by: Henri Gasc <gasc@eurecom.fr>
This commit is contained in:
Henri Gasc
2023-02-07 14:32:37 +01:00
parent 92a8199032
commit b53db53d0b
3 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
DESCRIPTION="Python Nanoid"
HOMEPAGE="https://github.com/puyuan/py-nanoid https://pypi.org/project/nanoid"
SRC_URI="https://github.com/puyuan/py-nanoid/archive/refs/heads/master.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/py-nanoid-master"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RDEPEND=""
BDEPEND="
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/flake8[${PYTHON_USEDEP}]
"
DEPEND="${BDEPEND}"
distutils_enable_tests pytest