dev-python/python-afl: Initial version

Package-Manager: Portage-2.3.6, Repoman-2.3.2
This commit is contained in:
Manuel Rüger
2017-06-29 15:45:55 +02:00
parent f069fe61dd
commit 5d8a889a26
3 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST python-afl-0.6.tar.gz 14641 SHA256 14dc3a0a7fafddacefc209205795785cff8f5852f85732564814ea4eb2d9ee37 SHA512 ecbfd097645be5a97f1c3523d5c9d18d63a5e27c633cd5bc9e7c0ef1e10b55982fc1a8d698a27b66bb3b4eb3b2d21956449aee24ea01df9d626b80a1d9d430b6 WHIRLPOOL c140f351573a48c1dc618e786f9745d0ea63b527c3d4b1379c89432d058c775fb381999f41772df08bae1314b13f34e63eb8f07aa687ec8bad1a1b0971ce99ae

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>mrueg@gentoo.org</email>
<name>Manuel Rüger</name>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream>
<remote-id type="github">jwilk/python-afl</remote-id>
<remote-id type="pypi">python-afl</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,30 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
inherit distutils-r1
DESCRIPTION="Enables American fuzzy lop fork server and instrumentation for pure-Python code"
HOMEPAGE="https://github.com/jwilk/python-afl http://jwilk.net/software/python-afl"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RDEPEND="app-forensics/afl"
DEPEND=">=dev-python/cython-0.19[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
python_prepare_all() {
# afl-cmin errors with: "Error: do not use this script in /tmp or /var/tmp"
rm tests/test_cmin.py || die
distutils-r1_python_prepare_all
}
python_test() {
PATH="${PATH}:." nosetests --verbose || die
}