[MOS 10.0] Add python-django-openstack-auth package 43/22543/1
authorIvan Udovichenko <iudovichenko@mirantis.com>
Fri, 24 Jun 2016 10:41:03 +0000 (13:41 +0300)
committerIvan Udovichenko <iudovichenko@mirantis.com>
Fri, 24 Jun 2016 10:41:09 +0000 (13:41 +0300)
Change-Id: I938050e1813408023e8e1e4f3de5ba280a63d562
Version: 2.3.0-1~u16.04+mos0
Source: http://newton-xenial.pkgs.mirantis.com/debian/pool/xenial-newton-backports/main/p/python-django-openstack-auth/python-django-openstack-auth_2.3.0-1~bpo16.04+1.dsc

12 files changed:
centos7/rpm/SPECS/python-django-openstack-auth.spec
xenial/debian/CHANGELOG [new file with mode: 0644]
xenial/debian/changelog [new file with mode: 0644]
xenial/debian/compat [new file with mode: 0644]
xenial/debian/control [new file with mode: 0644]
xenial/debian/copyright [new file with mode: 0644]
xenial/debian/docs [new file with mode: 0644]
xenial/debian/gbp.conf [new file with mode: 0644]
xenial/debian/rules [new file with mode: 0755]
xenial/debian/source/format [new file with mode: 0644]
xenial/debian/source/options [new file with mode: 0644]
xenial/debian/watch [new file with mode: 0644]

index 4904eec0b1e377316abb002dfdb7411a16496079..330121235a8150049d16d3011cd4655562dd2803 100644 (file)
@@ -7,18 +7,15 @@
 %global pypi_name django_openstack_auth
 
 Name:           python-django-openstack-auth
-Version:        2.0.1
-Release:        1%{?dist}~mos8.0.1
+Version:        2.3.0
+Release:        1%{?dist}~mos0
 Summary:        Django authentication backend for OpenStack Keystone
-
 License:        BSD
 URL:            http://pypi.python.org/pypi/django_openstack_auth/
 Source0:        http://pypi.python.org/packages/source/d/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
-
 BuildArch:      noarch
 
 
-
 %description
 Django OpenStack Auth is a pluggable Django authentication backend that
 works with Django's ``contrib.auth`` framework to authenticate a user against
@@ -34,26 +31,27 @@ Summary:        Django authentication backend for OpenStack Keystone
 BuildRequires:  python2-devel
 BuildRequires:  python-setuptools
 BuildRequires:  python-sphinx
-BuildRequires:  python-keystoneclient
+BuildRequires:  python-keystoneclient >= 1.7.0
 BuildRequires:  python-iso8601
-BuildRequires:  python-pbr >= 1.6
+BuildRequires:  python-pbr >= 1.8
 BuildRequires:  python-netaddr
 BuildRequires:  python-oslo-sphinx >= 2.3.0
 BuildRequires:  gettext
-BuildRequires:  python-oslo-config >= 2.3.0
-BuildRequires:  python-oslo-policy >= 0.5.0
+BuildRequires:  python-oslo-config >= 3.10.0
+BuildRequires:  python-oslo-policy >= 1.9.0
 BuildRequires:  python-mox3
 BuildRequires:  python-mock
 BuildRequires:  python-testscenarios
 
-Requires:       python-django
-BuildRequires:  python-django
+Requires:       python-django >= 1.8
+BuildRequires:  python-django >= 1.8
 
-Requires:       python-keystoneclient >= 1:1.6.0
+Requires:       python-keystoneauth1 >= 2.7.0
+Requires:       python-keystoneclient >= 1:1.7.0
 Requires:       python-six >= 1.9.0
-Requires:       python-oslo-config >= 2.3.0
-Requires:       python-oslo-policy >= 0.5.0
-Requires:       python-pbr >= 1.6
+Requires:       python-oslo-config >= 3.10.0
+Requires:       python-oslo-policy >= 1.9.0
+Requires:       python-pbr >= 1.8
 
 %description -n python2-django-openstack-auth
 Django OpenStack Auth is a pluggable Django authentication backend that
@@ -73,26 +71,27 @@ Summary:        Django authentication backend for OpenStack Keystone
 BuildRequires:  python3-devel
 BuildRequires:  python3-setuptools
 BuildRequires:  python3-sphinx
-BuildRequires:  python3-keystoneclient
+BuildRequires:  python3-keystoneclient >= 1.7.0
 BuildRequires:  python3-iso8601
-BuildRequires:  python3-pbr >= 1.6
+BuildRequires:  python3-pbr >= 1.8
 BuildRequires:  python3-netaddr
 BuildRequires:  python3-oslo-sphinx >= 2.3.0
 BuildRequires:  gettext
-BuildRequires:  python3-oslo-config >= 2.3.0
-BuildRequires:  python3-oslo-policy >= 0.5.0
+BuildRequires:  python3-oslo-config >= 3.10.0
+BuildRequires:  python3-oslo-policy >= 1.9.0
 BuildRequires:  python3-mock
 BuildRequires:  python3-mox3
 BuildRequires:  python3-testscenarios
 
-Requires:       python3-django
-BuildRequires:  python3-django
+Requires:       python3-django >= 1.8
+BuildRequires:  python3-django >= 1.8
 
-Requires:       python3-keystoneclient >= 1:1.6.0
+Requires:       python3-keystoneauth1 >= 2.7.0
+Requires:       python3-keystoneclient >= 1:1.7.0
 Requires:       python3-six >= 1.9.0
-Requires:       python3-oslo-config >= 2.3.0
-Requires:       python3-oslo-policy >= 0.5.0
-Requires:       python3-pbr >= 1.6
+Requires:       python3-oslo-config >= 3.10.0
+Requires:       python3-oslo-policy >= 1.9.0
+Requires:       python3-pbr >= 1.8
 
 %description -n python3-django-openstack-auth
 Django OpenStack Auth is a pluggable Django authentication backend that
@@ -180,6 +179,9 @@ export PYTHONPATH=$PYTHONPATH
 %endif
 
 %changelog
+* Fri Jun 24 2016 Ivan Udovichenko <iudovichenko@mirantis.com> - 2.3.0-1.el7~mos0
+- Fix (build-)dependencies.
+
 * Thu Nov 19 2015 Ivan Udovichenko <iudovichenko@mirantis.com> 2.0.1-1%{?dist}~mos8.0.1
 - SOURCE/*.patch: Remove all patches as changes are already in the source code.
 - Raise version up according to a new tag - 2.0.1
diff --git a/xenial/debian/CHANGELOG b/xenial/debian/CHANGELOG
new file mode 100644 (file)
index 0000000..3f8a917
--- /dev/null
@@ -0,0 +1,105 @@
+commit ef030ff77a435ef1d327ad8be595cb59b11b64f3
+Author: Gabriel Hurley <gabriel@strikeawe.com>
+Date:   Mon Aug 20 14:49:44 2012 -0700
+
+    Bumping version number for bugfix release with redirect fix.
+
+commit 8ac8c7e375014fe0be1e31f88851125cde9cbc37
+Merge: 0273b91 47ffb62
+Author: Gabriel Hurley <gabriel@strikeawe.com>
+Date:   Mon Aug 20 14:37:46 2012 -0700
+
+    Merge pull request #7 from vuntz/redirect-next
+    
+    Fix redirection in login form.
+
+commit 47ffb622b62d601d12dab5f86a10acd6bf70cabe
+Author: Vincent Untz <vuntz@suse.com>
+Date:   Mon Aug 20 16:25:50 2012 +0200
+
+    Fix redirection in logging form
+    
+    The redirection was being ignored because the template in horizon needs
+    the a value for redirect_field_name. We simply set it to the default.
+
+commit 0273b9186e6ef191ea4aefb585350863dadbf157
+Author: Gabriel Hurley <gabriel@strikeawe.com>
+Date:   Sun Jul 8 19:33:03 2012 -0700
+
+    Bumping version number for permission support release.
+
+commit 03fe09c5a5f72dbba9528cbb89daf4d2aea606aa
+Author: Gabriel Hurley <gabriel@strikeawe.com>
+Date:   Sun Jul 8 19:30:51 2012 -0700
+
+    Adds permissions support.
+    
+    Fixes #1.
+
+commit a1ff650761cb641164bcfa7419692a50b568a069
+Author: Gabriel Hurley <gabriel@strikeawe.com>
+Date:   Sun Jul 8 17:18:45 2012 -0700
+
+    Catch AuthorizationFailure.
+    
+    Fixes #5.
+
+commit a31c1dae93a1033702390b767250d7ec3534d847
+Author: Gabriel Hurley <gabriel@strikeawe.com>
+Date:   Sun Jul 8 16:25:22 2012 -0700
+
+    Adding manifest file.
+
+commit 0bc387b463753a76385e1c4a72db784789129c36
+Author: Gabriel Hurley <gabriel@strikeawe.com>
+Date:   Sun Jul 8 16:13:13 2012 -0700
+
+    Fixed typo in readme.
+
+commit 25c0ff6fe7637dda327ed8742b3ca4f816754fef
+Author: Gabriel Hurley <gabriel@strikeawe.com>
+Date:   Sun Jul 8 16:12:44 2012 -0700
+
+    Added docs to readme.
+
+commit 30dddae11243e40d7a4867a783b01d4922924594
+Author: Gabriel Hurley <gabriel@strikeawe.com>
+Date:   Sun Jul 8 16:03:33 2012 -0700
+
+    Adding a few translation files.
+    
+    Fixes issue #3.
+
+commit 998c96cfaefbf7e6271226688034883e23ce2ca3
+Author: Gabriel Hurley <gabriel@strikeawe.com>
+Date:   Sun Jul 8 15:39:38 2012 -0700
+
+    Adds docs.
+    
+    Fixes #2.
+
+commit 9d45964b02e98212025399e69395296f288bd546
+Author: Gabriel Hurley <gabriel@strikeawe.com>
+Date:   Sun Jul 8 14:55:31 2012 -0700
+
+    Check for expired tokens during authentication.
+    
+    Fixes issue #4.
+
+commit df30fe0887e5ce74120459ad3585f7658252be13
+Author: Gabriel Hurley <gabriel@strikeawe.com>
+Date:   Tue Jul 3 02:29:22 2012 -0700
+
+    Added note about unit tests.
+
+commit afc7a64ff425a71092a61bb7c7f9b229886c5d48
+Author: Gabriel Hurley <gabriel@strikeawe.com>
+Date:   Tue Jul 3 02:27:34 2012 -0700
+
+    Fixed README typo.
+
+commit 9962375e0c5209ff82b7d6b5fda92bfec8dc4e1c
+Author: Gabriel Hurley <gabriel@strikeawe.com>
+Date:   Tue Jul 3 02:25:01 2012 -0700
+
+    Initial commit.
diff --git a/xenial/debian/changelog b/xenial/debian/changelog
new file mode 100644 (file)
index 0000000..54e0403
--- /dev/null
@@ -0,0 +1,214 @@
+python-django-openstack-auth (2.3.0-1~u16.04+mos0) mos10.0; urgency=medium
+
+  * Source: http://newton-xenial.pkgs.mirantis.com/debian/pool/xenial-newton-backports/main/p/python-django-openstack-auth/python-django-openstack-auth_2.3.0-1~bpo16.04+1.dsc
+
+ -- Ivan Udovichenko <iudovichenko@mirantis.com>  Fri, 24 Jun 2016 13:41:02 +0300
+
+python-django-openstack-auth (2.3.0-1~bpo16.04+1) UNRELEASED; urgency=medium
+
+  * Rebuilt by bop.
+
+ -- Jenkins <jenkins@newton-xenial.pkgs.mirantis.com>  Tue, 14 Jun 2016 15:40:42 +0000
+
+python-django-openstack-auth (2.3.0-1) experimental; urgency=medium
+
+  [ Ondřej Nový ]
+  * Standards-Version is 3.9.8 now (no change)
+  * d/rules: Changed UPSTREAM_GIT protocol to https
+
+  [ Corey Bryant ]
+  * New upstream release.
+  * d/gbp.conf: Update branch for Newton.
+  * d/control: Align (Build-)Depends with upstream.
+
+  [ Thomas Goirand ]
+  * Add Corey Bryant <corey.bryant@canonical.com> to uploaders.
+
+ -- Thomas Goirand <zigo@debian.org>  Tue, 14 Jun 2016 15:37:45 +0000
+
+python-django-openstack-auth (2.2.1-1) unstable; urgency=medium
+
+  [ Ondřej Nový ]
+  * Fixed homepage (https).
+  * Fixed VCS URLs (https).
+
+  [ Thomas Goirand ]
+  * New upstream release.
+  * Uploading to unstable.
+  * Standards-Version: 3.9.7 (no change).
+  * Removed debian/patches/fix-request.REQUEST-non-existant.patch applied
+    upstream.
+  * Removed fix-check-of-redirections.patch also applied upstream.
+  * Removed Monkey-patch_to_avoid_breaking_Django_with_hash_user.id.patch as
+    a better solution was implemented.
+
+ -- Thomas Goirand <zigo@debian.org>  Wed, 06 Apr 2016 08:50:17 +0000
+
+python-django-openstack-auth (2.1.1-1) experimental; urgency=medium
+
+  [ Ivan Udovichenko ]
+  * New upstream release.
+  * d/control: Fixed (build-)depends for this release.
+
+  [ Thomas Goirand ]
+  * Fixed debian/copyright ordering.
+  * Re-applied Django 1.9 and REQUEST patches.
+
+ -- Thomas Goirand <zigo@debian.org>  Thu, 21 Jan 2016 07:45:26 +0000
+
+python-django-openstack-auth (2.0.1-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Thomas Goirand <zigo@debian.org>  Thu, 10 Dec 2015 00:48:05 +0100
+
+python-django-openstack-auth (2.0.0-3) unstable; urgency=medium
+
+  * Transition from python-openstack-auth to python-django-openstack-auth.
+  * Added Python 3 support.
+  * Fixed debian/copyright: the package really is under Apache-2.0 and not
+    a BSD license.
+
+ -- Thomas Goirand <zigo@debian.org>  Thu, 22 Oct 2015 17:45:52 +0200
+
+python-django-openstack-auth (2.0.0-2) unstable; urgency=medium
+
+  * Uploading to unstable.
+
+ -- Thomas Goirand <zigo@debian.org>  Fri, 16 Oct 2015 08:41:08 +0000
+
+python-django-openstack-auth (2.0.0-1) experimental; urgency=medium
+
+  * New upstream release.
+  * Fixed (build-)depends for this release.
+
+ -- Thomas Goirand <zigo@debian.org>  Fri, 25 Sep 2015 00:19:06 +0200
+
+python-django-openstack-auth (1.4.0-1) experimental; urgency=medium
+
+  * New upstream release.
+  * Fixed (build-)depends for this release.
+
+ -- Thomas Goirand <zigo@debian.org>  Thu, 10 Sep 2015 09:45:50 +0200
+
+python-django-openstack-auth (1.2.0-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Uploading to unstable.
+  * Removed all patches, now obsolete.
+
+ -- Thomas Goirand <zigo@debian.org>  Mon, 04 May 2015 21:55:49 +0200
+
+python-django-openstack-auth (1.1.7-3) unstable; urgency=medium
+
+  * Uploading to unstable.
+  * Fixed (build-)depends for Jessie.
+  * Standards-Version: 3.9.6 (no change).
+
+ -- Thomas Goirand <zigo@debian.org>  Wed, 29 Apr 2015 13:53:21 +0000
+
+python-django-openstack-auth (1.1.7-2) experimental; urgency=medium
+
+  * CVE-2014-8124: Horizon denial of service attack through login page. Applied
+    upstream patch (Closes: #772712).
+
+ -- Thomas Goirand <zigo@debian.org>  Wed, 10 Dec 2014 20:13:53 +0800
+
+python-django-openstack-auth (1.1.7-1) experimental; urgency=medium
+
+  * New upstream release.
+  * Updated (build-)depends for this release.
+  * Removes all Django 1.7 compat patches which have been applied upstream.
+
+ -- Thomas Goirand <zigo@debian.org>  Wed, 24 Sep 2014 09:43:30 +0800
+
+python-django-openstack-auth (1.1.6-3) unstable; urgency=medium
+
+  * Added Django 1.7 patches. Thanks to Raphael Hertzog for the bug report
+    and patches (Closes: #755646).
+
+ -- Thomas Goirand <zigo@debian.org>  Mon, 08 Sep 2014 17:57:15 +0000
+
+python-django-openstack-auth (1.1.6-2) unstable; urgency=medium
+
+  * Removed built for Python 3 that mistakenly slipped in.
+
+ -- Thomas Goirand <zigo@debian.org>  Fri, 01 Aug 2014 23:50:04 +0800
+
+python-django-openstack-auth (1.1.6-1) unstable; urgency=medium
+
+  * New upstream release.
+  * Updated (build-)depends for this release.
+  * Do not run usless dh targets.
+
+ -- Thomas Goirand <zigo@debian.org>  Fri, 01 Aug 2014 17:34:07 +0800
+
+python-django-openstack-auth (1.1.5-3) unstable; urgency=medium
+
+  * Applies suggestion from James Page (Closes: #748684):
+    - d/control: Drop python-hacking from BD's; its not used and checking
+      coding standards at package build time is way to late.
+    - d/control: Bumped Standards-Version, no changes.
+
+ -- Thomas Goirand <zigo@debian.org>  Thu, 22 May 2014 18:58:29 +0800
+
+python-django-openstack-auth (1.1.5-2) unstable; urgency=medium
+
+  * Uploading to unstable.
+
+ -- Thomas Goirand <zigo@debian.org>  Fri, 18 Apr 2014 07:32:30 +0000
+
+python-django-openstack-auth (1.1.5-1) experimental; urgency=low
+
+  * New upstream release.
+  * Reviewed (buid-)depends for this release.
+  * Removed now useless Django 1.6 patches (already applied upstream).
+
+ -- Thomas Goirand <zigo@debian.org>  Wed, 02 Apr 2014 18:40:28 +0800
+
+python-django-openstack-auth (1.1.3-2) unstable; urgency=medium
+
+  * Added upstream patch to support Django 1.6.
+  * Removed patch for lowering python-coverage requirement (since version
+    3.7 is now in Sid).
+  * Activated unit tests at build time.
+  * Added a patch to fix the from django.conf.urls.defaults import into what is
+    now working: from django.conf.urls import.
+  * VCS fields now canonical.
+
+ -- Thomas Goirand <zigo@debian.org>  Mon, 23 Dec 2013 17:59:28 +0800
+
+python-django-openstack-auth (1.1.3-1) unstable; urgency=low
+
+  * New upstream release.
+  * Updated (build-)dependency to follow upstream changes.
+  * Disabled unit test which is failing because of pep8 and hacking tests,
+    cleaned the debian/rules file.
+
+ -- Thomas Goirand <zigo@debian.org>  Sun, 06 Oct 2013 01:11:37 +0800
+
+python-django-openstack-auth (1.0.11-1) unstable; urgency=low
+
+  * Ran wrap-and-sort.
+  * New upstream release.
+  * Standards-Version: is now 3.9.4
+
+ -- Thomas Goirand <zigo@debian.org>  Thu, 27 Jun 2013 16:24:18 +0800
+
+python-django-openstack-auth (1.0.6+20130426+git+fcee315e16-1) unstable; urgency=low
+
+  * Uploading to unstable.
+
+ -- Thomas Goirand <zigo@debian.org>  Mon, 13 May 2013 15:25:43 +0800
+
+python-django-openstack-auth (1.0.6-1) experimental; urgency=low
+
+  * New upstream release.
+
+ -- Thomas Goirand <zigo@debian.org>  Wed, 10 Apr 2013 23:38:40 +0800
+
+python-django-openstack-auth (1.0.2-1) experimental; urgency=low
+
+  Initial release (Closes: #687932).
+
+ -- Thomas Goirand <zigo@debian.org>  Thu, 20 Dec 2012 09:56:57 +0000
diff --git a/xenial/debian/compat b/xenial/debian/compat
new file mode 100644 (file)
index 0000000..ec63514
--- /dev/null
@@ -0,0 +1 @@
+9
diff --git a/xenial/debian/control b/xenial/debian/control
new file mode 100644 (file)
index 0000000..ed9740f
--- /dev/null
@@ -0,0 +1,99 @@
+Source: python-django-openstack-auth
+Section: python
+Priority: optional
+Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
+Uploaders: Thomas Goirand <zigo@debian.org>,
+           Ivan Udovichenko <iudovichenko@mirantis.com>,
+           Corey Bryant <corey.bryant@canonical.com>,
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               openstack-pkg-tools,
+               python-all,
+               python-pbr (>= 1.8),
+               python-setuptools,
+               python-sphinx (>= 1.2.1),
+               python3-all,
+               python3-pbr (>= 1.8),
+               python3-setuptools,
+Build-Depends-Indep: python-babel (>= 2.3.4),
+                     python-coverage (>= 3.6),
+                     python-django (>= 1.8),
+                     python-hacking (>= 0.10.0),
+                     python-keystoneauth1 (>= 2.7.0),
+                     python-keystoneclient (>= 1:1.7.0),
+                     python-mock (>= 2.0),
+                     python-mox3 (>= 0.7.0),
+                     python-oslo.config (>= 1:3.10.0),
+                     python-oslo.policy (>= 1.9.0),
+                     python-oslosphinx (>= 2.5.0),
+                     python-six (>= 1.9.0),
+                     python-testscenarios (>= 0.4),
+                     python3-babel (>= 2.3.4),
+                     python3-django (>= 1.8),
+                     python3-keystoneauth1 (>= 2.7.0),
+                     python3-keystoneclient (>= 1:1.7.0),
+                     python3-mock (>= 2.0),
+                     python3-mox3 (>= 0.7.0),
+                     python3-oslo.config (>= 1:3.10.0),
+                     python3-oslo.policy (>= 1.9.0),
+                     python3-six (>= 1.9.0),
+                     python3-testscenarios (>= 0.4),
+Standards-Version: 3.9.8
+Vcs-Git: https://anonscm.debian.org/git/openstack/python-django-openstack-auth.git
+Vcs-Browser: https://anonscm.debian.org/cgit/openstack/python-django-openstack-auth.git/
+Homepage: https://pypi.python.org/pypi/django_openstack_auth
+
+Package: python-django-openstack-auth
+Architecture: all
+Depends: python-django (>= 1.8),
+         python-keystoneauth1 (>= 2.7.0),
+         python-keystoneclient (>= 1:1.7.0),
+         python-oslo.config (>= 1:3.10.0),
+         python-oslo.policy (>= 1.9.0),
+         python-pbr (>= 1.8),
+         python-six (>= 1.9.0),
+         ${misc:Depends},
+         ${python:Depends},
+Breaks: python-openstack-auth (<= 2.0.0-2),
+Replaces: python-openstack-auth (<= 2.0.0-2),
+Provides: python-openstack-auth,
+          ${python:Provides},
+Description: Django authentication backend for Openstack - Python 2.7
+ Django authentication backend for use with the OpenStack Keystone Identity
+ backend. This Python module is used by Horizon (the Openstack Dashport web
+ GUI) to auth against Keystone.
+ .
+ This package provides the Python 2.7 module.
+
+Package: python-openstack-auth
+Section: oldlibs
+Priority: extra
+Architecture: all
+Depends: python-django-openstack-auth,
+         ${misc:Depends},
+Description: Django authentication backend for Openstack - transition package
+ Django authentication backend for use with the OpenStack Keystone Identity
+ backend. This Python module is used by Horizon (the Openstack Dashport web
+ GUI) to auth against Keystone.
+ .
+ This is a transitional package to upgrade to python-django-openstack-auth,
+ and it is safe to remove.
+
+Package: python3-django-openstack-auth
+Architecture: all
+Depends: python3-django (>= 1.8),
+         python3-keystoneauth1 (>= 2.7.0),
+         python3-keystoneclient (>= 1:1.7.0),
+         python3-oslo.config (>= 1:3.10.0),
+         python3-oslo.policy (>= 1.9.0),
+         python3-pbr (>= 1.8),
+         python3-six (>= 1.9.0),
+         ${misc:Depends},
+         ${python3:Depends},
+Provides: ${python3:Provides},
+Description: Django authentication backend for Openstack - Python 3.x
+ Django authentication backend for use with the OpenStack Keystone Identity
+ backend. This Python module is used by Horizon (the Openstack Dashport web
+ GUI) to auth against Keystone.
+ .
+ This package provides the Python 3.x module.
diff --git a/xenial/debian/copyright b/xenial/debian/copyright
new file mode 100644 (file)
index 0000000..7e9a512
--- /dev/null
@@ -0,0 +1,29 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: python-django-openstack-auth
+Source: https://github.com/openstack/django_openstack_auth.git
+
+Files: *
+Copyright: 2012 Gabriel Hurley
+License: Apache-2.0
+
+Files: debian/*
+Copyright: (c) 2012, Canonical Ltd
+           (c) 2012-2016, Thomas Goirand <zigo@debian.org>
+           (c) 2016, Ivan Udovichenko <iudovichenko@mirantis.com>
+License: Apache-2.0
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+    http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian-based systems the full text of the Apache version 2.0 license
+ can be found in /usr/share/common-licenses/Apache-2.0.
diff --git a/xenial/debian/docs b/xenial/debian/docs
new file mode 100644 (file)
index 0000000..a1320b1
--- /dev/null
@@ -0,0 +1 @@
+README.rst
diff --git a/xenial/debian/gbp.conf b/xenial/debian/gbp.conf
new file mode 100644 (file)
index 0000000..8cb45b9
--- /dev/null
@@ -0,0 +1,8 @@
+[DEFAULT]
+upstream-branch = master
+debian-branch = debian/newton
+upstream-tag = %(version)s
+compression = xz
+
+[buildpackage]
+export-dir = ../build-area/
diff --git a/xenial/debian/rules b/xenial/debian/rules
new file mode 100755 (executable)
index 0000000..160f8e6
--- /dev/null
@@ -0,0 +1,44 @@
+#!/usr/bin/make -f
+
+PYTHONS:=$(shell pyversions -vr)
+PYTHON3S:=$(shell py3versions -vr)
+
+UPSTREAM_GIT := https://github.com/openstack/django_openstack_auth.git
+include /usr/share/openstack-pkg-tools/pkgos.make
+
+export OSLO_PACKAGE_VERSION=$(VERSION)
+
+%:
+       dh $@  --with python2,python3
+
+override_dh_auto_install:
+       set -e ; for pyvers in $(PYTHONS); do \
+               python$$pyvers setup.py install --install-layout=deb \
+                       --root $(CURDIR)/debian/python-django-openstack-auth; \
+       done
+       set -e ; for pyvers in $(PYTHON3S); do \
+               python$$pyvers setup.py install --install-layout=deb \
+                       --root $(CURDIR)/debian/python3-django-openstack-auth; \
+       done
+
+ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
+override_dh_auto_test:
+       set -e ; for pyversion in 2.7 ; do \
+               NOSE_WITH_OPENSTACK=1 \
+               NOSE_OPENSTACK_COLOR=1 \
+               NOSE_OPENSTACK_RED=0.05 \
+               NOSE_OPENSTACK_YELLOW=0.025 \
+               NOSE_OPENSTACK_SHOW_ELAPSED=1 \
+               PYTHONPATH=. python$$pyversion openstack_auth/tests/run_tests.py ; \
+       done
+endif
+
+# Commands not to run
+override_dh_installcatalogs:
+override_dh_installemacsen override_dh_installifupdown:
+override_dh_installinfo override_dh_installmenu override_dh_installmime:
+override_dh_installmodules override_dh_installlogcheck:
+override_dh_installpam override_dh_installppp override_dh_installudev override_dh_installwm:
+override_dh_installxfonts override_dh_gconf override_dh_icons override_dh_perl override_dh_usrlocal:
+override_dh_installcron override_dh_installdebconf:
+override_dh_installlogrotate override_dh_installgsettings:
diff --git a/xenial/debian/source/format b/xenial/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/xenial/debian/source/options b/xenial/debian/source/options
new file mode 100644 (file)
index 0000000..cb61fa5
--- /dev/null
@@ -0,0 +1 @@
+extend-diff-ignore = "^[^/]*[.]egg-info/"
diff --git a/xenial/debian/watch b/xenial/debian/watch
new file mode 100644 (file)
index 0000000..e43795e
--- /dev/null
@@ -0,0 +1,2 @@
+version=3
+https://github.com/gabrielhurley/django_openstack_auth/tags .*/(\d[\d\.]+)\.tar\.gz