Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37399323
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-Delorean

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define pypi_name Delorean

%def_with check

Name: python3-module-%pypi_name
Version: 1.0.0
Release: alt2

Summary: Delorean: Time Travel Made Easy
License: MIT
Group: Development/Python3
Url: https://pypi.org/project/Delorean
Vcs: https://github.com/myusuf3/delorean.git

Source: %name-%version.tar

BuildRequires(pre): rpm-build-python3

BuildRequires: python3(setuptools)
BuildRequires: python3(wheel)

%if_with check
BuildRequires: python3(mock)
BuildRequires: python3(babel)
BuildRequires: python3(humanize)
BuildRequires: python3(tzlocal)
BuildRequires: python3(tzdata)
BuildRequires: python3(pytz)
%endif

BuildArch: noarch

%description
Delorean is a library for clearing up the inconvenient truths that
arise dealing with datetimes in Python. Understanding that timing is
a delicate enough of a problem delorean hopes to provide a cleaner less
troublesome solution to shifting, manipulating, and generating datetimes.

Delorean stands on the shoulders of giants pytz and dateutil

Delorean will provide natural language improvements for manipulating time,
as well as datetime abstractions for ease of use. The overall goal is to
improve datetime manipulations, with a little bit of software and philosophy.

Pretty much make you a badass time traveller.

%prep
%setup

%build
%pyproject_build

%install
%pyproject_install

%check
%pyproject_run_unittest tests/delorean_tests.py

%files
%doc README.rst LICENSE.txt CHANGES.rst
%python3_sitelibdir/delorean/
%python3_sitelibdir/%pypi_name-%version.dist-info

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin