From 5c25d3d9a0fbefa28f8ae00702958a2ffaa33b95 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Tue, 20 Dec 2022 14:20:09 +0200 Subject: [PATCH] dev-python/icoextract: new package, add 0.1.4 Signed-off-by: Alfred Wingate --- dev-python/icoextract/Manifest | 1 + dev-python/icoextract/icoextract-0.1.4.ebuild | 37 +++++++++++++++++++ dev-python/icoextract/metadata.xml | 12 ++++++ 3 files changed, 50 insertions(+) create mode 100644 dev-python/icoextract/Manifest create mode 100644 dev-python/icoextract/icoextract-0.1.4.ebuild create mode 100644 dev-python/icoextract/metadata.xml diff --git a/dev-python/icoextract/Manifest b/dev-python/icoextract/Manifest new file mode 100644 index 0000000..0b0467b --- /dev/null +++ b/dev-python/icoextract/Manifest @@ -0,0 +1 @@ +DIST icoextract-0.1.4.gh.tar.gz 46660 BLAKE2B 5e08a6ae63ed8de204a7afcbee17253e853653c2896b3900565d1eb51e2b8765ef82f38fa1432becc37e0770f173aa343da0f3f30ef221bb50676ca1097a4f03 SHA512 61a902eeb6dbe7d212a7b077d75b061c7bff64066e16cd6d5f7e993c77b4d2877458349d82c5bc51b1470615e9e8dbd400df8c8f02faa649a9b0c235fed85ce8 diff --git a/dev-python/icoextract/icoextract-0.1.4.ebuild b/dev-python/icoextract/icoextract-0.1.4.ebuild new file mode 100644 index 0000000..47b202a --- /dev/null +++ b/dev-python/icoextract/icoextract-0.1.4.ebuild @@ -0,0 +1,37 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..10} ) +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() { + emake -C tests + distutils-r1_src_test +} diff --git a/dev-python/icoextract/metadata.xml b/dev-python/icoextract/metadata.xml new file mode 100644 index 0000000..8da4668 --- /dev/null +++ b/dev-python/icoextract/metadata.xml @@ -0,0 +1,12 @@ + + + + + parona@protonmail.com + Alfred Wingate + + + jlu5/icoextract + icoextract + +