rpms/python-sqlparse/devel python-sqlparse.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

David Hugh Malcolm dmalcolm at fedoraproject.org
Wed Jun 10 21:33:08 UTC 2009


Author: dmalcolm

Update of /cvs/pkgs/rpms/python-sqlparse/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18348

Modified Files:
	.cvsignore sources 
Added Files:
	python-sqlparse.spec 
Log Message:
Initial commit



--- NEW FILE python-sqlparse.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           python-sqlparse
Version:        0.1.1
Release:        3%{?dist}
Summary:        Non-validating SQL parser for Python

Group:          Development/Languages
License:        BSD
URL:            http://code.google.com/p/python-sqlparse/
Source0:        http://python-sqlparse.googlecode.com/files/sqlparse-0.1.1.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel

%description
sqlparse is a tool for parsing SQL strings.  It can generate pretty-printed
renderings of SQL in various formats.

It is a python module, together with a command-line tool.

%prep
%setup -q -n sqlparse-%{version}

%build
%{__python} setup.py build

%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT

%check
%{__python} tests/run_tests.py
 
%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc AUTHORS CHANGES COPYING README TODO
%{_bindir}/sqlformat
%{python_sitelib}/*


%changelog
* Fri Jun  5 2009 David Malcolm <dmalcolm at redhat.com> - 0.1.1-3
- run the tests in the "check" section

* Fri Jun  5 2009 David Malcolm <dmalcolm at redhat.com> - 0.1.1-2
- run the selftests during the "build" phase

* Thu May 14 2009 David Malcolm <dmalcolm at redhat.com> - 0.1.1-1
- initial packaging



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-sqlparse/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	10 Jun 2009 21:11:03 -0000	1.1
+++ .cvsignore	10 Jun 2009 21:32:37 -0000	1.2
@@ -0,0 +1 @@
+sqlparse-0.1.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-sqlparse/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	10 Jun 2009 21:11:03 -0000	1.1
+++ sources	10 Jun 2009 21:32:37 -0000	1.2
@@ -0,0 +1 @@
+000053e0352f5bf19c2f8d5242329ea4  sqlparse-0.1.1.tar.gz




More information about the fedora-extras-commits mailing list