diff options
Diffstat (limited to 'dev-python/fasteners/fasteners-0.16.1.ebuild')
-rw-r--r-- | dev-python/fasteners/fasteners-0.16.1.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/fasteners/fasteners-0.16.1.ebuild b/dev-python/fasteners/fasteners-0.16.1.ebuild new file mode 100644 index 000000000000..519036387df1 --- /dev/null +++ b/dev-python/fasteners/fasteners-0.16.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{8..9} ) + +inherit distutils-r1 + +DESCRIPTION="Python package that provides useful locks" +HOMEPAGE="https://github.com/harlowja/fasteners/" +SRC_URI=" + https://github.com/harlowja/fasteners/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux ~x64-macos" + +BDEPEND=" + test? ( + dev-python/diskcache[${PYTHON_USEDEP}] + dev-python/more-itertools[${PYTHON_USEDEP}] + dev-python/testtools[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +python_install() { + # https://github.com/harlowja/fasteners/pull/70 + rm -r "${BUILD_DIR}"/lib/tests || die + distutils-r1_python_install +} |