Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37562320
en ru br
Репозитории ALT
S:42.0.0-alt3
5.1: 0.6-alt1.c9
4.1: 0.6-alt1.c7.1
4.0: 0.6-alt1.c5
www.altlinux.org/Changes

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

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

%def_without M24

%define version 0.6
%define subver c9

%if_with M24
%define release alt0.%subver.M24.1
%else
%define release alt1.%subver
%endif
%setup_python_module setuptools

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

Summary: Python Distutils Enhancements
License: PSF/ZPL
Group: Development/Python
URL: http://pypi.python.org/pypi/setuptools
Packager: Python Development Team <python at packages.altlinux.org>

Source0: %modulename.tar

BuildArch: noarch

%description
Setuptools is a collection of enhancements to the Python distutils
that allow you to more easily build and distribute Python packages,
especially ones that have dependencies on other packages.

%prep
%setup -q -n %modulename

%build
%__python setup.py build
%__python setup.py test

%install
mkdir -p %buildroot%python_sitelibdir
%__python setup.py install --root=%buildroot --optimize=2 --record=INSTALLED_FILES

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


%files -f INSTALLED_FILES
%doc setuptools.txt pkg_resources.txt api_tests.txt EasyInstall.txt  
%dir %python_sitelibdir/%modulename
%exclude %python_sitelibdir/%modulename/*.exe

%changelog

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

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