rpms/python-migrate/devel python-migrate-disable-pytest.patch, NONE, 1.1 python-migrate.spec, 1.1, 1.2

Toshio くらとみ (toshio) fedora-extras-commits at redhat.com
Thu Jul 17 19:59:00 UTC 2008


Author: toshio

Update of /cvs/pkgs/rpms/python-migrate/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17685

Modified Files:
	python-migrate.spec 
Added Files:
	python-migrate-disable-pytest.patch 
Log Message:

* Thu Jul 17 2008 Toshio Kuratomi <toshio at fedoraproject.org> 0.4.4-4
- Disable py.test so we don't try to download it during build.


python-migrate-disable-pytest.patch:

--- NEW FILE python-migrate-disable-pytest.patch ---
Index: sqlalchemy-migrate-0.4.4/setup.py
===================================================================
--- sqlalchemy-migrate-0.4.4.orig/setup.py
+++ sqlalchemy-migrate-0.4.4/setup.py
@@ -20,7 +20,7 @@ Migrate extends SQLAlchemy to have datab
 """,
 
     install_requires = ['sqlalchemy >= 0.3.10'],
-    setup_requires = ['py >= 0.9.0-beta'],
+    setup_requires = [],
     dependency_links = [
         "http://codespeak.net/download/py/",
     ],


Index: python-migrate.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-migrate/devel/python-migrate.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- python-migrate.spec	17 Jul 2008 16:38:51 -0000	1.1
+++ python-migrate.spec	17 Jul 2008 19:58:16 -0000	1.2
@@ -4,7 +4,7 @@
 
 Name: python-migrate
 Version: 0.4.4
-Release: 3%{?dist}
+Release: 4%{?dist}
 Summary: Schema migration tools for SQLAlchemy
 
 Group: Development/Languages
@@ -13,6 +13,8 @@
 Source0: http://%{srcname}.googlecode.com/files/%{srcname}-%{version}.tar.gz
 # Fix a test when migrate is not installed.  Applied upstream.
 Patch0: python-migrate-shell-test.patch
+# Local patch to disable py.test.  Needed until py.test is in Fedora.
+Patch1: python-migrate-disable-pytest.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -30,6 +32,7 @@
 %prep
 %setup -q -n %{srcname}-%{version}
 %patch0 -p1 -b .env
+%patch1 -p1 -b .pytest
 
 %build
 %{__python} setup.py build
@@ -56,6 +59,9 @@
 %{python_sitelib}/*
 
 %changelog
+* Thu Jul 17 2008 Toshio Kuratomi <toshio at fedoraproject.org> 0.4.4-4
+- Disable py.test so we don't try to download it during build.
+
 * Tue Jul 15 2008 Toshio Kuratomi <toshio at fedoraproject.org> 0.4.4-3
 - Rename binary to sqlalchemy-migrate to avoid potential filename clashes.
   (Queried upstream but the change is only in Fedora).  Noted that




More information about the scm-commits mailing list