rpms/python-pgsql/F-7 python-pgsql.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Konstantin Ryabitsev (icon) fedora-extras-commits at redhat.com
Sun Jun 10 13:21:35 UTC 2007


Author: icon

Update of /cvs/extras/rpms/python-pgsql/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15968/F-7

Modified Files:
	.cvsignore sources 
Added Files:
	python-pgsql.spec 
Log Message:
Importing.



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

Name:           python-pgsql
Version:        0.9.5
Release:        2%{?dist}
Summary:        Enhanced python interface to PostgreSQL

Group:          Development/Languages
License:        Python Software Foundation License
URL:            http://people.rpath.com/~gafton/pgsql
Source0:        http://people.rpath.com/~gafton/pgsql/python-pgsql-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  python-devel, postgresql-devel

%description
This is a simple PostgreSQL interface for Python which is derived
from the PyGreSQL 3.8.1 sources module. The main changes from the
PyGreSQL module are:

- support for bind parameters, alleviating the need for
  extensive, expensive and vulnerable quoting of user-supplied
  data
- support for server side cursors for looping through large query
  results without loading up the entire result set in the client's
  memory
- returned values are translated to Python objects in the C layer,
  resulting in some speed improvement
- better DB API 2.0 compliance


%prep
%setup -q


%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build


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

 
%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc README COPYRIGHT NEWS TODO
%{python_sitearch}/*


%changelog
* Thu Jun 07 2007 Konstantin Ryabitsev <icon at fedoraproject.org> - 0.9.5-2
- Set license according to what rpmlint wants

* Mon Mar 12 2007 Konstantin Ryabitsev <icon at fedoraproject.org> - 0.9.5-1
- Upstream 0.9.5
- Drop obsolete patch

* Fri Jan 26 2007 Konstantin Ryabitsev <icon at fedoraproject.org> - 0.9.3-2
- Patch for python-2.3

* Fri Jan 26 2007 Konstantin Ryabitsev <icon at fedoraproject.org> - 0.9.3-1
- Initial packaging.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-pgsql/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	7 Jun 2007 19:54:51 -0000	1.1
+++ .cvsignore	10 Jun 2007 13:21:00 -0000	1.2
@@ -0,0 +1 @@
+python-pgsql-0.9.5.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-pgsql/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	7 Jun 2007 19:54:51 -0000	1.1
+++ sources	10 Jun 2007 13:21:00 -0000	1.2
@@ -0,0 +1 @@
+8c56355c93c88efacaba94119283175e  python-pgsql-0.9.5.tar.gz




More information about the fedora-extras-commits mailing list