dev-python/icoextract: add 0.1.5

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2024-04-28 23:12:37 +03:00
parent d2ca1abe4c
commit 721bc4f1b4
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
2 changed files with 39 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST icoextract-0.1.4.gh.tar.gz 46660 BLAKE2B 5e08a6ae63ed8de204a7afcbee17253e853653c2896b3900565d1eb51e2b8765ef82f38fa1432becc37e0770f173aa343da0f3f30ef221bb50676ca1097a4f03 SHA512 61a902eeb6dbe7d212a7b077d75b061c7bff64066e16cd6d5f7e993c77b4d2877458349d82c5bc51b1470615e9e8dbd400df8c8f02faa649a9b0c235fed85ce8
DIST icoextract-0.1.5.gh.tar.gz 47625 BLAKE2B 5db642a0494c67c68c4848a63ced27dc30e52e6c0fdfd067f25ec5badec861a29109c2327b1e424f248eb91d3e7cb90aefa1f30c499e704579874c4d026e88d9 SHA512 ae65347800e83380fd688d43105e17f304c9d3e8e0058c757740ff7ede8551a980eeee8c4119374457e9399e642aac3bd3e2d484b77ce6cdb16abdda47dc874e

View File

@ -0,0 +1,38 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1
DESCRIPTION="Extract icons from Windows PE files (.exe/.dll)"
HOMEPAGE="
https://pypi.org/project/icoextract/
https://github.com/jlu5/icoextract
"
SRC_URI="https://github.com/jlu5/icoextract/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/pefile[${PYTHON_USEDEP}]
dev-python/pillow[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-util/mingw64-toolchain
${RDEPEND}
)
"
distutils_enable_tests unittest
src_test() {
export PATH="${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH}"
emake -C tests
distutils-r1_src_test
}