Files
guru/dev-python/rstr/rstr-3.2.0.ebuild
T

26 lines
578 B
Bash
Raw Normal View History

2022-03-14 03:16:01 +01:00
# Copyright 1999-2022 Gentoo Authors
2021-07-03 23:16:21 +02:00
# Distributed under the terms of the GNU General Public License v2
EAPI=8
2022-05-31 11:59:14 +05:00
DISTUTILS_USE_PEP517=setuptools
2023-05-02 00:45:35 +05:00
PYTHON_COMPAT=( python3_{10..11} pypy3 )
2021-07-03 23:16:21 +02:00
2023-03-17 17:49:20 +05:00
inherit distutils-r1 pypi
2021-07-03 23:16:21 +02:00
DESCRIPTION="Easily generate random strings of various types"
2022-03-14 03:16:01 +01:00
HOMEPAGE="
https://github.com/leapfrogonline/rstr
https://pypi.org/project/rstr/
"
2021-07-03 23:16:21 +02:00
LICENSE="BSD"
SLOT=0
KEYWORDS="~amd64"
distutils_enable_tests unittest
python_install_all() {
distutils-r1_python_install_all
find "${ED}" -type d -name "tests" -exec rm -rv {} + || die "tests removing failed"
}