Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:babelworx:tg21
python-transaction
python-transaction.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-transaction.spec of Package python-transaction
#norootforbuild # %define real_name transaction # # Name: python-%{real_name} Group: Development/Libraries/Python Version: 1.0.0 Release: 0 License: ZPLv2.1 Summary: Transaction management for Python Autoreqprov: on Source: %{real_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-setuptools Requires: python-zope-interface Url: http://www.zope.org/Products/ZODB %{py_requires} %define py_vers %(%{__python} -c 'import sys; print int(10*float(sys.version[:3]))') %if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} BuildArch: noarch %else %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True)")} %endif %description This package contains a generic transaction implementation for Python. It is mainly used by the ZODB, though. Note that the data manager API, transaction.interfaces.IDataManager, is syntactically simple, but semantically complex. The semantics were not easy to express in the interface. This could probably use more work. The semantics are presented in detail through examples of a sample data manager in transaction.tests.test_SampleDataManager. %prep %setup -n %{real_name}-%{version} %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) %doc CHANGES.txt COPYRIGHT.txt LICENSE.txt PKG-INFO README.txt %changelog * Sun Nov 23 2009 - Ciaran Farrell <cfarrell1980@gmail.com> - 1.0.0 - Initial build for tg21
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor