gentoo/dev-python/diff-match-patch/diff-match-patch-20121119.ebuild
Michał Górny a7b397757e
dev-python/diff-match-patch: Remove Python 2 support
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2020-01-18 19:47:43 +01:00

25 lines
507 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
DESCRIPTION="Diff, match and patch algorithms for plain text"
HOMEPAGE="https://pypi.org/project/diff-match-patch/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm64 x86"
IUSE=""
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
python_test() {
esetup.py test
}