summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-06-29 15:45:55 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-06-29 15:46:22 +0200
commit5d8a889a26713288e6bf285fc0647c8a82965bda (patch)
treedde4f1448ac1c757e8a7a911fea3ee0903000f1b /dev-python/python-afl
parentsys-auth/elogind: version bump 231.3 (diff)
downloadgentoo-5d8a889a26713288e6bf285fc0647c8a82965bda.tar.gz
gentoo-5d8a889a26713288e6bf285fc0647c8a82965bda.tar.bz2
gentoo-5d8a889a26713288e6bf285fc0647c8a82965bda.zip
dev-python/python-afl: Initial version
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-python/python-afl')
-rw-r--r--dev-python/python-afl/Manifest1
-rw-r--r--dev-python/python-afl/metadata.xml16
-rw-r--r--dev-python/python-afl/python-afl-0.6.ebuild30
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/python-afl/Manifest b/dev-python/python-afl/Manifest
new file mode 100644
index 000000000000..55ea58f882ae
--- /dev/null
+++ b/dev-python/python-afl/Manifest
@@ -0,0 +1 @@
+DIST python-afl-0.6.tar.gz 14641 SHA256 14dc3a0a7fafddacefc209205795785cff8f5852f85732564814ea4eb2d9ee37 SHA512 ecbfd097645be5a97f1c3523d5c9d18d63a5e27c633cd5bc9e7c0ef1e10b55982fc1a8d698a27b66bb3b4eb3b2d21956449aee24ea01df9d626b80a1d9d430b6 WHIRLPOOL c140f351573a48c1dc618e786f9745d0ea63b527c3d4b1379c89432d058c775fb381999f41772df08bae1314b13f34e63eb8f07aa687ec8bad1a1b0971ce99ae
diff --git a/dev-python/python-afl/metadata.xml b/dev-python/python-afl/metadata.xml
new file mode 100644
index 000000000000..727252c1b369
--- /dev/null
+++ b/dev-python/python-afl/metadata.xml
@@ -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>
diff --git a/dev-python/python-afl/python-afl-0.6.ebuild b/dev-python/python-afl/python-afl-0.6.ebuild
new file mode 100644
index 000000000000..cb3375a8e445
--- /dev/null
+++ b/dev-python/python-afl/python-afl-0.6.ebuild
@@ -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
+}