From 9f54bc89c5485e1e5f01a19e25acd182c38856c6 Mon Sep 17 00:00:00 2001 From: icp Date: Wed, 8 Mar 2023 14:49:26 +0530 Subject: [PATCH] pass-import: update to 3.4. --- srcpkgs/pass-import/patches/makedoc.patch | 32 ----------------------- srcpkgs/pass-import/template | 10 +++---- 2 files changed, 4 insertions(+), 38 deletions(-) delete mode 100644 srcpkgs/pass-import/patches/makedoc.patch diff --git a/srcpkgs/pass-import/patches/makedoc.patch b/srcpkgs/pass-import/patches/makedoc.patch deleted file mode 100644 index 7fe5175fb2e3..000000000000 --- a/srcpkgs/pass-import/patches/makedoc.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- a/setup.py -+++ b/setup.py -@@ -5,29 +5,11 @@ - import os - import sys - --try: -- import pypandoc -- PANDOC = True --except ImportError: -- PANDOC = False - from pathlib import Path - --from share import makedoc - from setuptools import setup - - --makedoc() --if not PANDOC: -- print("Warning: 'pypandoc' is required to generate the manual pages.") --else: -- try: -- for name in ['pass-import', 'pimport']: -- pypandoc.convert_file(f"share/man/man1/{name}.md", 'man', -- outputfile=f"share/man/man1/{name}.1", -- extra_args=['--standalone']) -- except OSError: -- print("Warning: 'pandoc' is not installed.") -- - - share = Path(sys.prefix, 'share') - base = '/usr' diff --git a/srcpkgs/pass-import/template b/srcpkgs/pass-import/template index fda554495b82..fa36cafbb955 100644 --- a/srcpkgs/pass-import/template +++ b/srcpkgs/pass-import/template @@ -1,6 +1,6 @@ # Template file for 'pass-import' pkgname=pass-import -version=3.3 +version=3.4 revision=1 build_style=python3-module # This test requires gnome-keyring which requires running dbus @@ -13,8 +13,6 @@ short_desc="Pass extension for importing data from most password managers" maintainer="Alan Brown " license="GPL-3.0-or-later" homepage="https://github.com/roddhjav/pass-import" -distfiles="${PYPI_SITE}/p/pass-import/pass-import-${version}.tar.gz" -checksum=f4cc7c5bb493d3e8936fa6a7cc4b744d6851a0cfb51dc20b2d1d0a6c1e9f3e9c -# pypi tarball doesn't contain tests and the github release doesn't contain pre-built manpages -# https://github.com/roddhjav/pass-import/issues/192 -make_check=no +changelog="https://raw.githubusercontent.com/roddhjav/pass-import/master/CHANGELOG.md" +distfiles="https://github.com/roddhjav/pass-import/releases/download/v${version}/pass-import-${version}.tar.gz" +checksum=b7f76c5646bf5de30c602c7f057b261ea23be65553f6b420e657d735e04970a3