Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
python-bloscpack
python-bloscpack.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-bloscpack.spec of Package python-bloscpack
# # spec file for package python-bloscpack # # 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/ # Name: python-bloscpack Version: 0.16.0 Release: 0 Summary: Command line interface and serialization format for Blosc License: MIT URL: https://github.com/blosc/bloscpack Source: https://files.pythonhosted.org/packages/source/b/bloscpack/bloscpack-%{version}.tar.gz # PATCH-FEATURE-UPSTREAM remove_nose.patch gh#Blosc/bloscpack#99 mcepl@suse.com # Remove nose dependency Patch0: remove_nose.patch # PATCH-FIX-UPSTREAM drop-python2-support.patch gh#Blosc/bloscpack#118 Patch1: drop-python2-support.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-blosc Requires: python-numpy Requires(post): update-alternatives Requires(postun):update-alternatives Recommends: cryptography >= 1.3.4 Recommends: python-pyOpenSSL >= 0.14 BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Deprecated} BuildRequires: %{python_module blosc} BuildRequires: %{python_module cryptography >= 1.3.4} BuildRequires: %{python_module numpy} BuildRequires: %{python_module pyOpenSSL >= 0.14} BuildRequires: %{python_module pytest} # /SECTION %python_subpackages %description Command line interface and serialization format for Blosc, a multi-threaded, blocking and shuffling compressor. It uses python-blosc bindings to interface with Blosc. It also comes with native support for serializing and deserializing Numpy arrays. %prep %autosetup -p1 -n bloscpack-%{version} find bloscpack -name '*.py' -exec sed -i '1{\@^#!%{_bindir}/env python@d}' {} + %build export LANG=en_US.UTF-8 %python_build %install export LANG=en_US.UTF-8 %python_install %python_clone -a %{buildroot}%{_bindir}/blpk %python_expand %fdupes %{buildroot}%{$python_sitelib} %check export LANG=en_US.UTF-8 %python_exec -c 'import blosc' # Tests are completely broken (gh#Blosc/bloscpack#99) # %%pytest %post %python_install_alternative blpk %postun %python_uninstall_alternative blpk %files %{python_files} %doc README.rst %license LICENSE %python_alternative %{_bindir}/blpk %{python_sitelib}/bloscpack %{python_sitelib}/bloscpack-%{version}*-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