[python-beanstalkc] python-beanstalkc-0.3.0-2

halfie halfie at fedoraproject.org
Tue Sep 17 13:27:30 UTC 2013


commit c4db6d0d4f4389b61149fff66e5a9fd367c50409
Author: Dhiru Kholia <dhiru at openwall.com>
Date:   Tue Sep 17 18:56:39 2013 +0530

    python-beanstalkc-0.3.0-2

 .gitignore             |    1 +
 python-beanstalkc.spec |   39 +++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 41 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ca808b6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/beanstalkc-0.3.0.tar.gz
diff --git a/python-beanstalkc.spec b/python-beanstalkc.spec
new file mode 100644
index 0000000..5fcb1cd
--- /dev/null
+++ b/python-beanstalkc.spec
@@ -0,0 +1,39 @@
+%global upstream_name beanstalkc
+%global upstream_version 0.3.0
+
+name:          python-%{upstream_name}
+Version:       %{upstream_version}
+Release:       2%{?dist}
+Summary:       A simple beanstalkd client library for Python
+License:       ASL 2.0
+URL:           https://github.com/earl/beanstalkc
+Source0:       http://pypi.python.org/packages/source/b/%{upstream_name}/%{upstream_name}-%{upstream_version}.tar.gz
+
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+BuildArch:     noarch
+
+%description
+beanstalkc is a simple beanstalkd client library for Python. beanstalkd is a
+fast, distributed, in-memory workqueue service.
+
+%prep
+%setup -qn %{upstream_name}-%{upstream_version}
+rm -rf %{upstream_name}.egg-info
+sed -i -e '/^#!\//, 1d' beanstalkc.py
+
+%build
+%{__python2} setup.py build
+
+%install
+%{__python2} setup.py install --skip-build --root %{buildroot}
+
+%files
+%{python2_sitelib}/*
+
+%changelog
+* Tue Sep 17 2013 Dhiru Kholia <dhiru at openwall.com> - 0.3.0-2
+- remove shebang from beanstalkc.py
+
+* Sun Sep 15 2013 Dhiru Kholia <dhiru at openwall.com> - 0.3.0-1
+- initial version
diff --git a/sources b/sources
index e69de29..80f079d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1fefd5559abb0a45e1416c790c94f41c  beanstalkc-0.3.0.tar.gz


More information about the scm-commits mailing list