[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

cvs.fedora.redhat.com down



Is cvs.fedora.redhat.com down right now?  I was going to fix up some
python packages for x86i_64 work but it doesn't look like things are
running.

On the python note -- does anyone have an x86_64 to test a package?  I
modified the pexpect.spec to hopefully get it to build but I don't have
a multilib system to test it on so I don't know that it solves the build
problem.  If someone tests this and it works, there's quite a few other
packages that I can update similarly.

-Toshio
%define pyver %(python -c 'import sys ; print sys.version[:3]')
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

Summary: Expect module for Python
Name: pexpect
Version: 0.999
Release: 2
License: PSFL
Group: Development/Languages
URL: http://pexpect.sourceforge.net
Source: http://download.sourceforge.net/pexpect/%{name}-%{version}.tgz
Source1: http://download.sourceforge.net/pexpect/pexpect-doc.tgz
Source2: http://download.sourceforge.net/pexpect/pexpect-examples.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: python-abi = %{pyver}
BuildRequires: python-devel >= 0:2.2

%description
Pexpect is a pure Python module for spawning child applications; controlling
them; and responding to expected patterns in their output. Pexpect works like
Don Libes' Expect. Pexpect allows your script to spawn a child application and
control it as if a human were typing commands.
 
Pexpect can be used for automating interactive applications such as ssh, ftp,
passwd, telnet, etc. It can be used to a automate setup scripts for
duplicating software package installations on different servers. It can be
used for automated software testing. Pexpect is in the spirit of Don Libes'
Expect, but Pexpect is pure Python. Unlike other Expect-like modules for
Python, Pexpect does not require TCL or Expect nor does it require C
extensions to be compiled. It should work on any platform that supports the
standard Python pty module.

%prep
%setup -q -a1 -a2
rm -rf $(find . -type d -name CVS)

%build
python setup.py build

%install
python setup.py install -O1 --root $RPM_BUILD_ROOT

#touch %{name}-ghost.files
#for file in $(find $RPM_BUILD_ROOT -type f -name "*.py"); do
#for suffix in c o; do
#if [ ! -e "$file$suffix" ]; then
#touch "$file$suffix"
#echo "%ghost $file$suffix" | sed "s|$RPM_BUILD_ROOT||" \
#>> %{name}-ghost.files
#fi
#done
#done

%clean
rm -rf $RPM_BUILD_ROOT

#%files -f %{name}-ghost.files
%files
%defattr(-,root,root,-)
%{python_sitelib}/pexpect.py
%{python_sitelib}/pexpect.pyc
%ghost %{python_sitelib}/pexpect.pyo

%doc README.txt doc examples

%changelog
* Thu Feb 03 2005 Toshio Kuratomi <toshio tiki-lounge com> 0.999-2
- Use python_sitelib macro to resolve build issues on x86_64.
- ghost *.pyo

* Mon May 31 2004 Panu Matilainen <pmatilai welho com> 0.999-0.fdr.1
- get rid of distrel munging, buildsys does that...
- update to 0.999
- update doc and example tarballs
- fix build on python <> 2.2
- use -O1 in install to generate .pyo files instead of manually creating the files
- require python-abi = pyver to get dependencies right

* Sun Jul 27 2003 Panu Matilainen <pmatilai welho com> 0.98-0.fdr.3
- own .pyo files too as suggested by Ville (#517)

* Sat Jul 26 2003 Panu Matilainen <pmatilai welho com> 0.98-0.fdr.2
- fixes by Ville (bug #517) applied

* Sat Jul 26 2003 Panu Matilainen <pmatilai welho com>
- Initial Fedora packaging


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]