commit a990ff783bc34601ba12ec2aa817e290b892de7c
Author: Artur Frysiak <[email protected]>
Date:   Thu Nov 1 11:41:37 2012 +0100

    Initial

 python-async.spec | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)
---
diff --git a/python-async.spec b/python-async.spec
new file mode 100644
index 0000000..2aab76a
--- /dev/null
+++ b/python-async.spec
@@ -0,0 +1,55 @@
+%define        module  async
+Summary:       Async Framework
+# Name must match the python module/package name (as in 'import' statement)
+Name:          python-%{module}
+Version:       0.6.1
+Release:       0.1
+License:       BSD
+Group:         Development/Languages/Python
+Source0:       
http://pypi.python.org/packages/source/a/async/%{module}-%{version}.tar.gz
+# Source0-md5: 6f0e2ced1fe85f8410b9bde11be08587
+URL:           https://github.com/gitpython-developers/async
+BuildRequires: python-devel
+BuildRequires: python-distribute
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+Requires:      python-modules
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Async is a framework to process interdependent tasks in a pool of
+workers.
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+CC="%{__cc}" \
+CFLAGS="%{rpmcflags}" \
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+       --skip-build \
+       --optimize=2 \
+       --root=$RPM_BUILD_ROOT
+
+%{__rm} -r $RPM_BUILD_ROOT%{py_sitedir}/async/{AUTHORS,README,test}
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS README
+%dir %{py_sitedir}/async
+%dir %{py_sitedir}/async/mod
+%{py_sitedir}/async/*.py[co]
+%{py_sitedir}/async/mod/*.py[co]
+%attr(755,root,root) %{py_sitedir}/async/mod/*.so
+%{py_sitedir}/async-*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-async.git/commitdiff/a990ff783bc34601ba12ec2aa817e290b892de7c

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to