[python-django-devserver] Initial import

Bohuslav Kabrda bkabrda at fedoraproject.org
Wed Apr 25 15:05:02 UTC 2012


commit dd4959558258d6c0228801711e9031e1c7a114a5
Author: Bohuslav Kabrda <bkabrda at redhat.com>
Date:   Wed Apr 25 17:04:55 2012 +0200

    Initial import

 .gitignore                   |    1 +
 LICENSE                      |   12 +++++++++
 python-django-devserver.spec |   53 ++++++++++++++++++++++++++++++++++++++++++
 sources                      |    1 +
 4 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..138392a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/django-devserver-0.3.1.tar.gz
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..ac11df1
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,12 @@
+Copyright (c) 2010 David Cramer and individual contributors.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+    1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+
+    2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+
+    3. Neither the name of the django-devserver nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\ No newline at end of file
diff --git a/python-django-devserver.spec b/python-django-devserver.spec
new file mode 100644
index 0000000..c19a1c6
--- /dev/null
+++ b/python-django-devserver.spec
@@ -0,0 +1,53 @@
+%global pypi_name django-devserver
+
+Name:           python-%{pypi_name}
+Version:        0.3.1
+Release:        2%{?dist}
+Summary:        Drop-in replacement for Django's runserver
+
+License:        BSD
+URL:            https://github.com/dcramer/django-devserver
+Source0:        http://pypi.python.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
+# The source tar doesn't contain LICENSE file, download it separately
+Source1:        https://raw.github.com/dcramer/%{pypi_name}/master/LICENSE
+
+BuildArch:      noarch
+BuildRequires:  python-devel
+BuildRequires:  python-setuptools
+
+Requires:       python-django
+
+%description
+A drop in replacement for Django's built-in runserver command.
+Features include:
+- An extendable interface for handling things such as real-time logging.
+- Integration with the werkzeug interactive debugger.
+- Threaded (default) and multi-process development servers.
+- Ability to specify a WSGI application as your target environment.
+
+
+%prep
+%setup -q -n %{pypi_name}-%{version}
+rm -rf django_devserver.egg-info
+cp %{SOURCE1} .
+
+%build
+%{__python} setup.py build
+
+
+%install
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+
+ 
+%files
+%doc LICENSE
+%{python_sitelib}/devserver
+%{python_sitelib}/django_devserver*
+
+
+%changelog
+* Wed Apr 25 2012 Bohuslav Kabrda <bkabrda at redhat.com> - 0.3.1-2
+- Remove bundled egg-info directory.
+
+* Tue Apr 17 2012 Bohuslav Kabrda <bkabrda at redhat.com> - 0.3.1-1
+- Initial package.
diff --git a/sources b/sources
index e69de29..6d15389 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3d1a3d6db0de3a2f44a4b6090cfa1f78  django-devserver-0.3.1.tar.gz


More information about the scm-commits mailing list