Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37048566
en ru br
ALT Linux repositórios
S:1.2.5-alt1

Group :: Development/Python3
RPM: python3-module-bda.calendar.base

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define mname bda.calendar
%define oname %mname.base

%def_with check

Name: python3-module-%oname
Version: 1.2.5
Release: alt1
Summary: Base common calendaring features: Convinience or not coverd yet
License: BSD-3-Clause
Group: Development/Python3
Url: https://pypi.python.org/pypi/bda.calendar.base/
#Git: https://github.com/bluedynamics/bda.calendar.base.git

Source: %name-%version.tar

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools
BuildRequires: python3-module-pytz
BuildRequires: python3-module-zope.interface

%py3_provides %oname
Requires: python3-module-%mname = %EVR
%py3_requires zope.interface

%add_python3_self_prov_path %buildroot%python3_sitelibdir/bda/calendar/base

%description
bda.calendar.base contains functions adressing programmers all-day tasks
not (or only partly) covered by pythons datetime or zopes DateTime.

Major part of these function is timezone aware. Also ist easy to deal
with timezones. An TimezoneFactory can be provided in the specific
application to i.e. be aware of the users timezone (i.e. in case of
webapps).

%package -n python3-module-%mname
Summary: Core files of %mname
Group: Development/Python3
%py3_provides %mname

%description -n python3-module-%mname
Core files of %mname.

%prep
%setup

%build
%python3_build_debug

%install
%python3_install

%if "%_libexecdir" != "%_libdir"
mv %buildroot%_libexecdir %buildroot%_libdir
%endif

install -p -m644 src/bda/calendar/__init__.py \
%buildroot%python3_sitelibdir/bda/calendar/

%check
python3 setup.py test

%files
%doc *.rst
%python3_sitelibdir/bda/calendar/*
%python3_sitelibdir/*.egg-info
%exclude %python3_sitelibdir/bda/calendar/__init__.py*
%exclude %python3_sitelibdir/*.pth

%files -n python3-module-%mname
%dir %python3_sitelibdir/bda/calendar
%python3_sitelibdir/bda/calendar/__init__.py*

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009