diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/fusil | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/fusil')
-rw-r--r-- | dev-python/fusil/Manifest | 4 | ||||
-rw-r--r-- | dev-python/fusil/fusil-1.5-r1.ebuild | 35 | ||||
-rw-r--r-- | dev-python/fusil/fusil-1.5.ebuild | 36 | ||||
-rw-r--r-- | dev-python/fusil/metadata.xml | 12 |
4 files changed, 87 insertions, 0 deletions
diff --git a/dev-python/fusil/Manifest b/dev-python/fusil/Manifest new file mode 100644 index 000000000000..b064ba0fb9de --- /dev/null +++ b/dev-python/fusil/Manifest @@ -0,0 +1,4 @@ +DIST fusil-1.5.tar.gz 138910 BLAKE2B b3f1d07e40116aadfd3aa008366f9598015e741bd5caa364050e26d6a8d9d9c4fe8bb021431737f58ea54bbfb79808fa1ae99568afadad3ae509937910578f90 SHA512 0d84bfd2d9b8e509989723de26b30c3ec2824612dbdcc097ff3e998fd4efa6b1293cb78743e098ad5012d4981b8e8036f3ad3f9c6acf2dc30e3ff1f707c7d1c0 +EBUILD fusil-1.5-r1.ebuild 850 BLAKE2B 2d367af89aeb7c8cb247a391f2ca1ddce76532e7f309cafd1b4e62d308b9d8304b546a62a6dc5d9843ff6422bd66475edb7824aa968f7923c8ad7091459e7b52 SHA512 03a5a1accb1000924e72363488945e67b418cb94c37df52d81ad8c07b5051ac9045efbaa23f437e45057174b48954012b14c160de2f5897d9c65a9ad89e2173d +EBUILD fusil-1.5.ebuild 938 BLAKE2B 722e16983849025973421510668a700ad92e75f929ea7a8158c31d3e9a0d084f920a25d605e32904135b79a452a5c76ba8c7fadf23ddd06b8c21a8fd649b161f SHA512 64de057453435a35afcfb71b23bf4d4e9a2f53ec77d045e498e121bbd855344e18b8a5bf6ae030f288f8b6f1afe840cd8520bce48ecf1cb8e628dad7282bc128 +MISC metadata.xml 374 BLAKE2B 7580e8059db1c7decc3688c34c4da02af104576b257904129929e9619cd94384a10db1514dbd64b638b3e2b44e19b9e051af0bc325c1505628cda806d8f5e213 SHA512 98947683cbc807385f692511afa4402ed11644fbece4ecad9888cb8beb90d4154f9ddad104210ab2e7fc0641cadb654a826786a57ffb6fbae158eb3aefe0bdba diff --git a/dev-python/fusil/fusil-1.5-r1.ebuild b/dev-python/fusil/fusil-1.5-r1.ebuild new file mode 100644 index 000000000000..e7a28cd94155 --- /dev/null +++ b/dev-python/fusil/fusil-1.5-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy ) + +inherit distutils-r1 user + +DESCRIPTION="Python library to write fuzzing programs" +HOMEPAGE="https://bitbucket.org/haypo/fusil/wiki/Home https://pypi.org/project/fusil/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples" + +DEPEND="doc? ( dev-python/docutils[${PYTHON_USEDEP}] )" +RDEPEND=">=dev-python/python-ptrace-0.7[${PYTHON_USEDEP}]" + +python_compile_all() { + use doc && emake -C doc RST2HTML="rst2html.py" +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/. ) + use examples && dodoc -r examples + distutils-r1_python_install_all +} + +pkg_postinst() { + enewgroup "${PN}" + enewuser "${PN}" -1 -1 -1 "${PN}" +} diff --git a/dev-python/fusil/fusil-1.5.ebuild b/dev-python/fusil/fusil-1.5.ebuild new file mode 100644 index 000000000000..4a13a9f1b432 --- /dev/null +++ b/dev-python/fusil/fusil-1.5.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy ) + +inherit distutils-r1 user + +DESCRIPTION="Fusil the fuzzer is a Python library used to write fuzzing programs" +HOMEPAGE="https://bitbucket.org/haypo/fusil/wiki/Home https://pypi.org/project/fusil/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="doc examples" + +DEPEND="doc? ( dev-python/docutils[${PYTHON_USEDEP}] )" +RDEPEND=">=dev-python/python-ptrace-0.7[${PYTHON_USEDEP}]" + +python_compile_all() { + if use doc; then + emake -C doc RST2HTML="rst2html.py" || die "Generation of documentation failed" + fi +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/. ) + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +} + +pkg_postinst() { + enewgroup fusil + enewuser fusil -1 -1 -1 "fusil" +} diff --git a/dev-python/fusil/metadata.xml b/dev-python/fusil/metadata.xml new file mode 100644 index 000000000000..030b6dace8fe --- /dev/null +++ b/dev-python/fusil/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <upstream> + <remote-id type="pypi">fusil</remote-id> + <remote-id type="bitbucket">haypo/fusil</remote-id> + </upstream> +</pkgmetadata> |