[Python-modules-commits] [django-allauth] 03/03: Add debian packaging files

Jonas Meurer mejo at moszumanska.debian.org
Fri Sep 15 11:59:29 UTC 2017


This is an automated email from the git hooks/post-receive script.

mejo pushed a commit to branch master
in repository django-allauth.

commit 41377d88068d7e094589fcbaf231cd33b5130782
Author: Jonas Meurer <jonas at freesources.org>
Date:   Fri Sep 15 11:37:57 2017 +0200

    Add debian packaging files
---
 debian/changelog                                   |   8 ++
 debian/compat                                      |   1 +
 debian/control                                     | 131 +++++++++++++++++++++
 debian/copyright                                   |  46 ++++++++
 debian/python-django-allauth-doc.doc-base          |   8 ++
 debian/python-django-allauth-doc.docs              |   1 +
 debian/python-django-allauth-doc.links             |   1 +
 debian/python-django-allauth-doc.lintian-overrides |   2 +
 debian/python-django-allauth.lintian-overrides     |   1 +
 debian/python3-django-allauth.lintian-overrides    |   1 +
 debian/rules                                       |  24 ++++
 debian/tests/control                               |   5 +
 debian/watch                                       |   3 +
 13 files changed, 232 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d471603
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,8 @@
+django-allauth (0.33.0-1) unstable; urgency=medium
+
+  * Initial release. (closes: #875857)
+  * Add lintian-overrides for privacy-breach-facebook errors. The package
+    includes a connector to the facebook social authentication, which
+    (unfortunately) talks to Facebooks servers on purpose.
+
+ -- Jonas Meurer <mejo at debian.org>  Fri, 15 Sep 2017 12:23:12 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..652c4d0
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,131 @@
+Source: django-allauth
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Jonas Meurer <mejo at debian.org>
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python-all,
+               python-django,
+               python-mock,
+               python-requests,
+               python-setuptools,
+               python3-all,
+               python3-django,
+               python3-requests,
+               python3-setuptools,
+               python3-sphinx
+Standards-Version: 4.1.0
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/django-allauth.git
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/django-allauth.git
+Homepage: https://github.com/pennersr/django-allauth
+Tests: autopkgtest-pkg-python
+X-Python-Version: >=2.7
+X-Python3-Version: >=3.4
+
+Package: python-django-allauth
+Architecture: all
+Depends: python-django,
+         python-openid,
+         python-requests,
+         python-requests-oauthlib,
+         ${misc:Depends},
+         ${python:Depends}
+Suggests: python-django-allauth-doc
+Description: Django app for local and social authentication (Python 2 version)
+ Integrated set of Django applications addressing authentication,
+ registration, account management as well as 3rd party (social)
+ account authentication with the following supported providers:
+ .
+  * Amazon (OAuth2)
+  * AngelList (OAuth2)
+  * Bitly (OAuth2)
+  * Dropbox (OAuth)
+  * Facebook (both OAuth2 and JS SDK)
+  * Feedly (OAuth2)
+  * Github (OAuth2)
+  * Google (OAuth2)
+  * Instagram (OAuth2)
+  * LinkedIn (OAuth, OAuth2)
+  * OpenId
+  * Paypal (OAuth2)
+  * Persona
+  * SoundCloud (OAuth2)
+  * Stack Exchange (OAuth2)
+  * Twitch (OAuth2)
+  * Twitter (OAuth)
+  * Vimeo (OAuth)
+  * VK (OAuth2)
+  * Weibo (OAuth2)
+ .
+ This package contains the Python 2 version of the library.
+
+Package: python3-django-allauth
+Architecture: all
+Depends: python3-django,
+         python3-openid,
+         python3-requests,
+         python-requests-oauthlib,
+         ${misc:Depends},
+         ${python3:Depends}
+Suggests: python-django-allauth-doc
+Description: Django app for local and social authentication (Python 3 version)
+ Integrated set of Django applications addressing authentication,
+ registration, account management as well as 3rd party (social)
+ account authentication with the following supported providers:
+ .
+  * Amazon (OAuth2)
+  * AngelList (OAuth2)
+  * Bitly (OAuth2)
+  * Dropbox (OAuth)
+  * Facebook (both OAuth2 and JS SDK)
+  * Feedly (OAuth2)
+  * Github (OAuth2)
+  * Google (OAuth2)
+  * Instagram (OAuth2)
+  * LinkedIn (OAuth, OAuth2)
+  * OpenId
+  * Paypal (OAuth2)
+  * Persona
+  * SoundCloud (OAuth2)
+  * Stack Exchange (OAuth2)
+  * Twitch (OAuth2)
+  * Twitter (OAuth)
+  * Vimeo (OAuth)
+  * VK (OAuth2)
+  * Weibo (OAuth2)
+ .
+ This package contains the Python 3 version of the library.
+
+Package: python-django-allauth-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends},
+         ${shpinxdoc:Depends}
+Description: Django app for local and social authentication (Documentation)
+ Integrated set of Django applications addressing authentication,
+ registration, account management as well as 3rd party (social)
+ account authentication with the following supported providers:
+ .
+  * Amazon (OAuth2)
+  * AngelList (OAuth2)
+  * Bitly (OAuth2)
+  * Dropbox (OAuth)
+  * Facebook (both OAuth2 and JS SDK)
+  * Feedly (OAuth2)
+  * Github (OAuth2)
+  * Google (OAuth2)
+  * Instagram (OAuth2)
+  * LinkedIn (OAuth, OAuth2)
+  * OpenId
+  * Paypal (OAuth2)
+  * Persona
+  * SoundCloud (OAuth2)
+  * Stack Exchange (OAuth2)
+  * Twitch (OAuth2)
+  * Twitter (OAuth)
+  * Vimeo (OAuth)
+  * VK (OAuth2)
+  * Weibo (OAuth2)
+ .
+ This package contains the documentation.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a69a16b
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,46 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: https://github.com/pennersr/django-allauth
+Author: Raymond Penners <raymond.penners at intenct.nl>
+
+Files: *
+Copyright: © 2010-2017 Raymond Penners and contributors
+License: MIT
+
+Files: debian/*
+Copyright: © Jonas Meurer <mejo at debian.org>
+License: GPL-2
+
+License: MIT
+ Permission is hereby granted, free of charge, to any person
+ obtaining a copy of this software and associated documentation
+ files (the "Software"), to deal in the Software without
+ restriction, including without limitation the rights to use,
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following
+ conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ OTHER DEALINGS IN THE SOFTWARE.
+
+License: GPL-2
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, version 2.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ can be found in the /usr/share/common-licenses/GPL-2 file.
diff --git a/debian/python-django-allauth-doc.doc-base b/debian/python-django-allauth-doc.doc-base
new file mode 100644
index 0000000..fc9c06e
--- /dev/null
+++ b/debian/python-django-allauth-doc.doc-base
@@ -0,0 +1,8 @@
+Document: python-django-allauth-doc
+Title: Django Allauth Documentation
+Author: Raymond Penners and contributors
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-django-allauth-doc/html/index.html
+Files: /usr/share/doc/python-django-allauth-doc/html/*.html
diff --git a/debian/python-django-allauth-doc.docs b/debian/python-django-allauth-doc.docs
new file mode 100644
index 0000000..2981a3c
--- /dev/null
+++ b/debian/python-django-allauth-doc.docs
@@ -0,0 +1 @@
+docs/.build/html
diff --git a/debian/python-django-allauth-doc.links b/debian/python-django-allauth-doc.links
new file mode 100644
index 0000000..3b2edcf
--- /dev/null
+++ b/debian/python-django-allauth-doc.links
@@ -0,0 +1 @@
+usr/share/doc/python-django-allauth-doc/html/_sources usr/share/doc/python-django-allauth-doc/rst
diff --git a/debian/python-django-allauth-doc.lintian-overrides b/debian/python-django-allauth-doc.lintian-overrides
new file mode 100644
index 0000000..50c97ca
--- /dev/null
+++ b/debian/python-django-allauth-doc.lintian-overrides
@@ -0,0 +1,2 @@
+python-django-allauth-doc: privacy-breach-facebook usr/share/doc/python-django-allauth-doc/html/providers.html
+python-django-allauth-doc: privacy-breach-facebook usr/share/doc/python-django-allauth-doc/html/release-notes.html
diff --git a/debian/python-django-allauth.lintian-overrides b/debian/python-django-allauth.lintian-overrides
new file mode 100644
index 0000000..7b107f9
--- /dev/null
+++ b/debian/python-django-allauth.lintian-overrides
@@ -0,0 +1 @@
+python-django-allauth: privacy-breach-facebook usr/lib/python2.7/dist-packages/allauth/socialaccount/providers/facebook/static/facebook/js/fbconnect.js
diff --git a/debian/python3-django-allauth.lintian-overrides b/debian/python3-django-allauth.lintian-overrides
new file mode 100644
index 0000000..3f54892
--- /dev/null
+++ b/debian/python3-django-allauth.lintian-overrides
@@ -0,0 +1 @@
+python3-django-allauth: privacy-breach-facebook usr/lib/python3/dist-packages/allauth/socialaccount/providers/facebook/static/facebook/js/fbconnect.js
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..7c7e158
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=django-allauth
+
+%:
+	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
+
+#override_dh_install:
+#	dh_install
+
+override_dh_auto_build:
+	PYTHONPATH=. sphinx-build -b html -d docs/.build/.doctrees -N docs docs/.build/html
+	dh_auto_build
+
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	set -e; \
+	for python in $(shell pyversions -r) $(shell py3versions -r); do \
+		PYTHONPATH="." DJANGO_SETTINGS_MODULE=test_settings $$python $(shell which django-admin) test allauth.tests;\
+	done
+endif
+
+get-orig-source:
+	uscan --verbose --rename
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 0000000..1c9f6a9
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,5 @@
+Test-Command: set -e; for py in $(pyversions -r 2>/dev/null); do cd "$ADTTMP"; echo "Testing with $py:"; $py -c "import allauth; print(allauth)"; done
+Depends: python-all, python-django-allauth
+
+Test-Command: set -e; for py in $(py3versions -r 2>/dev/null); do cd "$ADTTMP"; echo "Testing with $py:"; $py -c "import allauth; print(allauth)"; done
+Depends: python3-all, python3-django-allauth
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..3891c1a
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+https://github.com/pennersr/django-allauth/releases \
+.*[^n]/(?:|v|version-|r|REL_|rel-|(?:django-allauth)(?:_|-))(\d[^\s/]*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/django-allauth.git



More information about the Python-modules-commits mailing list