pass-import: update to 3.3.

This commit is contained in:
Alan Brown 2022-11-15 18:27:00 +00:00 committed by Đoàn Trần Công Danh
parent 8f90752556
commit 2b44e7a165
2 changed files with 41 additions and 6 deletions

View File

@ -0,0 +1,32 @@
--- 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,17 +1,20 @@
# Template file for 'pass-import'
pkgname=pass-import
version=3.2
revision=2
version=3.3
revision=1
build_style=python3-module
# This test requires gnome-keyring which requires running dbus
make_check_args="--deselect=tests/imports/test_parse.py"
hostmakedepends="python3-setuptools"
hostmakedepends="python3-setuptools python3-requests python3-yaml python3-zxcvbn"
depends="pass python3-defusedxml python3-magic python3-cryptography
python3-SecretStorage python3-pykeepass python3-yaml"
python3-SecretStorage python3-pykeepass python3-requests python3-yaml lastpass-cli python3-zxcvbn"
checkdepends="python3-pytest $depends"
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="https://github.com/roddhjav/pass-import/releases/download/v${version}/pass-import-${version}.tar.gz"
checksum=d943df14dcfec063a6c881c315ce65813db6e105b14a9b0156a73dcf7e529b76
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