Install this version:
emerge -a =dev-python/smpp-twisted3-0.8
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/smpp-twisted3-0.8
Or alternatively:
emerge --autounmask-write -a =dev-python/smpp-twisted3-0.8
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.8 | 8 | ~amd64 | 0 |
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} pypy3_11 )
inherit distutils-r1
MY_PN="smpp.twisted"
MY_COMMIT="c9b266f54e44e7aff964b64cfb05ca1ecbcd7710"
DESCRIPTION="SMPP 3.4 client built on Twisted"
HOMEPAGE="
https://github.com/jookies/smpp.twisted
https://pypi.org/project/smpp.twisted3/
"
# Direct download due to smsc_simulator.py absense in PyPi archive causing test failure
SRC_URI="https://github.com/jookies/${MY_PN}/archive/${MY_COMMIT}.tar.gz -> ${P}.gh.tar.gz"
S="${WORKDIR}/${MY_PN}-${MY_COMMIT}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="examples test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-python/twisted[${PYTHON_USEDEP}]
dev-python/smpp-pdu-hologramio[${PYTHON_USEDEP}]
"
BDEPEND="
${RDEPEND}
test? (
dev-python/mock[${PYTHON_USEDEP}]
)
"
PATCHES=(
"${FILESDIR}/smpp.twisted3-${PV}-drop-pkgutil-namespace.patch"
)
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
python_install_all() {
if use examples; then
dodoc -r examples
docompress -x /usr/share/doc/${PF}/examples
fi
distutils-r1_python_install_all
}
Manage flags for this package:
euse -i <flag> -p dev-python/smpp-twisted3 |
euse -E <flag> -p dev-python/smpp-twisted3 |
euse -D <flag> -p dev-python/smpp-twisted3
dev-python/twisted[] dev-python/smpp-pdu-hologramio[]
dev-python/twisted[] dev-python/smpp-pdu-hologramio[] test? ( dev-python/mock[] )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | smpp-twisted3-0.8.gh.tar.gz | 22747 bytes | https://github.com/jookies/smpp.twisted/archive/c9b266f54e44e7aff964b64cfb05ca1ecbcd7710.tar.gz |