forked from pool/python-khard
Accepting request 1116543 from home:mcepl
CLI client for searching through local vcard databases (synced with vdirsyncer, for example). Pandan to python-khal. OBS-URL: https://build.opensuse.org/request/show/1116543 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-khard?expand=0&rev=1
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 18 21:32:07 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Update to 0.18.0:
|
||||
- Move project home on GitHub from @scheibler to @lucc
|
||||
- Catch exceptions when loading the config (#294)
|
||||
- Split $EDITOR env variable on spaces (#314)
|
||||
- Add special phone number field query
|
||||
- Add-email command improved: Attach email address to an
|
||||
existing contact
|
||||
- Add-email command: new option --skip-already-added
|
||||
- Add partial support for KIND: search query, display in
|
||||
details and listing (#309)
|
||||
- Add show_kinds config option (#309)
|
||||
- Add nix flake
|
||||
- Remove support for python 3.6
|
||||
- Remove deprecated subcommands "export" and "source"
|
||||
- Switch from Travis to GitHub CI
|
||||
- Enable tests
|
||||
- Add basic documentation files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 18 21:18:55 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Adaptation to the current standards.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 25 19:43:28 UTC 2021 - Guillaume Levasseur <phenyl@posteo.net>
|
||||
- Version 0.17.0
|
||||
@@ -0,0 +1,88 @@
|
||||
#
|
||||
# spec file for package python-khard
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# TODO:
|
||||
# generate documentation
|
||||
|
||||
%define skip_python2 1
|
||||
Name: python-khard
|
||||
Version: 0.18.0
|
||||
Release: 0
|
||||
Summary: Console carddav client
|
||||
License: GPL-3.0-only
|
||||
URL: https://github.com/lucc/khard
|
||||
Source0: https://files.pythonhosted.org/packages/source/k/khard/khard-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test
|
||||
BuildRequires: %{python_module Unidecode}
|
||||
BuildRequires: %{python_module atomicwrites}
|
||||
BuildRequires: %{python_module configobj}
|
||||
BuildRequires: %{python_module ruamel.yaml}
|
||||
BuildRequires: %{python_module vobject}
|
||||
# /SECTION
|
||||
Requires: python-Unidecode
|
||||
Requires: python-atomicwrites
|
||||
Requires: python-configobj
|
||||
Requires: python-ruamel.yaml
|
||||
Requires: python-vobject
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Suggests: python3-vdirsyncer
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Khard is an address book for the Unix console.
|
||||
It creates, reads, modifies and removes carddav address book entries at your local machine.
|
||||
Khard is also compatible to the email clients mutt and alot and the SIP client twinkle.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n khard-%{version}
|
||||
|
||||
sed -i -e '1{/^#!\/usr\/bin\/env python/d}' khard/__main__.py
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/khard
|
||||
%python_expand %fdupes %{buildroot}/%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pyunittest discover -v
|
||||
|
||||
%post
|
||||
%python_install_alternative khard
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative khard
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc CHANGES README.md todo.txt
|
||||
%doc doc/source/examples/khard.conf.example
|
||||
%{python_sitelib}/khard
|
||||
%{python_sitelib}/khard-%{version}*-info
|
||||
%python_alternative %{_bindir}/khard
|
||||
|
||||
%changelog
|
||||
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
@@ -0,0 +1 @@
|
||||
.osc
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fe88d4b47fdd948610ac573c01fa13d1b7996265cbc44391085761af9a030615
|
||||
size 602016
|
||||
Reference in New Issue
Block a user