diff options
Diffstat (limited to 'dev-python/hachoir-core')
-rw-r--r-- | dev-python/hachoir-core/Manifest | 1 | ||||
-rw-r--r-- | dev-python/hachoir-core/hachoir-core-1.3.3-r1.ebuild | 29 | ||||
-rw-r--r-- | dev-python/hachoir-core/metadata.xml | 13 |
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/hachoir-core/Manifest b/dev-python/hachoir-core/Manifest new file mode 100644 index 000000000000..d3f79c502f70 --- /dev/null +++ b/dev-python/hachoir-core/Manifest @@ -0,0 +1 @@ +DIST hachoir-core-1.3.3.tar.gz 91504 SHA256 ecf5d16eccc76b22071d6062e54edb67595f70d827644d3a6dff04289b4058df SHA512 71c24c4c4612ab544663ddde4aa07bb7514fcb3b86596ad67d6b48e0d8590b1a9d8c88ed4007c2341cb195ef825e06634bce14c62cc2c5200b6d745d341cac51 WHIRLPOOL 1b6ab4088cc5a8270cd590d00fafb0c68571248a5f15703d5e644613cc338c6d594df87b82e2bc39f420333ca34bf37f45e003aedf43e1d085958a9294a716c7 diff --git a/dev-python/hachoir-core/hachoir-core-1.3.3-r1.ebuild b/dev-python/hachoir-core/hachoir-core-1.3.3-r1.ebuild new file mode 100644 index 000000000000..26eee5426a19 --- /dev/null +++ b/dev-python/hachoir-core/hachoir-core-1.3.3-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 pypy ) + +inherit distutils-r1 + +DESCRIPTION="Core of Hachoir framework: parse and edit binary files" +HOMEPAGE="http://bitbucket.org/haypo/hachoir/wiki/hachoir-core http://pypi.python.org/pypi/hachoir-core" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RDEPEND="" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +python_configure_all() { + mydistutilsargs=( --setuptools ) +} + +python_test() { + "${PYTHON}" test_doc.py || die "Tests fail with ${EPYTHON}" +} diff --git a/dev-python/hachoir-core/metadata.xml b/dev-python/hachoir-core/metadata.xml new file mode 100644 index 000000000000..12b9db27479c --- /dev/null +++ b/dev-python/hachoir-core/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <longdescription lang="en">A tool written for hackers to cut file or any binary stream. A file is + splitted in a tree of fields where the smallest field can be just a bit. + There are various field types: integer, string, bits, padding, sub file, + etc.</longdescription> + <upstream> + <remote-id type="pypi">hachoir-core</remote-id> + <remote-id type="bitbucket">haypo/hachoir</remote-id> + </upstream> +</pkgmetadata> |