]> git.pld-linux.org Git - packages/python-sqlalchemy.git/blobdiff - python-SQLAlchemy.spec
- python 3.4
[packages/python-sqlalchemy.git] / python-SQLAlchemy.spec
index 08a2aa4c35e5b9e5d7a203d1b287897e916d0a79..7028f970b59a22a885612433b81243e66a189296 100644 (file)
@@ -1,28 +1,29 @@
 # TODO:
 # - examples and docs for python3
+# - builds, but got syntax errors when buildings
 #
-%bcond_without python3
-%bcond_without python2
+%bcond_without python2 # CPython 2.x module
+%bcond_without python3 # CPython 3.x module
+
 %define                module  SQLAlchemy
-#
 Summary:       Database Abstraction Library
 Summary(pl.UTF-8):     Biblioteka abstrakcji baz danych
 Name:          python-%{module}
-Version:       0.6.1
+Version:       0.6.9
 Release:       2
 License:       MIT
 Group:         Libraries/Python
 Source0:       http://downloads.sourceforge.net/sqlalchemy/%{module}-%{version}.tar.gz
-# Source0-md5: 8b25a820a81469b54b05426705108061
+# Source0-md5: 518c5eeca5623bb1fbac74f6917f922a
 URL:           http://www.sqlalchemy.org/
 %if %{with python2}
 BuildRequires: python-devel >= 1:2.4
+BuildRequires: python-distribute
 BuildRequires: python-setuptools >= 0.6-0.a9.1
 %endif
 %if %{with python3}
 BuildRequires: python3-2to3
 BuildRequires: python3-devel
-BuildRequires: python3-distribute
 BuildRequires: python3-modules
 %endif
 BuildRequires: rpm-pythonprov
@@ -100,11 +101,8 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with python3}
 %{__python3} setup.py build -b build-3 \
        install \
-       --single-version-externally-managed \
        --root=$RPM_BUILD_ROOT \
        --optimize=2
-
-%py3_postclean
 %endif
 
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
This page took 0.028054 seconds and 4 git commands to generate.