unitas-privacyidea/dev-python/smpplib/smpplib-2.0.1.ebuild

38 lines
752 B
Bash
Raw Normal View History

2020-09-08 16:56:41 +02:00
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
2022-08-12 18:34:13 +02:00
PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} )
2020-09-08 16:56:41 +02:00
inherit distutils-r1
DESCRIPTION="SMPP library for python"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
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
}