pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
yubikey-manager-qt: finish package
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By: wiz
Date: Tue Mar 14 13:22:00 2023 +0100
Changeset: dced1c41393e778b64a1b33a3fa36fa75bb71e96
Modified Files:
yubikey-manager-qt/Makefile
Removed Files:
yubikey-manager-qt/TODO
Log Message:
yubikey-manager-qt: finish package
With help from riastradh, thanks!
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=dced1c41393e778b64a1b33a3fa36fa75bb71e96
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
yubikey-manager-qt/Makefile | 2 ++
yubikey-manager-qt/TODO | 48 ---------------------------------------------
2 files changed, 2 insertions(+), 48 deletions(-)
diffs:
diff --git a/yubikey-manager-qt/Makefile b/yubikey-manager-qt/Makefile
index ca34813cd3..9402d8b5ab 100644
--- a/yubikey-manager-qt/Makefile
+++ b/yubikey-manager-qt/Makefile
@@ -18,6 +18,8 @@ WRKSRC= ${WRKDIR}/yubikey-manager-qt
USE_LANGUAGES= c++
MAKE_ENV+= INSTALL_ROOT=${DESTDIR}
+# https://github.com/Yubico/yubikey-manager-qt/issues/342
+MAKE_ENV+= SUBLIBS=-lpython${PYVERSSUFFIX}
INSTALLATION_DIRS+= bin
pre-build:
diff --git a/yubikey-manager-qt/TODO b/yubikey-manager-qt/TODO
deleted file mode 100644
index b3a2091058..0000000000
--- a/yubikey-manager-qt/TODO
+++ /dev/null
@@ -1,48 +0,0 @@
-Error during startup:
-
-"PyOtherSide error: ImportError: PyCapsule_Import could not import module \"datetime\"\n\n\nThe above exception was the direct cause of the following exception:\n\n\nTraceback (most recent call last):\n\n File \"<frozen site>\", line 212, in addsitedir\n\n File \"<frozen site>\", line 149, in _init_pathinfo\n\nSystemError: <class 'set'> returned a result with an exception set\n"
-qml: Return value of PyObject call is NULL: ImportError: PyCapsule_Import could not import module "datetime"
-
-
-The above exception was the direct cause of the following exception:
-
-
-Traceback (most recent call last):
-
- File "<frozen site>", line 212, in addsitedir
-
- File "<frozen site>", line 149, in _init_pathinfo
-
-SystemError: <class 'set'> returned a result with an exception set
-
-"PyOtherSide error: Traceback (most recent call last):\n\n File \"qrc://io/thp/pyotherside/qrc_importer.py\", line 21, in <module>\n\n File \"/usr/pkg/lib/python3.11/importlib/abc.py\", line 19, in <module>\n from .resources.abc import ResourceReader, Traversable, TraversableResources\n\n File \"/usr/pkg/lib/python3.11/importlib/resources/__init__.py\", line 3, in <module>\n from ._common import (\n\n File \"/usr/pkg/lib/python3.11/importlib/resources/_common.py\", line 3, in <module>\n import tempfile\n\n File \"/usr/pkg/lib/python3.11/tempfile.py\", line 45, in <module>\n from random import Random as _Random\n\n File \"/usr/pkg/lib/python3.11/random.py\", line 49, in <module>\n from math import log as _log, exp as _exp, pi as _pi, e as _e, ceil as _ceil\n\nImportError: /usr/pkg/lib/python3.11/lib-dynload/math.so: Undefined PLT symbol \"PyModule_AddObject\" (symnum = 4)\n"
-qml: Cannot exec qrc importer: Traceback (most recent call last):
-
- File "qrc://io/thp/pyotherside/qrc_importer.py", line 21, in <module>
-
- File "/usr/pkg/lib/python3.11/importlib/abc.py", line 19, in <module>
- from .resources.abc import ResourceReader, Traversable, TraversableResources
-
- File "/usr/pkg/lib/python3.11/importlib/resources/__init__.py", line 3, in <module>
- from ._common import (
-
- File "/usr/pkg/lib/python3.11/importlib/resources/_common.py", line 3, in <module>
- import tempfile
-
- File "/usr/pkg/lib/python3.11/tempfile.py", line 45, in <module>
- from random import Random as _Random
-
- File "/usr/pkg/lib/python3.11/random.py", line 49, in <module>
- from math import log as _log, exp as _exp, pi as _pi, e as _e, ceil as _ceil
-
-ImportError: /usr/pkg/lib/python3.11/lib-dynload/math.so: Undefined PLT symbol "PyModule_AddObject" (symnum = 4)
-
-"PyOtherSide error: No module named 'yubikey'"
-qml: Cannot import module: yubikey (No module named 'yubikey')
-"PyOtherSide error: Traceback (most recent call last):\n\n File \"<string>\", line 1, in <module>\n\nNameError: name 'yubikey' is not defined\n"
-qml: Function not found: 'yubikey.init' (Traceback (most recent call last):
-
- File "<string>", line 1, in <module>
-
-NameError: name 'yubikey' is not defined
-)
Home |
Main Index |
Thread Index |
Old Index