summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Moschny <thm@fedoraproject.org>2010-01-10 16:17:39 +0000
committerThomas Moschny <thm@fedoraproject.org>2010-01-10 16:17:39 +0000
commit112da910166788a2dc242a1a4b580d3cdda791ad (patch)
tree1e90e087bc0733631c86cc5faf19bc3434938f8b
parentc72ebed6a93467c1626bf117b1e8afba4dc3836c (diff)
downloadpython-execnet-112da910166788a2dc242a1a4b580d3cdda791ad.tar.gz
python-execnet-112da910166788a2dc242a1a4b580d3cdda791ad.tar.xz
python-execnet-112da910166788a2dc242a1a4b580d3cdda791ad.zip
Initial import.
-rw-r--r--.cvsignore1
-rw-r--r--import.log1
-rw-r--r--python-execnet.spec93
-rw-r--r--sources1
4 files changed, 96 insertions, 0 deletions
diff --git a/.cvsignore b/.cvsignore
index e69de29..6078596 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+execnet-1.0.2.tar.gz
diff --git a/import.log b/import.log
new file mode 100644
index 0000000..8cd67d7
--- /dev/null
+++ b/import.log
@@ -0,0 +1 @@
+python-execnet-1_0_2-3_fc12:HEAD:python-execnet-1.0.2-3.fc12.src.rpm:1263139591
diff --git a/python-execnet.spec b/python-execnet.spec
new file mode 100644
index 0000000..3d22b78
--- /dev/null
+++ b/python-execnet.spec
@@ -0,0 +1,93 @@
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
+%global srcname execnet
+
+Name: python-%{srcname}
+Version: 1.0.2
+Release: 3%{?rctag:.%rctag}%{?dist}
+Summary: Elastic Python Deployment
+Group: Development/Languages
+License: GPLv2+ and MIT
+URL: http://codespeak.net/execnet
+Source0: http://pypi.python.org/packages/source/e/%{srcname}/%{srcname}-%{version}%{?rctag:%rctag}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+BuildRequires: python-devel
+BuildRequires: python-setuptools-devel
+BuildRequires: python-sphinx
+# execnet was separated from pylib at that point
+BuildRequires: python-py >= 1.1.0
+Conflicts: python-py < 1.1.0
+
+
+%description
+The execnet package allows to:
+
+ * instantiate local/remote Python Interpreters
+ * send code for execution to one or many Interpreters
+ * send and receive data between codeInterpreters through channels
+
+execnet performs zero-install bootstrapping into other interpreters;
+package installation is only required at the initiating side. execnet
+enables interoperation between CPython 2.4-3.1, Jython 2.5 and PyPy
+1.1 and works well on Windows, Linux and OSX systems.
+
+
+%prep
+%setup -q -n %{srcname}-%{version}%{?rctag}
+
+
+%build
+%{__python} setup.py build
+make -C doc html
+
+
+%install
+rm -rf %{buildroot}
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+
+# remove shebangs and fix permissions
+find %{buildroot}%{python_sitelib} \( -name '*.py' -o -name 'py.*' \) \
+ -exec sed -i '1{/^#!/d}' {} \; \
+ -exec chmod u=rw,go=r {} \;
+
+# remove hidden file
+rm doc/_build/html/.buildinfo
+
+
+%check
+# need to skip some test that try to make ssh connections
+PYTHONPATH=$(pwd) py.test -k'-test_info -test_group' --report=skipped
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%{python_sitelib}/%{srcname}*
+%doc README.txt LICENSE CHANGELOG
+%doc doc/_build/html
+
+
+%changelog
+* Fri Jan 8 2010 Thomas Moschny <thomas.moschny@gmx.de> - 1.0.2-3
+- Remove .buildinfo file from the doc dir.
+
+* Thu Jan 7 2010 Thomas Moschny <thomas.moschny@gmx.de> - 1.0.2-2
+- Skip tests that need network access.
+
+* Tue Dec 29 2009 Thomas Moschny <thomas.moschny@gmx.de> - 1.0.2-1
+- Update to 1.0.2.
+
+* Sat Dec 5 2009 Thomas Moschny <thomas.moschny@gmx.de> - 1.0.1-1
+- Update to 1.0.1.
+- Build and include HTML documentation.
+- Be a bit more explicit in the %%files section.
+
+* Sat Nov 28 2009 Thomas Moschny <thomas.moschny@gmx.de> - 1.0.0-1
+- Update to 1.0.0.
+
+* Sun Nov 22 2009 Thomas Moschny <thomas.moschny@gmx.de> - 1.0.0-0.1.b3
+- New package.
diff --git a/sources b/sources
index e69de29..d837716 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b3a42aec448ede3ba573cb6c6d00a20b execnet-1.0.2.tar.gz