Author: wiget Date: Sat Aug 1 19:08:53 2009 GMT Module: packages Tag: HEAD ---- Log message: - initial
---- Files affected: packages/python3-py-postgresql: python3-py-postgresql.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/python3-py-postgresql/python3-py-postgresql.spec diff -u /dev/null packages/python3-py-postgresql/python3-py-postgresql.spec:1.1 --- /dev/null Sat Aug 1 21:08:53 2009 +++ packages/python3-py-postgresql/python3-py-postgresql.spec Sat Aug 1 21:08:48 2009 @@ -0,0 +1,52 @@ +# $Revision$, $Date$ +Summary: PostgreSQL driver and tools library +Name: python3-py-postgresql +Version: 0.9.0 +Release: 0.1 +Group: Development/Languages/Python +License: ? +Source0: http://python.projects.postgresql.org/files/py-postgresql-%{version}.tar.gz +# Source0-md5: b2764d966e569fda5af29a9b63ef6c9f +URL: http://python.projects.postgresql.org/ +BuildRequires: python3-devel +%pyrequires_eq python3-modules +Requires: python3-modules +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +py-postgresql is a set of Python modules providing interfaces to various parts +of PostgreSQL. Notably, it provides a pure-Python driver + C optimizations for +querying a PostgreSQL database. + +%prep +%setup -q -n py-postgresql-%{version} + +%build +python3 -- setup.py build + +%install +rm -rf $RPM_BUILD_ROOT +python3 -- setup.py install \ + --optimize=2 \ + --root=$RPM_BUILD_ROOT + +%py3_postclean + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/* +%{py3_sitedir}/postgresql +%{py3_sitedir}/*.egg-info + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog -n python-kid +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2009/08/01 19:08:48 wiget +- initial + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
