diff --git a/devel/py-pyinstaller-hooks-contrib/Makefile b/devel/py-pyinstaller-hooks-contrib/Makefile new file mode 100644 --- /dev/null +++ b/devel/py-pyinstaller-hooks-contrib/Makefile @@ -0,0 +1,23 @@ +PORTNAME= pyinstaller-hooks-contrib +PORTVERSION= 2023.9 +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= GPLv2+ APACHE20 +LICENSE_COMB= multi +LICENSE_FILE_GPLv2+= ${WRKSRC}/LICENSE.GPL.txt +LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.APL.txt + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} + +USES= cpe python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +EXTRACT_AFTER_ARGS= --no-same-owner --no-same-permissions + +.include diff --git a/devel/py-pyinstaller-hooks-contrib/distinfo b/devel/py-pyinstaller-hooks-contrib/distinfo new file mode 100644 --- /dev/null +++ b/devel/py-pyinstaller-hooks-contrib/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1696303976 +SHA256 (pyinstaller-hooks-contrib-2023.9.tar.gz) = 76084b5988e3957a9df169d2a935d65500136967e710ddebf57263f1a909cd80 +SIZE (pyinstaller-hooks-contrib-2023.9.tar.gz) = 104778 diff --git a/devel/py-pyinstaller-hooks-contrib/pkg-descr b/devel/py-pyinstaller-hooks-contrib/pkg-descr new file mode 100644 --- /dev/null +++ b/devel/py-pyinstaller-hooks-contrib/pkg-descr @@ -0,0 +1,9 @@ +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. +