diff options
Diffstat (limited to 'dev-python/hachoir')
| -rw-r--r-- | dev-python/hachoir/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/hachoir/hachoir-3.4.0.ebuild | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/hachoir/Manifest b/dev-python/hachoir/Manifest index cbfb33cc9840..19160db77d9e 100644 --- a/dev-python/hachoir/Manifest +++ b/dev-python/hachoir/Manifest @@ -1 +1,2 @@ DIST hachoir-3.3.0.gh.tar.gz 7905416 BLAKE2B 2125d28c932564867b37265206d5e27c9202b523ee8cb01d438aba44e6be42e76a6d2411ff72002db1a2dd28cf5561ff9c810920c88bbd8b20399007d85c3abf SHA512 8c9d6070877cedf706bec45f2813e145b3014dfc5c29d44e6c78fade165f0706cb214690e89551e4934a54c7e8e1fac1c73362fb9ada1c3d3d41f35556f43c7a +DIST hachoir-3.4.0.gh.tar.gz 8325571 BLAKE2B 9474bfbd7c70e89cb83527ca34942d5f017e60168c0e02f3870ba8fd923de3cef53efff4fcb0442f44cbe3aec48367daae7bb17096ded0828f3b31a2ab137543 SHA512 9850d0ee469ab2f2ac9ee8d2d19ec758142bde97b8a99e948a1da730a8c6cb9297752856ed88a6ab64f2c84cc2b0eba1b7b91c1d3030d9c37431fb563e126381 diff --git a/dev-python/hachoir/hachoir-3.4.0.ebuild b/dev-python/hachoir/hachoir-3.4.0.ebuild new file mode 100644 index 000000000000..07cf8c4f523a --- /dev/null +++ b/dev-python/hachoir/hachoir-3.4.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 2022-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="Library to view and edit a binary stream field by field" +HOMEPAGE=" + https://pypi.org/project/hachoir/ + https://github.com/vstinner/hachoir/ +" +# use git archives for test data, which is missing in pypi tarballs +SRC_URI="https://github.com/vstinner/hachoir/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +distutils_enable_tests unittest + +python_test() { + local -x SLOW_TESTS=1 + + eunittest tests +} |
