Files
guru/dev-python/almost/almost-0.1.5.ebuild
T

30 lines
725 B
Bash
Raw Normal View History

2022-05-31 00:47:11 +02:00
# Copyright 1999-2022 Gentoo Authors
2020-04-30 23:41:22 +02:00
# Distributed under the terms of the GNU General Public License v2
2021-07-03 00:35:44 +02:00
EAPI="8"
2020-04-30 23:41:22 +02:00
COMMIT="cc3eeb0abde7ff95a222d571443989c74a112ff7"
2021-07-03 00:35:44 +02:00
DISTUTILS_USE_SETUPTOOLS=rdepend
2022-05-31 00:47:11 +02:00
PYTHON_COMPAT=( python3_{8..11} pypy3 )
2021-07-03 00:35:44 +02:00
inherit distutils-r1
2020-04-30 23:41:22 +02:00
DESCRIPTION="A helper for approximate comparison"
HOMEPAGE="
https://github.com/sublee/almost
2022-04-04 18:45:49 +02:00
https://pypi.org/project/almost/
2020-04-30 23:41:22 +02:00
"
SRC_URI="https://github.com/sublee/almost/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
2021-07-03 00:35:44 +02:00
S="${WORKDIR}/${PN}-${COMMIT}"
2020-04-30 23:41:22 +02:00
SLOT="0"
LICENSE="BSD"
KEYWORDS="~amd64"
2020-05-01 11:42:43 +02:00
IUSE="test"
DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
2020-04-30 23:41:22 +02:00
2021-07-03 00:35:44 +02:00
RESTRICT="!test? ( test )"
PATCHES=( "${FILESDIR}/${P}-setuptools.patch" )
2020-04-30 23:41:22 +02:00
distutils_enable_tests setup.py