[python-asyncmongo] Initial import

Silas Sewell silas at fedoraproject.org
Sun Nov 28 23:33:24 UTC 2010


commit 757cd57b510d3f865eb33028138e4e49f8f12521
Author: Silas Sewell <silas at sewell.ch>
Date:   Sun Nov 28 18:33:26 2010 -0500

    Initial import

 .gitignore             |    1 +
 python-asyncmongo.spec |   43 +++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 45 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8f2ce75 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/asyncmongo-0.1.tar.gz
diff --git a/python-asyncmongo.spec b/python-asyncmongo.spec
new file mode 100644
index 0000000..8bb221e
--- /dev/null
+++ b/python-asyncmongo.spec
@@ -0,0 +1,43 @@
+%global upstream_name asyncmongo
+
+Name:           python-%{upstream_name}
+Version:        0.1
+Release:        1%{?dist}
+Summary:        An asynchronous Python MongoDB library
+
+Group:          Development/Languages
+License:        ASL 2.0
+URL:            https://github.com/bitly/asyncmongo
+Source0:        https://github.com/downloads/bitly/asyncmongo/asyncmongo-%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python-devel
+
+Requires:       pymongo >= 1.9
+Requires:       python-bson
+Requires:       python-tornado
+
+%description
+AsyncMongo is an asynchronous Python library for accessing MongoDB using the
+Tornado IOLoop.
+
+%prep
+%setup -q -n %{upstream_name}-%{version}
+# Fix non-executable-script error
+sed -i '/^#!\/bin\/env python$/,+1 d' asyncmongo/*.py
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc README.md
+%{python_sitelib}/%{upstream_name}
+%{python_sitelib}/%{upstream_name}-%{version}*.egg-info
+
+%changelog
+* Thu Nov 18 2010 Silas Sewell <silas at sewell.ch> - 0.1-1
+- Initial package
diff --git a/sources b/sources
index e69de29..aea56be 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0e04bd785b230315f9e7a4cf9486febd  asyncmongo-0.1.tar.gz


More information about the scm-commits mailing list