Merge lp:~statik/django-openid-auth/packaging into lp:~django-openid-auth/django-openid-auth/trunk

Proposed by Elliot Murphy
Status: Merged
Merged at revision: not available
Proposed branch: lp:~statik/django-openid-auth/packaging
Merge into: lp:~django-openid-auth/django-openid-auth/trunk
Diff against target: None lines
To merge this branch: bzr merge lp:~statik/django-openid-auth/packaging
Reviewer Review Type Date Requested Status
James Henstridge Approve
Tom Haddon Pending
Review via email: mp+5368@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Elliot Murphy (statik) wrote :

Added debian packaging. Test package uploaded to https://launchpad.net/~statik/+archive/ppa.

Revision history for this message
James Henstridge (jamesh) wrote :

Looks good. Although it'd be nice to include as nice a description on the distutils setup.py as you have in the Debian control file.

review: Approve
45. By Elliot Murphy

Changes before uploading to REVU.

46. By Elliot Murphy

Add long_description to setup.py as suggested in the review.
Move debian packaging to a separate branch, as we'll want to
make a release tarball that doesn't include the debian dir.

Revision history for this message
Elliot Murphy (statik) wrote :

I've added long_description to setup.py, and moved the debian dir out to a separate branch, because we'll want to do a release tarball that doesn't include the debian dir.

Are you ok with me merging this and cutting a release to upload to pypi?

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added directory 'debian'
2=== added file 'debian/changelog'
3--- debian/changelog 1970-01-01 00:00:00 +0000
4+++ debian/changelog 2009-04-08 20:13:11 +0000
5@@ -0,0 +1,5 @@
6+python-django-openid-auth (0.1) hardy; urgency=low
7+
8+ * Initial release.
9+
10+ -- Elliot Murphy (personal) <elliot.murphy@gmail.com> Wed, 08 Apr 2009 15:07:49 -0400
11
12=== added file 'debian/compat'
13--- debian/compat 1970-01-01 00:00:00 +0000
14+++ debian/compat 2009-04-08 19:31:57 +0000
15@@ -0,0 +1,1 @@
16+6
17
18=== added file 'debian/control'
19--- debian/control 1970-01-01 00:00:00 +0000
20+++ debian/control 2009-04-08 20:13:11 +0000
21@@ -0,0 +1,30 @@
22+Source: python-django-openid-auth
23+Maintainer: Elliot Murphy <elliot@caonical.com>
24+Uploaders: James Henstridge <jamesh@canonical.com>
25+Section: python
26+Priority: optional
27+Standards-Version: 3.8.0
28+Build-Depends-Indep:
29+ python-central (>= 0.6.7)
30+Build-Depends:
31+ cdbs (>= 0.4.51),
32+ debhelper (>= 6.0.4),
33+ python (>= 2.5)
34+XS-Python-Version: all
35+Homepage: https://launchpad.net/django-openid-auth
36+
37+Package: python-django-openid-auth
38+Architecture: all
39+XB-Python-Version: ${python:Versions}
40+Depends: ${python:Depends},
41+ ${misc:Depends},
42+ python-pkg-resources
43+Provides: ${python:Provides}
44+Description: OpenID integration for django.contrib.auth
45+ A library that can be used to add OpenID support to Django applications.
46+ The library integrates with Django's builtin authentication system, so
47+ most applications require minimal changes to support OpenID login.
48+ The library also includes the following features:
49+ * Basic user details are transfered from the OpenID server via the Simple Registration extension.
50+ * can be configured to use a fixed OpenID server URL, for use in single sign on deployments.
51+ * supports the Launchpad teams extension to request team membership information.
52
53=== added file 'debian/copyright'
54--- debian/copyright 1970-01-01 00:00:00 +0000
55+++ debian/copyright 2009-04-08 19:31:57 +0000
56@@ -0,0 +1,27 @@
57+This is python-django-openid-auth, packaged for Ubuntu by Elliot Murphy.
58+
59+Homepage is https://launchpad.net/django-openid-auth
60+
61+Copyright (C) 2007 Simon Willison
62+Copyright (C) 2008-2009 Canonical Ltd.
63+
64+Redistribution and use in source and binary forms, with or without
65+modification, are permitted provided that the following conditions are met:
66+
67+* Redistributions of source code must retain the above copyright notice, this
68+list of conditions and the following disclaimer.
69+
70+* Redistributions in binary form must reproduce the above copyright notice,
71+this list of conditions and the following disclaimer in the documentation
72+and/or other materials provided with the distribution.
73+
74+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
75+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
76+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
77+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
78+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
79+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
80+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
81+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
82+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
83+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
84
85=== added file 'debian/rules'
86--- debian/rules 1970-01-01 00:00:00 +0000
87+++ debian/rules 2009-04-08 19:31:57 +0000
88@@ -0,0 +1,5 @@
89+#!/usr/bin/make -f
90+
91+include /usr/share/cdbs/1/rules/debhelper.mk
92+DEB_PYTHON_SYSTEM = pycentral
93+include /usr/share/cdbs/1/class/python-distutils.mk
94
95=== added file 'setup.py'
96--- setup.py 1970-01-01 00:00:00 +0000
97+++ setup.py 2009-04-08 19:05:58 +0000
98@@ -0,0 +1,51 @@
99+#!/usr/bin/env python
100+# django-openid-auth - OpenID integration for django.contrib.auth
101+#
102+# Copyright (C) 2009 Canonical Ltd.
103+#
104+# Redistribution and use in source and binary forms, with or without
105+# modification, are permitted provided that the following conditions
106+# are met:
107+#
108+# * Redistributions of source code must retain the above copyright
109+# notice, this list of conditions and the following disclaimer.
110+#
111+# * Redistributions in binary form must reproduce the above copyright
112+# notice, this list of conditions and the following disclaimer in the
113+# documentation and/or other materials provided with the distribution.
114+#
115+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
116+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
117+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
118+# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
119+# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
120+# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
121+# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
122+# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
123+# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
124+# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
125+# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
126+# POSSIBILITY OF SUCH DAMAGE.
127+"""setup.py"""
128+
129+from distutils.core import setup
130+
131+setup(name = 'django-openid-auth',
132+ version = '0.1',
133+ description = 'OpenID integration for django.contrib.auth',
134+ url = 'https://launchpad.net/django-openid-auth',
135+ packages = ['django_openid_auth',
136+ 'django_openid_auth/management',
137+ 'django_openid_auth/management/commands',
138+ 'django_openid_auth/templates',
139+ 'django_openid_auth/templates/openid',
140+ 'django_openid_auth/tests',
141+ ],
142+ classifiers = ['Development Status :: 4 - Beta',
143+ 'Environment :: Web Environment',
144+ 'Framework :: Django',
145+ 'Intended Audience :: Developers',
146+ 'License :: OSI Approved :: BSD License',
147+ 'Operating System :: OS Independent',
148+ 'Programming Language :: Python',
149+ 'Topic :: Utilities'])

Subscribers

People subscribed via source and target branches