pass-import: update to 3.4.

This commit is contained in:
icp 2023-03-08 14:49:26 +05:30 committed by Andrew Benson
parent 70030f45e2
commit a3f7c40e51
2 changed files with 4 additions and 38 deletions

View file

@ -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'

View file

@ -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 <adbrown@rocketmail.com>"
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