From 85ba59d703fceb0acfb985236570289dfee46bd5 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.9 --- srcpkgs/vorta/patches/pip.patch | 24 ++++++++++++++++++++++++ srcpkgs/vorta/template | 22 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 srcpkgs/vorta/patches/pip.patch create mode 100644 srcpkgs/vorta/template diff --git a/srcpkgs/vorta/patches/pip.patch b/srcpkgs/vorta/patches/pip.patch new file mode 100644 index 000000000000..dfaee8ba165f --- /dev/null +++ b/srcpkgs/vorta/patches/pip.patch @@ -0,0 +1,24 @@ +#PIP is not necessary as per this suggestion: +#https://github.com/void-linux/void-packages/pull/41672#discussion_r1071176890 +Common subdirectories: vorta-0.8.9/.github and patched.vorta-0.8.9/.github +Common subdirectories: vorta-0.8.9/.tx and patched.vorta-0.8.9/.tx +Common subdirectories: vorta-0.8.9/bin and patched.vorta-0.8.9/bin +Common subdirectories: vorta-0.8.9/flatpak and patched.vorta-0.8.9/flatpak +Common subdirectories: vorta-0.8.9/package and patched.vorta-0.8.9/package +Common subdirectories: vorta-0.8.9/requirements.d and patched.vorta-0.8.9/requirements.d +diff -Np1 vorta-0.8.9/setup.cfg patched.vorta-0.8.9/setup.cfg +*** vorta-0.8.9/setup.cfg 2022-11-05 15:45:32.000000000 -0300 +--- patched.vorta-0.8.9/setup.cfg 2023-01-16 11:39:14.799455379 -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 = +Common subdirectories: vorta-0.8.9/src and patched.vorta-0.8.9/src +Common subdirectories: vorta-0.8.9/tests and patched.vorta-0.8.9/tests diff --git a/srcpkgs/vorta/template b/srcpkgs/vorta/template new file mode 100644 index 000000000000..17f6cedcfaf1 --- /dev/null +++ b/srcpkgs/vorta/template @@ -0,0 +1,22 @@ +# Template file for 'vorta' +pkgname=vorta +version=0.8.9 +revision=1 +build_style=python3-module +#'test_export_fail_unwritable' fails as root. +#'test_ssh_dialog' fails under xbps-src (both 'check' and 'chroot'). +#On the other hand, it passes as chroot into the 20221001_glibc release. +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" +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=aba735ff06729271846d44757fae4708cd51c6443337c1916e164c62e1c6d8e5 +make_check_pre="dbus-run-session" # needed to PASS test_notifications.py