rpms/python-scripttest/F-13 python-scripttest-1.0.4-files_updated.patch, NONE, 1.1 python-scripttest.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Martin Bacovsky
mbacovsk at fedoraproject.org
Tue Jul 27 08:10:19 UTC 2010
- Previous message: rpms/perl-namespace-clean/EL-6 .cvsignore, 1.4, 1.5 perl-namespace-clean.spec, 1.7, 1.8 sources, 1.5, 1.6
- Next message: rpms/python-scripttest/F-12 python-scripttest-1.0.4-files_updated.patch, NONE, 1.1 python-scripttest.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mbacovsk
Update of /cvs/pkgs/rpms/python-scripttest/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv2439
Modified Files:
.cvsignore sources
Added Files:
python-scripttest-1.0.4-files_updated.patch
python-scripttest.spec
Log Message:
Initial upload
python-scripttest-1.0.4-files_updated.patch:
__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE python-scripttest-1.0.4-files_updated.patch ---
diff -up ScriptTest-1.0.4/scripttest/__init__.py.files_updated ScriptTest-1.0.4/scripttest/__init__.py
--- ScriptTest-1.0.4/scripttest/__init__.py.files_updated 2010-07-14 13:55:52.000000000 +0200
+++ ScriptTest-1.0.4/scripttest/__init__.py 2010-07-14 13:56:34.000000000 +0200
@@ -382,7 +382,7 @@ class ProcResult(object):
self.files_deleted[path] = f
continue
del self.files_created[path]
- if f.mtime < files_after[path].mtime:
+ if f.bytes < files_after[path].bytes:
self.files_updated[path] = files_after[path]
def assert_no_error(self, quiet):
--- NEW FILE python-scripttest.spec ---
%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%endif
Name: python-scripttest
Version: 1.0.4
Release: 2%{?dist}
Summary: Helper to test command-line scripts
Group: Development/Languages
License: MIT
URL: http://pypi.python.org/pypi/ScriptTest/
Source0: http://pypi.python.org/packages/source/S/ScriptTest/ScriptTest-%{version}.tar.gz
# Issue preventing build and usage on ext4.
# Patch sent to upstream http://bitbucket.org/ianb/scripttest/issue/8
Patch0: python-scripttest-1.0.4-files_updated.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
BuildRequires: python-setuptools-devel
BuildRequires: python-sphinx
BuildRequires: python-nose
%description
ScriptTest is a library to help you test your interactive
command-line applications.
With it you can easily run the command (in a subprocess) and see
the output (stdout, stderr) and any file modifications.
%prep
%setup -q -n ScriptTest-%{version}
%patch0 -p1 -b .files_updated
%build
%{__python} setup.py build
# generate docs
PYTHONPATH=./build/lib:$PYTHONPATH ./regen-docs
rm docs/_build/objects.inv
rm -rf docs/_build/.doctrees
rm docs/_build/.buildinfo
mv docs/_build docs/html
%install
rm -rf %{buildroot}
%{__python} setup.py install --skip-build --root %{buildroot}
%clean
rm -rf %{buildroot}
%check
./test
%files
%defattr(-,root,root,-)
%doc docs/html
%doc docs/license.txt
%{python_sitelib}/scripttest/
%{python_sitelib}/ScriptTest*.egg-info
%changelog
* Wed Jul 21 2010 Martin Bacovsky <mbacovsk at redhat.com> - 1.0.4-2
- generated docs moved to html subdir
- license file added to docs
* Tue Jul 13 2010 Martin Bacovsky <mbacovsk at redhat.com> - 1.0.4-1
- Initial package
- fixed issue preventing build and usage on ext4.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-scripttest/F-13/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 23 Jul 2010 21:52:58 -0000 1.1
+++ .cvsignore 27 Jul 2010 08:10:18 -0000 1.2
@@ -0,0 +1 @@
+ScriptTest-1.0.4.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-scripttest/F-13/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 23 Jul 2010 21:52:58 -0000 1.1
+++ sources 27 Jul 2010 08:10:18 -0000 1.2
@@ -0,0 +1 @@
+d15077d4100419f2b7e6d7a9532dad38 ScriptTest-1.0.4.tar.gz
- Previous message: rpms/perl-namespace-clean/EL-6 .cvsignore, 1.4, 1.5 perl-namespace-clean.spec, 1.7, 1.8 sources, 1.5, 1.6
- Next message: rpms/python-scripttest/F-12 python-scripttest-1.0.4-files_updated.patch, NONE, 1.1 python-scripttest.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list