Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Cloud:OpenStack:Master
python-pykeepass
python-pykeepass.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-pykeepass.spec of Package python-pykeepass
# # spec file for package python-pykeepass # # Copyright (c) 2024 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/ # %define ghtag 4.0.7-post1 %define mod_ver 4.0.7 Name: python-pykeepass Version: %{mod_ver}.post1 Release: 0 Summary: Low-level library to interact with keepass databases License: GPL-3.0-only URL: https://github.com/libkeepass/pykeepass Source: https://github.com/libkeepass/pykeepass/archive/refs/tags/v%{ghtag}.tar.gz#/pykeepass-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module pip} BuildRequires: %{python_module pyotp} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-argon2-cffi >= 20.1.0 Requires: python-construct >= 2.10.54 Requires: python-lxml >= 4.6.1 Requires: python-pycryptodomex >= 3.10.1 BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module argon2-cffi >= 20.1.0} BuildRequires: %{python_module construct >= 2.10.54} BuildRequires: %{python_module lxml >= 4.6.1} BuildRequires: %{python_module pycryptodomex >= 3.10.1} BuildRequires: %{python_module pytest} # /SECTION %python_subpackages %description This library allows you to write entries to a KeePass database %prep %autosetup -p1 -n pykeepass-%{ghtag} sed -i '1{/^#!.*env python/d}' pykeepass/{pykeepass,deprecated,kdbx_parsing/kdbx*}.py %build %pyproject_wheel %install %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %python_expand export PYTHONPATH=%{buildroot}%{python3_sitelib} export PYTHONDONTWRITEBYTECODE=1 %python_exec tests/tests.py %files %{python_files} %license LICENSE %doc README.rst %{python_sitelib}/pykeepass/ %{python_sitelib}/pykeepass-%{mod_ver}.dist-info/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor