1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_6 )
8 inherit distutils-r1 vcs-snapshot
10 DESCRIPTION="Fast and simple packet creation and parsing library for Python"
11 HOMEPAGE="https://gitlab.com/mike01/pypacker"
12 SRC_URI="https://gitlab.com/mike01/pypacker/-/archive/v${PV}/pypacker-v${PV}.tar.gz -> ${P}.tar.gz"
16 KEYWORDS="~amd64 ~x86"
19 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
21 DOCS=( AUTHORS CHANGES HACKING README.md )
24 "${PYTHON}" tests/test_pypacker.py || die
27 python_install_all() {
28 distutils-r1_python_install_all
29 use examples && dodoc -r examples