rpms/pyke/EL-6 pyke.spec,1.11,1.12 sources,1.9,1.10

Tom Callaway spot at fedoraproject.org
Mon Jul 12 12:50:20 UTC 2010


Author: spot

Update of /cvs/pkgs/rpms/pyke/EL-6
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv11210

Modified Files:
	pyke.spec sources 
Log Message:
disable python3 for now


Index: pyke.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pyke/EL-6/pyke.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -p -r1.11 -r1.12
--- pyke.spec	26 Jul 2009 19:53:01 -0000	1.11
+++ pyke.spec	12 Jul 2010 12:50:20 -0000	1.12
@@ -1,18 +1,27 @@
+%global with_python3 0
+
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 Name:			pyke
 Summary:		Knowledge-based inference engine
-Version:		1.0.2
-Release:		2%{?dist}
+Version:		1.1.1
+Release:		1%{?dist}.1
 License:		MIT
 Group:			System Environment/Libraries
 URL:			http://pyke.sourceforge.net/
-Source0:		http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Source0:		http://download.sourceforge.net/%{name}/%{name}-%{version}.zip
+%if 0%{?with_python3}
+Source1:		http://download.sourceforge.net/%{name}/%{name}3-%{version}.zip
+%endif # if with_python3
 BuildRoot:		%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:		noarch
 BuildRequires:		python-devel, python-setuptools
 Requires:		python-ply
 
+%if 0%{?with_python3}
+BuildRequires:          python3-devel
+%endif # if with_python3
+
 %description
 Pyke is a knowledge-based inference engine (expert system) written in 100% 
 python that can:
@@ -21,15 +30,49 @@ python that can:
 * Automatically generate python programs by assembling individual python 
   functions into complete call graphs.
 
+%if 0%{?with_python3}
+%package -n python3-pyke
+Summary:		Knowledge-based inference engine
+Group:			System Environment/Libraries
+Requires:		python3-ply
+
+%description -n python3-pyke
+Pyke is a knowledge-based inference engine (expert system) written in 100%
+python that can:
+* Do both forward-chaining (data driven) and backward-chaining (goal
+  directed) inferencing.
+* Automatically generate python programs by assembling individual python
+  functions into complete call graphs.
+%endif # with_python3
+
 %prep
-%setup -q 
+%if 0%{?with_python3}
+%setup -q -a 1
+mv %{name}-%{version} %{name}3-%{version}
+%else
+%setup -q
+%endif # with_python3
+
 
 %build
 %{__python} setup.py build
 
+%if 0%{?with_python3}
+pushd %{name}3-%{version}
+%{__python3} setup.py build
+popd
+%endif # with_python3
+
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
+
+%if 0%{?with_python3}
+pushd %{name}3-%{version}
+%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT
+popd
+%endif # with_python3
+
 rm -rf doc/testdocs*
 # This is stupid. Delete this.
 rm -rf $RPM_BUILD_ROOT/usr/pyke
@@ -40,11 +83,35 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc README copyright_license RELEASE_NOTES-* doc/
+%doc README.txt LICENSE RELEASE_NOTES-* doc/html/
 %{python_sitelib}/%{name}/
 %{python_sitelib}/%{name}-%{version}*.egg-info/
 
+%if 0%{?with_python3}
+%files -n python3-pyke
+%defattr(-,root,root,-)
+%doc README.txt LICENSE RELEASE_NOTES-* doc/html/
+%{python3_sitelib}/%{name}/
+%{python3_sitelib}/%{name}-%{version}*.egg-info
+%endif # with_python3
+
 %changelog
+* Mon Jul 12 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 1.1.1-1.1
+- disable python3 in EL-6 for the time being
+
+* Tue Apr 27 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 1.1.1-1
+- update to 1.1.1
+- enable python3 support
+
+* Mon Mar 15 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 1.1-1
+- update to 1.1
+
+* Thu Nov  5 2009 Tom "spot" Callaway <tcallawa at redhat.com> - 1.0.4-1
+- update to 1.0.4
+
+* Mon Oct 19 2009 Tom "spot" Callaway <tcallawa at redhat.com> - 1.0.3-1
+- update to 1.0.3
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.2-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pyke/EL-6/sources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -r1.9 -r1.10
--- sources	22 Apr 2009 19:39:04 -0000	1.9
+++ sources	12 Jul 2010 12:50:20 -0000	1.10
@@ -1 +1,2 @@
-e812d22af70e30d47926ff42fe807d3e  pyke-1.0.2.tar.gz
+b0f9daa278d9996bc742277126831001  pyke-1.1.1.zip
+a7d12d66d4c2ec12576a8187d3001384  pyke3-1.1.1.zip



More information about the scm-commits mailing list