Created attachment 339876 [details] pypacker 1.8 ebuild Hi! Please find attached pypacker-1.8.ebuild that will compile against python-3.x. pypacker is a network packet parser/creator similar to scapy but much faster, easier to extend and python 3.x compatible. It follows the one-job/one-tool philosophy so in contrast to scapy it's not capable of doing neat things like fingerprinting, port scanning etc. The code is hosted at: https://github.com/mike01/pypacker. I suggest dev-python/pypacker, there are no dependencies to other packages. mike
Comment on attachment 339876 [details] pypacker 1.8 ebuild ># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/dev-python/pypacker/pypacker-1.3.ebuild,v 1.0 2013/01/02 01:01:01 arfrever Exp $ > >EAPI="3" > >PYTHON_DEPEND="3" >SUPPORT_PYTHON_ABIS=1 >RESTRICT_PYTHON_ABIS="2.*" > >inherit distutils eutils vcs-snapshot > >DESCRIPTION="Fast and simple packet creating / parsing supporting various protocols." >HOMEPAGE="https://github.com/mike01/pypacker" >SRC_URI="https://github.com/mike01/${PN}/tarball/v${PV} -> ${P}.tar.gz" > >LICENSE="BSD" >SLOT="0" >KEYWORDS="~amd64 ~arm ~x86" >IUSE="examples" > >DEPEND="" >RDEPEND="" > >DOCS="AUTHORS CHANGES HACKING README" > >#src_compile() { ># distutils_src_compile >#} > >src_test() { > testing() { > PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" tests/test_pypacker.py > } > python_execute_function testing >} > > >src_install() { > distutils_src_install > > if use examples; then > insinto /usr/share/doc/${PF} > doins -r examples > fi >}
~ was missing on arm and x86
Created attachment 340116 [details] pypacker-1.8.ebuild Some small changes made: 1. Cleaned header to use 2013. 2. Using EAPI 5. 3. Removed empty variables, commented out code. Next time, if you want to correct an attachment, you need to attach it again and place the code in the "File" field and not in the "Comment" field. Also mark the previous attachment as "Obsolete" before you click "Submit"; don't worry, it's alright, thank you for your contribution. :)
(In reply to comment #3) sorry, seemed like hitting the save button would create a new attachemant instead of pasting it.
Created attachment 342590 [details] pypacker 1.9 ebuild Version bump to v1.9
Created attachment 342592 [details] Fixed ebuild for v1.8 Ebuild changed by Tom contained "CRLF" which doesn't work with portage. This is a fixed version.
Created attachment 342596 [details] update for ebuild to pypacker v1.9 Upgraded Version of the previous ebuild to use distutils-r1
Created attachment 345274 [details] Version bump to v2.0 Updated version for pypacker. Nothing changed in ebuild from v1.9 but the filename.
+ 20 Apr 2013; Sergey Popov <pinkbyte@gentoo.org> +pypacker-2.0.ebuild, + +metadata.xml: + Initial commit, wrt bug #458922. Thanks to mike <michael.stahn.42 AT + googlemail.com> for ebuild Netmon will take care of this package
Created attachment 355810 [details] Version bump to v2.2 Version bump of pypacker to v2.2
Created attachment 357426 [details] Version bumb to pypacker v2.3 Version bumb to pypacker v2.3
(In reply to mike from comment #11) > Created attachment 357426 [details] > Version bumb to pypacker v2.3 > > Version bumb to pypacker v2.3 File version bump request in separate bug, please. This bug is fixed.