Репозиторий Sisyphus
Последнее обновление: 21 октября 2019 | Пакетов: 17508 | Посещений: 15339610
en ru br
Репозитории ALT
5.1: 1.4.2-alt1.1
4.1: 1.4.2-alt1.1
4.0: 1.4.2-alt1

Группа :: Разработка/Python
Пакет: python-module-HTMLTemplate

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

%define modulename HTMLTemplate
%define packagename python-module-%modulename
%define version 1.5.0
%define release alt1

%setup_python_module HTMLTemplate

Name: %packagename
Version: %version
Release: %release.1

Summary: HTMLTemplate python module
License: MIT
Group: Development/Python
URL: http://sourceforge.net/projects/py-templates/
Packager: Python Development Team <python at packages.altlinux.org>

# https://py-templates.svn.sourceforge.net/svnroot/py-templates/htmltemplate/trunk/

Source0: %modulename-%version.tar.gz

BuildArch: noarch

HTMLTemplate converts HTML/XHTML templates into simple Python object models
that can be manipulated through callback functions in your scripts. Fast,
powerful and easy to use.

%setup -n %modulename-%version


mkdir -p %buildroot%python_sitelibdir
python setup.py install --root=%buildroot --optimize=2 \

find %buildroot%python_sitelibdir/%name -type d | \
       sed -e "s,^%buildroot,%dir ,g" >> INSTALLED_FILES

# There is a file in the package with a name starting with <tt>._</tt>,

# the file name pattern used by Mac OS X to store resource forks in non-native
# file systems. 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 '._*' -size 1 -print0 | xargs -0 grep -lZ 'Mac OS X' -- | xargs -0 rm -f
# for ones installed as %%doc
find . -name '._*' -size 1 -print0 | xargs -0 grep -lZ 'Mac OS X' -- | xargs -0 rm -f

%doc README doc sample


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

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