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

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

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

%global pypi_name bootstrap3

Name:           python3-module-django-%pypi_name
Version:        12.0.1
Release:        alt1.1

Summary:        Bootstrap support for Django projects
License:        Apache
Group:          Development/Python3
URL:            https://pypi.python.org/pypi/django-bootstrap3
BuildArch:      noarch

Source0:        %name-%version.tar

BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-setuptools_scm python3-module-django


%description
Write Django as usual, and let django-bootstrap3 make template output into Bootstrap 3 code

%package tests
Summary: Tests %pypi_name
Group: Development/Python3
Requires: %name = %EVR

%add_python3_self_prov_path %buildroot%python3_sitelibdir/%pypi_name/tests/

%description tests
Write Django as usual, and let django-bootstrap3 make template output into Bootstrap 3 code

This package contains tests for %name.

%prep
%setup

%build
%python3_build

%install
%python3_install

mv tests/ %buildroot%python3_sitelibdir/%pypi_name/

# There is a file in the package named .DS_Store or .DS_Store.gz,

# the file name used by Mac OS X to store folder attributes.  
# Such files are generally useless in packages and were usually accidentally
# included by copying complete directories from the source tarball.
find $RPM_BUILD_ROOT \( -name '*.DS_Store' -o -name '*.DS_Store.gz' \) -print -delete

%files
%doc *.rst docs/ example/
%python3_sitelibdir/*
%exclude %python3_sitelibdir/%pypi_name/tests

%files tests
%python3_sitelibdir/%pypi_name/tests/


%changelog

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

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