Files
gentoo/dev-python/httmock/httmock-1.2.5.ebuild
Michał Górny 3f80cd9b45 dev-python/httmock: Remove py2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2020-02-05 15:24:12 +01:00

24 lines
527 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="A mocking library for requests"
HOMEPAGE="https://github.com/patrys/httmock"
SRC_URI="https://github.com/patrys/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND=">=dev-python/requests-1.0.0[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
python_test() {
esetup.py test
}