[python-tahrir-api] Initial import (#832074).

Ross Delinger rossdylan at fedoraproject.org
Mon Jun 18 17:52:45 UTC 2012


commit 92c65e1ee428ec54bcf3737401c3f38310c43de7
Author: Ross Delinger <rossdylan at csh.rit.edu>
Date:   Mon Jun 18 13:52:42 2012 -0400

    Initial import (#832074).

 .gitignore             |    1 +
 python-tahrir-api.spec |   58 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 60 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b8edc2e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tahrir-api-0.1.3.1.tar.gz
diff --git a/python-tahrir-api.spec b/python-tahrir-api.spec
new file mode 100644
index 0000000..88742d8
--- /dev/null
+++ b/python-tahrir-api.spec
@@ -0,0 +1,58 @@
+%global modname tahrir_api
+
+Name:             python-tahrir-api
+Version:          0.1.3.1
+Release:          1%{?dist}
+Summary:          An API for interacting with the Tahrir database
+
+Group:            Development/Languages
+License:          AGPLv3+
+URL:              http://pypi.python.org/pypi/tahrir-api
+Source0:          http://pypi.python.org/packages/source/t/tahrir-api/tahrir-api-0.1.3.1.tar.gz
+
+BuildArch:        noarch
+
+
+BuildRequires:    python2-devel
+BuildRequires:    python-setuptools
+Requires: python-pygments
+Requires: python-sqlalchemy
+Requires: python-zope-sqlalchemy
+Requires: python-simplejson
+Requires: python-paste-deploy
+Requires: mysql-python
+
+%description
+tahrir-api
+==========
+
+API for interacting with the Tahrir database Based on the `Tahrir
+<https://github.com/ralphbean/tahrir>`_ database model written by `Ralph
+Bean <https://github.com/ralphbean>`_. There are two classes that can be
+used in this module. The first is TahrirDatabase class located in
+tahrir_api.dbapi and the second is the database model located in
+tahrir_api.model. The TahrirDatabase class is a high level way to interact
+with the database. The model is used for a slightly more low level way of
+interacting with the database. It allows for custom interactions with the
+database without having to use the TahrirDatabase class.
+
+%prep
+%setup -q -n tahrir-api-%{version}
+
+%build
+%{__python} setup.py build 
+
+%install
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+
+%files
+%doc README.rst LICENSE
+
+%{python_sitelib}/%{modname}
+%{python_sitelib}/%{modname}-%{version}*
+%{_bindir}/initialize_tahrir_db
+
+%changelog
+* Wed Jun 13 2012 rossdylan <rdelinge at redhat.com> 0.1.3.1-1
+- initial package for Fedora
diff --git a/sources b/sources
index e69de29..9967dde 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b5c6461d914e8cc1627203cfa52a5ef3  tahrir-api-0.1.3.1.tar.gz


More information about the scm-commits mailing list