rpms/python-mechanoid/F-7 python-mechanoid.spec, NONE, 1.1 sources, 1.1, 1.2
Sean Reifschneider (jafo)
fedora-extras-commits at redhat.com
Sun Oct 14 21:05:24 UTC 2007
- Previous message (by thread): rpms/python-mechanoid/EL-5 .cvsignore,1.1,1.2 sources,1.1,1.2
- Next message (by thread): rpms/gdb/F-8 gdb-6.6-multifork-debugreg-for-i386-and-x86_64.patch, NONE, 1.1 gdb-6.3-linespec-20041213.patch, 1.3, 1.4 gdb-6.3-nonthreaded-wp-20050117.patch, 1.4, 1.5 gdb-6.3-test-dtorfix-20050121.patch, 1.4, 1.5 gdb-6.6-upstream.patch, 1.9, 1.10 gdb.spec, 1.250, 1.251
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jafo
Update of /cvs/pkgs/rpms/python-mechanoid/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7259
Modified Files:
sources
Added Files:
python-mechanoid.spec
Log Message:
Adding python-mechanoid for F-7.
--- NEW FILE python-mechanoid.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Name: python-mechanoid
Version: 0.6.9
Release: 3%{?dist}
Summary: Python Programmatic Web Browser
Group: Development/Languages
License: GPL
URL: http://python.org/pypi/mechanoid
Source0: http://cheeseshop.python.org/packages/source/m/mechanoid/mechanoid-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-setuptools
BuildRequires: python-devel
%description
mechanoid is a programmatic browser written in Python. It is not a
web-bot and does not parse /robots.txt. It is intended to function as
the backend of special browsers, such as voice-text/text-voice browsers,
or to perform directed tasks, such as login to SourceForge to do a Quick
Release or to send and receive Yahoo! web mail.
%define namewithoutpythonprefix %(echo %{name} | sed 's/^python-//')
%prep
%setup -q -n %{namewithoutpythonprefix}-%{version}
sed -i 's/\r//' COPYING
# remove network test which fails in Fedora build system
sed -i 's/socket.gethostname()/"localhost"/' ./test/test_urllib2.py
%build
%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%check
%{__python} test.py
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYING changelog PKG-INFO README notes
%{python_sitelib}/mechanoid
%changelog
* Sat Jun 09 2007 Sean Reifschneider <jafo at tummy.com> 0.6.9-3
- Changes based on review from Jason Tibbitts:
- Fixing the unix2dos conversion.
- Adding in "%check" to run the test suite.
* Sat Jun 09 2007 Sean Reifschneider <jafo at tummy.com> 0.6.9-2
- Changes based on review from Jason Tibbitts:
- Fixing DOS line-ending of COPYING file.
- Adding python-devel package dependency.
- no-oping test that requires network access.
* Sat Jun 09 2007 Sean Reifschneider <jafo at tummy.com> 0.6.9-1
- Initial RPM spec file.
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-mechanoid/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 10 Jun 2007 05:26:31 -0000 1.1
+++ sources 14 Oct 2007 21:04:52 -0000 1.2
@@ -0,0 +1 @@
+57935bed2df6cd83c3f2268cf1557c6f mechanoid-0.6.9.tar.gz
- Previous message (by thread): rpms/python-mechanoid/EL-5 .cvsignore,1.1,1.2 sources,1.1,1.2
- Next message (by thread): rpms/gdb/F-8 gdb-6.6-multifork-debugreg-for-i386-and-x86_64.patch, NONE, 1.1 gdb-6.3-linespec-20041213.patch, 1.3, 1.4 gdb-6.3-nonthreaded-wp-20050117.patch, 1.4, 1.5 gdb-6.3-test-dtorfix-20050121.patch, 1.4, 1.5 gdb-6.6-upstream.patch, 1.9, 1.10 gdb.spec, 1.250, 1.251
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list