38 lines
725 B
Bash
38 lines
725 B
Bash
# Copyright 1999-2018 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
PYTHON_COMPAT=( python3_{8..12} )
|
|
|
|
inherit distutils-r1 pypi
|
|
|
|
DESCRIPTION="SMPP library for python"
|
|
HOMEPAGE="https://github.com/podshumok/python-smpplib"
|
|
|
|
LICENSE="LGPL-2.1+"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="test"
|
|
|
|
RDEPEND="
|
|
${PYTHON_DEPS}
|
|
"
|
|
DEPEND="
|
|
test? (
|
|
dev-python/pytest[${PYTHON_USEDEP}]
|
|
dev-python/mock[${PYTHON_USEDEP}]
|
|
)
|
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
dev-python/six[${PYTHON_USEDEP}]
|
|
${RDEPEND}
|
|
"
|
|
|
|
DOCS="README.md"
|
|
|
|
src_prepare() {
|
|
sed -i -e 's;packages=find_packages();packages=find_packages(exclude=["tests"]);' "setup.py"
|
|
eapply_user
|
|
}
|