mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
pass-import: update to 3.4.
This commit is contained in:
parent
70030f45e2
commit
a3f7c40e51
2 changed files with 4 additions and 38 deletions
|
@ -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'
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'pass-import'
|
# Template file for 'pass-import'
|
||||||
pkgname=pass-import
|
pkgname=pass-import
|
||||||
version=3.3
|
version=3.4
|
||||||
revision=1
|
revision=1
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
# This test requires gnome-keyring which requires running dbus
|
# 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>"
|
maintainer="Alan Brown <adbrown@rocketmail.com>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://github.com/roddhjav/pass-import"
|
homepage="https://github.com/roddhjav/pass-import"
|
||||||
distfiles="${PYPI_SITE}/p/pass-import/pass-import-${version}.tar.gz"
|
changelog="https://raw.githubusercontent.com/roddhjav/pass-import/master/CHANGELOG.md"
|
||||||
checksum=f4cc7c5bb493d3e8936fa6a7cc4b744d6851a0cfb51dc20b2d1d0a6c1e9f3e9c
|
distfiles="https://github.com/roddhjav/pass-import/releases/download/v${version}/pass-import-${version}.tar.gz"
|
||||||
# pypi tarball doesn't contain tests and the github release doesn't contain pre-built manpages
|
checksum=b7f76c5646bf5de30c602c7f057b261ea23be65553f6b420e657d735e04970a3
|
||||||
# https://github.com/roddhjav/pass-import/issues/192
|
|
||||||
make_check=no
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue