summaryrefslogtreecommitdiff
path: root/app-misc/hachoir-subfile
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/hachoir-subfile')
-rw-r--r--app-misc/hachoir-subfile/Manifest3
-rw-r--r--app-misc/hachoir-subfile/hachoir-subfile-0.5.3-r1.ebuild29
-rw-r--r--app-misc/hachoir-subfile/metadata.xml10
3 files changed, 42 insertions, 0 deletions
diff --git a/app-misc/hachoir-subfile/Manifest b/app-misc/hachoir-subfile/Manifest
new file mode 100644
index 000000000000..b108fb2491e9
--- /dev/null
+++ b/app-misc/hachoir-subfile/Manifest
@@ -0,0 +1,3 @@
+DIST hachoir-subfile-0.5.3.tar.gz 15499 BLAKE2B a055f19285cdfa5a6d31b9f7a346b7ab54b8eb3c54d78890079bde25bf9660b5cadd18f9418b4dc55a543b329bbf38f274aa78fccddf52f47f9f65f28a0d4375 SHA512 b34cf7d7befc1031ae821dc5124b83d198cbd6d2f95666b8497b23a87c748d574637ed65023c7e1e2532a3a62ca079dfd13d11dbcac31457c6423309208d0ce4
+EBUILD hachoir-subfile-0.5.3-r1.ebuild 770 BLAKE2B 26d1ff2aed81b2957a51b8af0101618b81122878cc27d55eeda196238387037703f7bbafb34b355df88a1f7bbef212e3f13da471e0162434ca0dec37b20c96e6 SHA512 2a8f9c56de9d39584ec23cb5204c83454604a6c4e1a2e57f634d2404268e838117125aa8969561476270b0138c3f274689942635376200ab62166496cd18ccc4
+MISC metadata.xml 425 BLAKE2B 6636365b918a8252757c0a69ea4dad61a9ea1eefe45ad2b0864b33a72e41c9af358662550bb9e9bdb42c88d3c627d9c316192f45d78761bfc5ecab7c76e00cb9 SHA512 7c19037ce6003a18113d0ef240041a0ad9501080b5021a018124be678ee86240f6ad3cbb4fa0ece3a8a4994884eb499374f714b2ab2dd1e60ce82e885051af2d
diff --git a/app-misc/hachoir-subfile/hachoir-subfile-0.5.3-r1.ebuild b/app-misc/hachoir-subfile/hachoir-subfile-0.5.3-r1.ebuild
new file mode 100644
index 000000000000..b2b40be21fef
--- /dev/null
+++ b/app-misc/hachoir-subfile/hachoir-subfile-0.5.3-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="Find subfile in any binary stream"
+HOMEPAGE="https://web.archive.org/web/20170502140945/https://bitbucket.org/haypo/hachoir/wiki/hachoir-subfile https://pypi.org/project/hachoir-subfile/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-python/hachoir-core-1.1[${PYTHON_USEDEP}]
+ >=dev-python/hachoir-parser-1.1[${PYTHON_USEDEP}]
+ >=dev-python/hachoir-regex-1.0.1[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_configure_all() {
+ mydistutilsargs=(
+ --setuptools
+ )
+}
diff --git a/app-misc/hachoir-subfile/metadata.xml b/app-misc/hachoir-subfile/metadata.xml
new file mode 100644
index 000000000000..6fc0267d511b
--- /dev/null
+++ b/app-misc/hachoir-subfile/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <longdescription lang="en">a tool based on hachoir-parser to find subfiles in any binary stream.</longdescription>
+ <upstream>
+ <remote-id type="pypi">hachoir-subfile</remote-id>
+ <remote-id type="bitbucket">haypo/hachoir</remote-id>
+ </upstream>
+</pkgmetadata>