From fd7c8dc4b290013a8ce3c6537f80a3635430c4ab Mon Sep 17 00:00:00 2001 From: dzania Date: Mon, 28 Aug 2023 14:15:19 +0200 Subject: [PATCH] fix reqs --- debian/compat | 2 +- debian/control | 2 +- debian/postinst | 3 --- pyproject.toml | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) delete mode 100644 debian/postinst diff --git a/debian/compat b/debian/compat index ec63514..f599e28 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -9 +10 diff --git a/debian/control b/debian/control index 6e4e3db..aaafeb9 100644 --- a/debian/control +++ b/debian/control @@ -8,6 +8,6 @@ Homepage: defguard.net Package: yubi-bridge Architecture: all -Depends: libpcsclite-dev, swig, scdaemon, libffi-dev, libssl-dev, usbutils, libsystemd-dev, software-properties-common, python3-pip, ${python3:Depends} +Depends: libpcsclite-dev, swig, scdaemon, libffi-dev, libssl-dev, usbutils, libsystemd-dev, software-properties-common, python3-pip, ${python3:Depends}, ${misc:Depends}, python3-grpcio, python3-gnupg, python3-protobuf, python3-pexpect, python3-yubikey-manager, python3-stdeb Description: Yubi-Bridge is a Python module that creates GPG keys for YubiKey and transfers them automatically to YubiKey. It can be run as a stand-alone application, or a client that takes jobs from DefGuard Core backend. Version: 0.1.0 diff --git a/debian/postinst b/debian/postinst deleted file mode 100644 index 78753d7..0000000 --- a/debian/postinst +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -python3 -m pip install python-gnupg==0.5.0 grpcio==1.49.0 pexpect==4.8.0 protobuf==4.21.9 yubikey-manager==4.0.9 cython==3.0.0 stdeb==0.10.0 diff --git a/pyproject.toml b/pyproject.toml index 4d8b17b..b616db4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,6 @@ pexpect = "^4.8.0" protobuf = "4.21.9" python-gnupg = "^0.5.0" yubikey-manager = "^4.0.9" -cython = "^3.0.0" stdeb = "^0.10.0" [tool.poetry.dev-dependencies] @@ -20,6 +19,7 @@ grpcio-tools = "^1.50.0" flake8 = "^4.0.1" pre-commit = "^2.20.0" pytest = "^7.2.0" +cython = "^3.0.0" [build-system] requires = ["poetry-core>=1.0.8"]