Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2024 18:16:05 GMT
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 05b066f1d9e1 - main - devel/py-pyinstaller-hooks-contrib: The PyInstaller community hooks repository.
Message-ID:  <202401181816.40IIG5vi064754@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=05b066f1d9e1ce81942c3ff11aa7898653b75a95

commit 05b066f1d9e1ce81942c3ff11aa7898653b75a95
Author:     Christopher Hall <hsw@bitmark.com>
AuthorDate: 2024-01-18 18:06:07 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-01-18 18:14:49 +0000

    devel/py-pyinstaller-hooks-contrib: The PyInstaller community hooks repository.
    
    This repository is a collection of hooks for many packages, and allows
    PyInstaller to work with these packages seamlessly.
    
    Differential Revision: https://reviews.freebsd.org/D43478
    
    Co-authored-by: Alastair Hogge <agh@riseup.net>
    
    PR:             276396
---
 devel/Makefile                               |  1 +
 devel/py-pyinstaller-hooks-contrib/Makefile  | 35 ++++++++++++++++++++++++++++
 devel/py-pyinstaller-hooks-contrib/distinfo  |  3 +++
 devel/py-pyinstaller-hooks-contrib/pkg-descr |  8 +++++++
 4 files changed, 47 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 879de1d80cc3..adc75a7ca812 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5307,6 +5307,7 @@
     SUBDIR += py-pyinotify
     SUBDIR += py-pyinquirer
     SUBDIR += py-pyinstaller
+    SUBDIR += py-pyinstaller-hooks-contrib
     SUBDIR += py-pyintelowl
     SUBDIR += py-pyjq
     SUBDIR += py-pyjsparser
diff --git a/devel/py-pyinstaller-hooks-contrib/Makefile b/devel/py-pyinstaller-hooks-contrib/Makefile
new file mode 100644
index 000000000000..f5a165ca4e03
--- /dev/null
+++ b/devel/py-pyinstaller-hooks-contrib/Makefile
@@ -0,0 +1,35 @@
+PORTNAME=	pyinstaller-hooks-contrib
+DISTVERSION=	2023.12
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	hsw@bitmark.com
+COMMENT=	Community maintained hooks for pyinstaller
+WWW=		https://pypi.org/project/pyinstaller-hooks-contrib/
+
+LICENSE=	APACHE20 GPLv2+
+LICENSE_COMB=	multi
+LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE.APL.txt
+LICENSE_FILE_GPLv2+ =	${WRKSRC}/LICENSE.GPL.txt
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}towncrier>0:textproc/py-towncrier@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}twine>0:devel/py-twine@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}execnet>0:sysutils/py-execnet@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyinstaller>0:devel/py-pyinstaller@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-drop-dup-tests>0:devel/py-pytest-drop-dup-tests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-timeout>0:devel/py-pytest-timeout@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-xdist>0:devel/py-pytest-xdist@${PY_FLAVOR}
+
+USES=		cpe python
+USE_PYTHON=	autoplist concurrent pep517 pytest
+
+EXTRACT_AFTER_ARGS=	--no-same-owner --no-same-permissions
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-pyinstaller-hooks-contrib/distinfo b/devel/py-pyinstaller-hooks-contrib/distinfo
new file mode 100644
index 000000000000..21ce8668dfe1
--- /dev/null
+++ b/devel/py-pyinstaller-hooks-contrib/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1705496236
+SHA256 (pyinstaller-hooks-contrib-2023.12.tar.gz) = 11a9d59d903723dd693e8c10b054f3ea1ecad390623c9fa527c731d715fc5b3f
+SIZE (pyinstaller-hooks-contrib-2023.12.tar.gz) = 120393
diff --git a/devel/py-pyinstaller-hooks-contrib/pkg-descr b/devel/py-pyinstaller-hooks-contrib/pkg-descr
new file mode 100644
index 000000000000..e650d7e9a45c
--- /dev/null
+++ b/devel/py-pyinstaller-hooks-contrib/pkg-descr
@@ -0,0 +1,8 @@
+This package is a collection of hooks for PyInstaller and allows it to
+work seamlessly when a package does not work with PyInstaller or has
+data files that are needed at runtime.
+
+Various hooks are avaiable.  A runtime hook helps the bootloader to
+launch an app, setting up the environment. A package hook tells
+PyInstaller what to include in the final application - such as the
+data files and hidden imports.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401181816.40IIG5vi064754>