From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7F880139694 for ; Thu, 29 Jun 2017 13:46:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B944D21C028; Thu, 29 Jun 2017 13:46:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8CB8821C028 for ; Thu, 29 Jun 2017 13:46:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F3ECF340AC7 for ; Thu, 29 Jun 2017 13:46:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6C1567478 for ; Thu, 29 Jun 2017 13:46:41 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1498743982.5d8a889a26713288e6bf285fc0647c8a82965bda.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-afl/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-afl/Manifest dev-python/python-afl/metadata.xml dev-python/python-afl/python-afl-0.6.ebuild X-VCS-Directories: dev-python/python-afl/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 5d8a889a26713288e6bf285fc0647c8a82965bda X-VCS-Branch: master Date: Thu, 29 Jun 2017 13:46:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 73627aab-f228-4ca0-ae0a-ee169f861173 X-Archives-Hash: a71f6bfd317cc81893d2840c8653dc8c commit: 5d8a889a26713288e6bf285fc0647c8a82965bda Author: Manuel Rüger gentoo org> AuthorDate: Thu Jun 29 13:45:55 2017 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Thu Jun 29 13:46:22 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d8a889a dev-python/python-afl: Initial version Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-python/python-afl/Manifest | 1 + dev-python/python-afl/metadata.xml | 16 +++++++++++++++ dev-python/python-afl/python-afl-0.6.ebuild | 30 +++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+) diff --git a/dev-python/python-afl/Manifest b/dev-python/python-afl/Manifest new file mode 100644 index 00000000000..55ea58f882a --- /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 00000000000..727252c1b36 --- /dev/null +++ b/dev-python/python-afl/metadata.xml @@ -0,0 +1,16 @@ + + + + + mrueg@gentoo.org + Manuel Rüger + + + python@gentoo.org + Python + + + jwilk/python-afl + python-afl + + 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 00000000000..cb3375a8e44 --- /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 +}