Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:manfred999
multiurl
multiurl.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File multiurl.spec of Package multiurl
# # spec file for package multiurl # # 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 skip_python2 1 Name: multiurl Version: 0.3.1 Release: 0 Summary: Download several URLs as a single file, as well as supporting multi-part URLs License: Apache-2.0 Group: Development/Libraries/Python URL: https://pypi.org/project/multiurl/ Source: https://github.com/ecmwf/multiurl/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module pytest} BuildRequires: %{python_module python-dateutil} BuildRequires: %{python_module pytz} BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-generators BuildRequires: python-rpm-macros %if 0%{?suse_version} BuildRequires: fdupes %endif Requires: python-python-dateutil Requires: python-pytz Requires: python-requests Recommends: python-tqdm BuildArch: noarch %{?python_enable_dependency_generator} %python_subpackages %description A python library to download several URLs as a single file, as well as supporting multi-part URLs. Functionality is generic, but package is primarily intended and tested to download ECMWF open data files. Azure and AWS servers are supported. %prep %autosetup -n %{name}-%{version} %build %python_build %install %python_install %if 0%{?suse_version} %python_expand %fdupes %{buildroot}%{$python_sitelib}/multiurl %endif %check #---for OBS, disable network related tests: %pytest -k 'not (auth_ or parts or order or ftp_download or robust or mirror)' %files %{python_files} %doc README.md %license LICENSE %{python_sitelib}/multiurl %{python_sitelib}/multiurl-%{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