packages: python3-pycairo/python3-pycairo.spec - Python 3.2 fixes (not sure...

jajcus jajcus at pld-linux.org
Fri Jul 15 21:20:47 CEST 2011


Author: jajcus                       Date: Fri Jul 15 19:20:47 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- Python 3.2 fixes (not sure it works)
- Release: 2

---- Files affected:
packages/python3-pycairo:
   python3-pycairo.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/python3-pycairo/python3-pycairo.spec
diff -u packages/python3-pycairo/python3-pycairo.spec:1.2 packages/python3-pycairo/python3-pycairo.spec:1.3
--- packages/python3-pycairo/python3-pycairo.spec:1.2	Sun May 22 17:22:42 2011
+++ packages/python3-pycairo/python3-pycairo.spec	Fri Jul 15 21:20:42 2011
@@ -1,9 +1,13 @@
 # $Revision$, $Date$
+#
+# TODO:
+#  - check why the modules are not compiled to __pycache__
+
 Summary:	Python 3.x Cairo bindings
 Summary(pl.UTF-8):	Dowiązania Pythona 3.x dla Cairo
 Name:		python3-pycairo
 Version:	1.10.0
-Release:	1
+Release:	2
 License:	LGPL v3
 Group:		Libraries
 Source0:	http://cairographics.org/releases/pycairo-%{version}.tar.bz2
@@ -64,6 +68,7 @@
 PYTHON="%{_bindir}/python3" \
 PYTHONDIR="%{py3_sitedir}" \
 python3 ./waf %{?_smp_mflags} configure \
+	--libdir=%{_libdir} \
 	--prefix=%{_prefix}
 
 python3 ./waf build
@@ -75,15 +80,8 @@
 python3 ./waf install \
 	--destdir=$RPM_BUILD_ROOT
 
-%if "%{_lib}" != "lib"
-	install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
-	mv $RPM_BUILD_ROOT%{_prefix}/lib/pkgconfig/*.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
-%endif
-
 cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-%py3_postclean
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -92,7 +90,8 @@
 %doc AUTHORS COPYING NEWS README
 %dir %{py3_sitedir}/cairo
 %attr(755,root,root) %{py3_sitedir}/cairo/_cairo.cpython-*.so
-%{py3_sitedir}/cairo/__init__.py[co]
+%{py3_sitedir}/cairo/*.py
+%{py3_sitedir}/cairo/*.py[co]
 
 %files devel
 %defattr(644,root,root,755)
@@ -109,6 +108,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2011/07/15 19:20:42  jajcus
+- Python 3.2 fixes (not sure it works)
+- Release: 2
+
 Revision 1.2  2011/05/22 15:22:42  qboosh
 - updated to 2.10.0
 - even with python 3.2 build system uses pre-3.2 packaging style (.py[co] not __pycache__)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python3-pycairo/python3-pycairo.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list