Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:acdc
python-Delorean
python-Delorean.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-Delorean.spec of Package python-Delorean
# # spec file for package python-Delorean # # 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/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Delorean Version: 1.0.0 Release: 0 Summary: Python library for manipulating datetimes License: MIT URL: https://github.com/myusuf3/delorean Source: https://files.pythonhosted.org/packages/source/D/Delorean/Delorean-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Babel >= 2.1.1 Requires: python-humanize >= 0.5.1 Requires: python-python-dateutil >= 2.4.2 Requires: python-pytz >= 2015.7 Requires: python-tzlocal >= 1.2 BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Babel >= 2.1.1} BuildRequires: %{python_module humanize >= 0.5.1} BuildRequires: %{python_module pytest} BuildRequires: %{python_module python-dateutil >= 2.4.2} BuildRequires: %{python_module pytz >= 2015.7} BuildRequires: %{python_module tzlocal >= 1.2} # /SECTION %python_subpackages %description Delorean is a library for clearing up the inconvenient truths that arise dealing with datetimes in Python. %prep %setup -q -n Delorean-%{version} %build %python_build %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check # https://github.com/myusuf3/delorean/issues/113 sed -i 's:import mock:from unittest import mock:' tests/delorean_tests.py %pytest tests/delorean_tests.py %files %{python_files} %doc CHANGES.rst README.rst %license LICENSE.txt %{python_sitelib}/* %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