Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
system:homeautomation:home-assistant
python-fnv-hash-fast
python-fnv-hash-fast.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-fnv-hash-fast.spec of Package python-fnv-hash-fast
# # spec file for package python-acme # # Copyright (c) 2020 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/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define libname fnv_hash_fast Name: python-fnv-hash-fast Version: 0.5.0 Release: 0 Summary: A fast version of fnv1a License: MIT URL: https://github.com/bdraco/fnv-hash-fast Source: https://pypi.python.org/packages/source/f/%libname/%libname-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module pip} BuildRequires: %{python_module poetry} BuildRequires: %{python_module wheel} BuildRequires: %{python_module Cython3} BuildRequires: %{python_module fnvhash} BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest-cov} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-fnvhash Recommends: python-Cython3 %python_subpackages %description This library will use a CPP implementation of fnv1a (32) if cython is available, and will fallback to pure python from the fnvhash package if it is not. %prep %setup -q -n %libname-%{version} %build %pyproject_wheel %install %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %license LICENSE %doc README.md %{python_sitearch}/%{libname} %{python_sitearch}/%{libname}-%{version}*-info %pycache_only %{python_sitearch}/%{libname}/__pycache__ %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