diff options
-rw-r--r-- | dev-python/fusil/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/fusil/Manifest | 17 | ||||
-rw-r--r-- | dev-python/fusil/fusil-1.2.1-r1.ebuild | 41 | ||||
-rw-r--r-- | dev-python/fusil/fusil-1.2.1.ebuild | 26 | ||||
-rw-r--r-- | dev-python/fusil/fusil-1.3.ebuild | 65 |
5 files changed, 75 insertions, 82 deletions
diff --git a/dev-python/fusil/ChangeLog b/dev-python/fusil/ChangeLog index 7a872cfbcee5..63f0b9516c69 100644 --- a/dev-python/fusil/ChangeLog +++ b/dev-python/fusil/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/fusil # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/fusil/ChangeLog,v 1.2 2009/07/13 22:03:19 neurogeek Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/fusil/ChangeLog,v 1.3 2009/09/18 13:41:09 arfrever Exp $ + +*fusil-1.3 (18 Sep 2009) + + 18 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + -fusil-1.2.1.ebuild, -fusil-1.2.1-r1.ebuild, +fusil-1.3.ebuild: + Version bump. Set SUPPORT_PYTHON_ABIS. *fusil-1.2.1-r1 (13 Jul 2009) diff --git a/dev-python/fusil/Manifest b/dev-python/fusil/Manifest index c652a26895f2..df90e08b46db 100644 --- a/dev-python/fusil/Manifest +++ b/dev-python/fusil/Manifest @@ -1,15 +1,4 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -DIST fusil-1.2.1.tar.gz 136505 RMD160 7af37027ff2c782dbed7e64feb8f3285691b355d SHA1 78d129ecaff3fb472cc80940ad507c6cd3eb546f SHA256 208d7aaf7a82a42694f9f69f65e759558a64bdee25205ad632451992a5ba12d1 -EBUILD fusil-1.2.1-r1.ebuild 900 RMD160 48dd12075a073df52695879d982385e54b349872 SHA1 91f0732e5f81b0670ba1c1a8b0bbfbbd58de73f6 SHA256 60bde2162db0722e14fb3762a54d50b6a1a30aba280e33fece0d8b48bfc1ba21 -EBUILD fusil-1.2.1.ebuild 713 RMD160 1ccb2adbea864bbada5b568bf4ba8728c5aeb197 SHA1 f5bbd530e9f2ec5b211b056b35ef6b247f80fc3c SHA256 ea0bf6ada51008cac86cdef3942a66acfbfd59441242c8ee9f617a68ab098829 -MISC ChangeLog 602 RMD160 9f737f9bfa1b9d1c0a82e3d05897186856f43f89 SHA1 3957d5f31d09c6561c93306981654cf3b2c7beaf SHA256 c76f7e4e2916d8a9fbd675903df2ae2f54e19231b803f7bd30fc6d2bb3344f28 +DIST fusil-1.3.tar.gz 134006 RMD160 0f10a92fe72fb00349a34d989afea1ae5de86e3c SHA1 52bcd02e20c24d9e3aa2497ad7220a2062ca0fd5 SHA256 fae40233304fd14796072c4b0051a0f38e791b3d8f47f58c6f10205a94f17845 +EBUILD fusil-1.3.ebuild 1532 RMD160 cb5fbe961726969c3abd9a15fa0c397d1256656b SHA1 24898b211133f459db8e1e6cac018b3c57f893ed SHA256 47922c0b4a639ea6ed01d81c4d7a5c34a19bf0444f9bc2c5e60755660c0ed1ba +MISC ChangeLog 808 RMD160 094231fa1bcad611acd34f3b10c1a4f52adacac5 SHA1 25e7e07ba3ef4e69363a56464130f307f238d905 SHA256 ff2df0deae46ff37ee088666063fb0f3218f6e66da8e0320082c2aff507ae4fc MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) - -iEYEARECAAYFAkpbrzIACgkQdIssYB9vBoNi8wCfTEfwoV6NVXHLu0Xll1wyHRWn -6L8AnRtzMU+gZYzRBsauuWTlf6PGruaM -=CExn ------END PGP SIGNATURE----- diff --git a/dev-python/fusil/fusil-1.2.1-r1.ebuild b/dev-python/fusil/fusil-1.2.1-r1.ebuild deleted file mode 100644 index ce873c8702c5..000000000000 --- a/dev-python/fusil/fusil-1.2.1-r1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/fusil/fusil-1.2.1-r1.ebuild,v 1.1 2009/07/13 22:03:19 neurogeek Exp $ - -EAPI="2" -NEED_PYTHON=2.4 - -inherit distutils - -DESCRIPTION="Fusil the fuzzer is a Python library used to write fuzzing programs." -HOMEPAGE="http://fusil.hachoir.org/" -SRC_URI="http://pypi.python.org/packages/source/f/fusil/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc examples" - -DEPEND="|| ( ( =dev-lang/python-2.4* dev-python/ctypes ) >=dev-lang/python-2.5 )" -RDEPEND="dev-python/python-ptrace" - -PYTHON_MODNAME="fusil" - -src_install(){ - distutils_src_install - - if use doc; then - DOCS="doc/*" - fi - - if use examples; then - insinto "/usr/share/doc/${PF}" - doins -r examples - fi - -} - -pkg_postinst() { - enewgroup fusil - enewuser fusil -1 -1 -1 "fusil" -} diff --git a/dev-python/fusil/fusil-1.2.1.ebuild b/dev-python/fusil/fusil-1.2.1.ebuild deleted file mode 100644 index 1950edcc5b5d..000000000000 --- a/dev-python/fusil/fusil-1.2.1.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/fusil/fusil-1.2.1.ebuild,v 1.1 2009/02/28 19:40:44 patrick Exp $ - -NEED_PYTHON=2.4 - -inherit distutils - -DESCRIPTION="Fusil the fuzzer is a Python library used to write fuzzing programs." -HOMEPAGE="http://fusil.hachoir.org/" -SRC_URI="http://pypi.python.org/packages/source/f/fusil/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64" -IUSE="" - -DEPEND="|| ( ( =dev-lang/python-2.4* dev-python/ctypes ) >=dev-lang/python-2.5 )" -RDEPEND="dev-python/python-ptrace" - -PYTHON_MODNAME="fusil" - -pkg_postinst() { - enewgroup fusil - enewuser fusil -1 -1 -1 "fusil" -} diff --git a/dev-python/fusil/fusil-1.3.ebuild b/dev-python/fusil/fusil-1.3.ebuild new file mode 100644 index 000000000000..c7b94a04f7bf --- /dev/null +++ b/dev-python/fusil/fusil-1.3.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/fusil/fusil-1.3.ebuild,v 1.1 2009/09/18 13:41:09 arfrever Exp $ + +EAPI="2" +NEED_PYTHON="2.5" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +DESCRIPTION="Fusil the fuzzer is a Python library used to write fuzzing programs." +HOMEPAGE="http://bitbucket.org/haypo/fusil/wiki/Home http://pypi.python.org/pypi/fusil" +SRC_URI="http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples" + +DEPEND=">=dev-python/python-ptrace-0.6" +RDEPEND="${DEPEND}" +RESTRICT_PYTHON_ABIS="2.4" + +DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1" + +src_prepare() { + python_copy_sources --no-link + + conversion() { + [[ "${PYTHON_ABI}" == 2.* ]] && return + + 2to3-${PYTHON_ABI} -w . fuzzers/fusil-* fuzzers/notworking/fusil-* > /dev/null + epatch python3.0.patch + } + python_execute_function --action-message 'Applying patches for Python ${PYTHON_ABI}' --failure-message 'Applying patches for Python ${PYTHON_ABI} failed' -s conversion +} + +src_compile() { + distutils_src_compile + + if use doc; then + cd doc + emake RST2HTML="rst2html.py" || die "Generation of documentation failed" + fi +} + +src_install(){ + distutils_src_install + + if use doc; then + dohtml doc/* + fi + + if use examples; then + insinto "/usr/share/doc/${PF}" + doins -r examples + fi +} + +pkg_postinst() { + distutils_pkg_postinst + + enewgroup fusil + enewuser fusil -1 -1 -1 "fusil" +} |