[packages/python-moksha-hub] new, version 1.4.4

glen glen at pld-linux.org
Sun Nov 23 01:16:23 CET 2014


commit 6b69a682e6e88097d09a564f3e8dc629a3e137a6
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Nov 23 02:15:48 2014 +0200

    new, version 1.4.4
    
    based on fedora package f8af246

 python-moksha-hub.spec | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 83 insertions(+)
---
diff --git a/python-moksha-hub.spec b/python-moksha-hub.spec
new file mode 100644
index 0000000..da30e21
--- /dev/null
+++ b/python-moksha-hub.spec
@@ -0,0 +1,83 @@
+#
+# Conditional build:
+%bcond_with	tests	# do not perform "make test"
+
+%define	module moksha.hub
+Summary:	Hub components for Moksha
+Name:		python-moksha-hub
+Version:	1.4.4
+Release:	1
+License:	Apache v2.0
+Group:		Development/Libraries
+Source0:	http://pypi.python.org/packages/source/m/%{module}/%{module}-%{version}.tar.gz
+# Source0-md5:	97ec72d1fb223de0d883715185b63e06
+URL:		http://pypi.python.org/pypi/moksha.hub
+%if %{with tests}
+BuildRequires:	python-TwistedCore
+BuildRequires:	python-daemon
+BuildRequires:	python-devel
+BuildRequires:	python-mock
+BuildRequires:	python-moksha-common >= 1.0.6
+BuildRequires:	python-nose
+BuildRequires:	python-setuptools
+BuildRequires:	python-six
+BuildRequires:	python-stomper
+BuildRequires:	python-txws
+BuildRequires:	python-txzmq
+BuildRequires:	python-websocket-client
+%endif
+Requires:	python-TwistedCore
+Requires:	python-daemon
+Requires:	python-moksha-common >= 1.0.6
+Requires:	python-six
+Requires:	python-stomper
+Requires:	python-txws
+Requires:	python-txzmq
+# When installed, these enable new plugins for the moksha.hub
+#BuildRequires:  python-qpid
+#Requires:       python-qpid
+# Its a whole different package now.
+Conflicts:	moksha < 1.0.0
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Hub components for Moksha.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+# Removed twisted from the list of deps in setup.py.
+%{__sed} -i 's/"Twisted",//' setup.py
+
+# *Experimental* support for python-zmq-13.0.0 in rawhide.
+%{__sed} -i 's/pyzmq<=2.2.0.1/pyzmq/' setup.py
+
+%build
+%{__python} setup.py build
+
+%if %{with tests}
+%{__python} setup.py test
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+	--skip-build \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/moksha/hub/tests
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README COPYING AUTHORS
+%attr(755,root,root) %{_bindir}/moksha-hub
+%{py_sitescriptdir}/moksha/hub
+%{py_sitescriptdir}/moksha.hub-%{version}-py*-nspkg.pth
+%{py_sitescriptdir}/moksha.hub-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-moksha-hub.git/commitdiff/6b69a682e6e88097d09a564f3e8dc629a3e137a6



More information about the pld-cvs-commit mailing list