TwistedSNMP uses the PySNMP project's encoder/decoder mechanism to provide SNMP services within the Twisted networking environment. It provides both agent (server) and manager (client) APIs for developing applications, though the manager APIs are far more advanced than the agent-side APIs. Suggested package name is dev-python/twistedsnmp TwistedSNMP is dependent on the 3.x API of PySNMP, for which I have just submitted an updated ebuild.
Created attachment 33935 [details] New ebuild for the twistedsnmp project
Re-assigning to the python herd for overview.
Thanks for submission, but before commiting it to portage, several things should be fixed: - the header should be exactly the same as in /usr/portage/skel.ebuild, - replace DISTUTILS_NAME and VERSION with MY_PN and MY_PV, - remove src_install, because distutils_src_install will be called automatically, - remove unnecessary comments. Please follow http://www.gentoo.org/doc/en/gentoo-howto.xml and http://www.gentoo.org/doc/en/ebuild-mistakes.xml documents.
Created attachment 34103 [details] Revised version with feedback incorporated DISTUTILS_* names replaced with MY_PN and MY_PV, comments removed, description fixed, dependencies split onto multiple lines.
Does it need twisted-1.x or twisted-2.x ? this needs to be specified. Once you tell me this I can add it to portage (i'm quite busy at the moment unfortunately)
Works with Twisted 1.3 or 2.0
Sorry for the delay I was quite busy (non-gentoo unfortunately) I commited the ebuild. I've added the html documentation. There's one thing left: doc/pydoc it gives me an error and I dont' have time to investigate so if you feel like it ;)
Thanks for committing. TwistedSNMP is now up to version 0.3.10. Simply copying the emerge to the new version name produces a working install. Not sure what's going wrong for the pydoc script, it works in my dev directory. Aside: It also now has an speed-enhanced "in-house" replacement for the discontinued PySNMP 3.4.x series (PySNMP-se 3.5.x). PySNMP 4.0.x is a complete rewrite with different APIs, whereas PySNMP-se is substantially compatible with PySNMP 3.4.x, save where changes were required to improve performance. I'll look at getting ebuilds written for that and then figuring out how to alter the various ebuilds to do an either-or dependency for pysnmp or pysnmp-se. Should probably alter the TwistedSNMP ebuilds to declare that they require =pysnmp-3.* , since 4.0 isn't yet supported. Guess I'll look into that too. Thanks again, Mike