SwordArMor-gentoo-overlay/dev-python/anytree/anytree-2.8.0.ebuild

25 lines
567 B
Bash
Raw Normal View History

# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6..8} )
inherit distutils-r1
DESCRIPTION="Powerful and Lightweight Python Tree Data Structure"
HOMEPAGE="https://github.com/c0fec0de/anytree/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND=">=dev-python/six-1.9.0"
RDEPEND="${DEPEND}"
BDEPEND=""
python_install_all() {
distutils-r1_python_install_all
rm "${ED}"/usr/LICENSE || die 'Cant remove LICENSE file'
}