Репозитории ALT
5.1: | 3.0.1-alt1.M51.2 |
4.1: | 3.0alpha2-alt1.1 |
4.0: | 3.0alpha2-alt1 |
Группа :: Разработка/Python
Пакет: python-module-epydoc
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define version 3.0alpha2
%define release alt1
%setup_python_module epydoc
%define pythondir python%__python_version
Summary: Edward Loper's API Documentation Generation Tool
Name: %{packagename}
Version: %{version}
Release: %{release}.1
Source0: %modulename-%{version}.tar.gz
License: MIT
Group: Development/Python
Prefix: %{_prefix}
BuildArch: noarch
Vendor: Edward Loper <edloper at gradient.cis.upenn.edu>
Url: http://epydoc.sourceforge.net
%description
Epydoc is a tool for generating API documentation for Python modules, based on their docstrings. For an example of epydoc's output, see the API documentation for epydoc itself (html, pdf). A lightweight markup language called epytext can be used to format docstrings, and to add information about specific fields, such as parameters and instance variables. Epydoc also understands docstrings written in ReStructuredText, Javadoc, and plaintext.
%prep
%setup -q -n %{modulename}-%{version}
%build
python setup.py build
%install
python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
%__mkdir_p %buildroot/%_mandir/man1/
%__install man/*.1 %buildroot/%_mandir/man1/
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc doc
%_mandir/man1/*
%changelog
…
Полный changelog можно просмотреть здесь
%define release alt1
%setup_python_module epydoc
%define pythondir python%__python_version
Summary: Edward Loper's API Documentation Generation Tool
Name: %{packagename}
Version: %{version}
Release: %{release}.1
Source0: %modulename-%{version}.tar.gz
License: MIT
Group: Development/Python
Prefix: %{_prefix}
BuildArch: noarch
Vendor: Edward Loper <edloper at gradient.cis.upenn.edu>
Url: http://epydoc.sourceforge.net
%description
Epydoc is a tool for generating API documentation for Python modules, based on their docstrings. For an example of epydoc's output, see the API documentation for epydoc itself (html, pdf). A lightweight markup language called epytext can be used to format docstrings, and to add information about specific fields, such as parameters and instance variables. Epydoc also understands docstrings written in ReStructuredText, Javadoc, and plaintext.
%prep
%setup -q -n %{modulename}-%{version}
%build
python setup.py build
%install
python setup.py install --optimize=2 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
%__mkdir_p %buildroot/%_mandir/man1/
%__install man/*.1 %buildroot/%_mandir/man1/
%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc doc
%_mandir/man1/*
%changelog
…
Полный changelog можно просмотреть здесь