misc/py-icoextract: New port

icoextract is an icon extractor for Windows PE files (.exe/.dll),
written in Python. It also includes a thumbnailer script
(exe-thumbnailer) for Linux desktops.

This project is inspired by extract-icon-py, icoutils,
and others.

icoextract aims to be:

    Lightweight
    Portable (cross-platform)
    Fast on large files
2023Q2
Chris Rees 2023-03-24 10:57:23 +00:00
parent 4b6e26bfcb
commit b9be9ee1c2
4 changed files with 36 additions and 0 deletions

View File

@ -412,6 +412,7 @@
SUBDIR += py-halo
SUBDIR += py-histoprint
SUBDIR += py-huepy
SUBDIR += py-icoextract
SUBDIR += py-ipyfastscape
SUBDIR += py-kartograph
SUBDIR += py-lightgbm

View File

@ -0,0 +1,20 @@
PORTNAME= icoextract
PORTVERSION= 0.1.4
CATEGORIES= misc
MASTER_SITES= GH
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= crees@FreeBSD.org
COMMENT= Extract icons from Windows EXE and DLL files
LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pefile>0:devel/py-pefile@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist
USE_GITHUB= yes
GH_ACCOUNT= jlu5
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1678578100
SHA256 (jlu5-icoextract-0.1.4_GH0.tar.gz) = 9d84a6191c02326bdf6f7689184540aba5b683b9c626ed832ff20c426f2d6746
SIZE (jlu5-icoextract-0.1.4_GH0.tar.gz) = 46660

View File

@ -0,0 +1,12 @@
icoextract is an icon extractor for Windows PE files (.exe/.dll),
written in Python. It also includes a thumbnailer script
(exe-thumbnailer) for Linux desktops.
This project is inspired by extract-icon-py, icoutils,
and others.
icoextract aims to be:
Lightweight
Portable (cross-platform)
Fast on large files