From a9eb3c09eac98f5dfe06edcd040b271a6999a8b4 Mon Sep 17 00:00:00 2001 From: Alan Barros de Oliveira Date: Fri, 13 Jan 2023 10:39:57 -0300 Subject: [PATCH] New package: vorta-0.8.10 --- srcpkgs/vorta/patches/remove-pip-dep.patch | 15 +++++++++++++++ srcpkgs/vorta/template | 22 ++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 srcpkgs/vorta/patches/remove-pip-dep.patch create mode 100644 srcpkgs/vorta/template diff --git a/srcpkgs/vorta/patches/remove-pip-dep.patch b/srcpkgs/vorta/patches/remove-pip-dep.patch new file mode 100644 index 000000000000..618995cfbfc5 --- /dev/null +++ b/srcpkgs/vorta/patches/remove-pip-dep.patch @@ -0,0 +1,15 @@ +#PIP is not necessary as per this suggestion: +#https://github.com/void-linux/void-packages/pull/41672#discussion_r1071176890 +*** vorta-0.8.10/setup.cfg 2023-01-22 08:54:46.000000000 -0300 +--- patched.vorta-0.8.10/setup.cfg 2023-01-31 17:39:46.911319269 -0300 +*************** include_package_data = true +*** 38,41 **** + python_requires = >=3.7 +! setup_requires = +! pip >= 10 + install_requires = +--- 38,41 ---- + python_requires = >=3.7 +! #setup_requires = +! #pip >= 10 + install_requires = diff --git a/srcpkgs/vorta/template b/srcpkgs/vorta/template new file mode 100644 index 000000000000..103d1ad90feb --- /dev/null +++ b/srcpkgs/vorta/template @@ -0,0 +1,22 @@ +# Template file for 'vorta' +pkgname=vorta +version=0.8.10 +revision=1 +build_style=python3-module +#'test_export_fail_unwritable' fails as root. +#'test_ssh_dialog' fails under xbps-src. +make_check_args=" + --deselect=tests/test_import_export.py::test_export_fail_unwritable + --deselect=tests/test_repo.py::test_ssh_dialog" +hostmakedepends="python3-setuptools python3-wheel" +depends="borg python3-peewee python3-appdirs python3-paramiko + python3-SecretStorage python3-psutil python3-PyQt5" +checkdepends="${depends} dbus python3-pytest python3-pytest-qt + python3-pytest-mock python3-six" +short_desc="GUI for Borg Backup" +maintainer="Alan Barros de Oliveira " +license="GPL-3.0-only" +homepage="https://github.com/borgbase/vorta" +distfiles="https://github.com/borgbase/vorta/archive/refs/tags/v${version}.tar.gz" +checksum=eb0a4db1e48943e7ca45937b4e4ebab57c0e7b61b378ee58d190fa7f7b31721e +make_check_pre="dbus-run-session" # needed to PASS test_notifications.py