mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-11-15 04:00:42 -05:00
29 lines
636 B
Bash
29 lines
636 B
Bash
# 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
|