Group :: Development/Python
RPM: python-module-egenix-mx-base
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define version 2.0.6
%define release alt2
%setup_python_module egenix-mx-base
%add_python_req_skip whrandom
Summary: eGenix mx-Extensions for Python - BASE package
Name: %{packagename}
Version: %{version}
Release: %{release}.1
Packager: Python Development Team <python at packages.altlinux.org>
Source0: %{modulename}-%{version}.tar.gz
License: Copyright (c) 1997-2000, Marc-Andre Lemburg, All Rights Reserved; Copyright (c) 2000-2001, eGenix.com Software GmbH, All Rights Reserved
Group: Development/Python
Prefix: %{_prefix}
Vendor: Marc-Andre Lemburg <mal at egenix.com>
Url: http://www.egenix.com/files/python/eGenix-mx-Extensions.html
Obsoletes: egenix-mx-base < 2.0.3-alt8
Provides: egenix-mx-base = %{version}
%description
The eGenix mx Extension Series are a collection of
Python extensions written in ANSI C and Python
which provide a large spectrum of useful additions
to everyday Python programming.
The BASE package includes the Open Source subpackages
of the series and is needed by all other add-on
packages of the series.
This software is brought to you by eGenix.com and
distributed under the eGenix.com Public License.
The following subpackages are included in the BASE package:
mxDateTime - Generic Date/Time Types
mxTextTools - Fast Text Processing Tools
mxStack - Fast and Memory-Efficient Stack Type
mxTools - Collection of Additional Builtins
mxProxy - Generic Proxy Wrapper Type
mxBeeBase - On-disk B+Tree Based Database Kit
%prep
%setup -q -n %modulename-%version
%build
env CFLAGS="$RPM_OPT_FLAGS" %__python setup.py build
%install
%__python setup.py install --root=$RPM_BUILD_ROOT --optimize=2 --record=INSTALLED_FILES
grep -v /usr/doc INSTALLED_FILES |
grep -v TextTools/mxTextTools/test.py |
grep -v BeeBase/showBeeDict.py |
grep -v Misc/FileLock.py |
grep -v Stack/stackbench.py |
grep -v mx/Doc |
grep -v "mx/.*/Doc" |
grep -v Queue/queuebench.py > installed_files
# Какая-то ошибка в поиске зависимостей
%add_python_req_skip Constants
%files -f installed_files
%defattr(-,root,root)
%doc README mx/Doc/*
%changelog
…
Full changelog you can see here
%define release alt2
%setup_python_module egenix-mx-base
%add_python_req_skip whrandom
Summary: eGenix mx-Extensions for Python - BASE package
Name: %{packagename}
Version: %{version}
Release: %{release}.1
Packager: Python Development Team <python at packages.altlinux.org>
Source0: %{modulename}-%{version}.tar.gz
License: Copyright (c) 1997-2000, Marc-Andre Lemburg, All Rights Reserved; Copyright (c) 2000-2001, eGenix.com Software GmbH, All Rights Reserved
Group: Development/Python
Prefix: %{_prefix}
Vendor: Marc-Andre Lemburg <mal at egenix.com>
Url: http://www.egenix.com/files/python/eGenix-mx-Extensions.html
Obsoletes: egenix-mx-base < 2.0.3-alt8
Provides: egenix-mx-base = %{version}
%description
The eGenix mx Extension Series are a collection of
Python extensions written in ANSI C and Python
which provide a large spectrum of useful additions
to everyday Python programming.
The BASE package includes the Open Source subpackages
of the series and is needed by all other add-on
packages of the series.
This software is brought to you by eGenix.com and
distributed under the eGenix.com Public License.
The following subpackages are included in the BASE package:
mxDateTime - Generic Date/Time Types
mxTextTools - Fast Text Processing Tools
mxStack - Fast and Memory-Efficient Stack Type
mxTools - Collection of Additional Builtins
mxProxy - Generic Proxy Wrapper Type
mxBeeBase - On-disk B+Tree Based Database Kit
%prep
%setup -q -n %modulename-%version
%build
env CFLAGS="$RPM_OPT_FLAGS" %__python setup.py build
%install
%__python setup.py install --root=$RPM_BUILD_ROOT --optimize=2 --record=INSTALLED_FILES
grep -v /usr/doc INSTALLED_FILES |
grep -v TextTools/mxTextTools/test.py |
grep -v BeeBase/showBeeDict.py |
grep -v Misc/FileLock.py |
grep -v Stack/stackbench.py |
grep -v mx/Doc |
grep -v "mx/.*/Doc" |
grep -v Queue/queuebench.py > installed_files
# Какая-то ошибка в поиске зависимостей
%add_python_req_skip Constants
%files -f installed_files
%defattr(-,root,root)
%doc README mx/Doc/*
%changelog
…
Full changelog you can see here