[Python-modules-commits] [drf-extensions] 05/05: Initial release (Closes: #798920).

Michael Fladischer fladi at moszumanska.debian.org
Wed Mar 1 14:22:38 UTC 2017


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

fladi pushed a commit to branch master
in repository drf-extensions.

commit 781544ae7c301fbc250b81a1958f85dc23c0bb48
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Wed Mar 1 15:13:32 2017 +0100

    Initial release (Closes: #798920).
---
 debian/changelog                                   |  5 ++
 debian/clean                                       |  7 +++
 debian/compat                                      |  1 +
 debian/control                                     | 39 ++++++++++++++++
 debian/copyright                                   | 54 ++++++++++++++++++++++
 ...python3-djangorestframework-extensions.doc-base |  8 ++++
 debian/python3-djangorestframework-extensions.docs |  2 +
 debian/rules                                       | 24 ++++++++++
 debian/watch                                       |  5 ++
 9 files changed, 145 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..462ee35
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+drf-extensions (0.3.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #798920).
+
+ -- Michael Fladischer <fladi at debian.org>  Wed, 01 Mar 2017 14:20:36 +0100
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..86d99d2
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,7 @@
+docs/index.html
+drf_extensions.egg-info/PKG-INFO
+drf_extensions.egg-info/SOURCES.txt
+drf_extensions.egg-info/dependency_links.txt
+drf_extensions.egg-info/requires.txt
+drf_extensions.egg-info/top_level.txt
+CHANGELOG
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..7086b60
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,39 @@
+Source: drf-extensions
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Michael Fladischer <fladi at debian.org>,
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python3-all,
+               python3-django-filters,
+               python3-django-guardian,
+               python3-django-nose,
+               python3-djangorestframework,
+               python3-mock,
+               python3-nose,
+               python3-setuptools
+Standards-Version: 3.9.8
+X-Python3-Version: >= 3.4
+Homepage: https://github.com/chibisov/drf-extensions
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/drf-extensions.git
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/drf-extensions.git
+
+Package: python3-djangorestframework-extensions
+Architecture: all
+Depends: python3-djangorestframework,
+         ${misc:Depends},
+         ${python3:Depends}
+Description: custom extensions for Django REST framework (Python3 version)
+ a collection of custom extensions for Django REST Framework. It provides
+ several mixins and extensions to code mechanics of Django REST framework.
+ .
+ Some of the features included:
+  * DetailSerializerMixin
+  * Caching
+  * Conditional requests
+  * Customizable key construction for caching and conditional requests
+  * Nested routes
+  * Bulk operations
+ .
+ This package contains the Python 3 version of the library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..9f5c96e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,54 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: drf-extensions
+Upstream-Contact: Gennady Chibisov <web-chib at ya.ru>
+Source: https://github.com/chibisov/drf-extensions
+
+Files: *
+Copyright: 2015, Gennady Chibisov <web-chib at ya.ru>
+License: Expat
+
+Files: docs/backdoc.py
+Copyright: 2012, Trent Mick.
+           2007-2008, ActiveState Corp.
+           2010-2017, Thomas Fuchs
+           2013, Twitter, Inc
+License: Expat and Apache
+
+Files: debian/*
+Copyright: 2017, Fladischer Michael <fladi at debian.org>
+License: Expat
+
+License: Expat
+ 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: Apache
+ 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 GNU/Linux systems the full text of the Apache License 2.0 can be
+ found in the /usr/share/common-licenses/Apache-2.0 file.
diff --git a/debian/python3-djangorestframework-extensions.doc-base b/debian/python3-djangorestframework-extensions.doc-base
new file mode 100644
index 0000000..2ef293f
--- /dev/null
+++ b/debian/python3-djangorestframework-extensions.doc-base
@@ -0,0 +1,8 @@
+Document: python3-djangorestframework-extensions
+Title: djangorestframework-extensions Documentation
+Author:Gennady Chibisov <web-chib at ya.ru>
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python3-djangorestframework-extensions/index.html
+Files: /usr/share/doc/python3-djangorestframework-extensions/*.html
diff --git a/debian/python3-djangorestframework-extensions.docs b/debian/python3-djangorestframework-extensions.docs
new file mode 100644
index 0000000..408f239
--- /dev/null
+++ b/debian/python3-djangorestframework-extensions.docs
@@ -0,0 +1,2 @@
+README.md
+docs/index.html
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..8194d2b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export PYBUILD_NAME=djangorestframework-extensions
+
+%:
+	dh $@ --with python3 --buildsystem=pybuild
+
+override_dh_auto_build:
+	dh_auto_build
+	PYTHONIOENCODING=UTF-8 python3 docs/backdoc.py --source docs/index.md --title "Django Rest Framework extensions documentation" > docs/index.html
+
+override_dh_auto_test:
+	dh_auto_test -- --system=custom --test-args="PYTHONPATH='.:tests_app' {interpreter} /usr/bin/django-admin test --settings=settings tests_app"
+
+override_dh_clean:
+	rm -rf docs/.build
+	dh_clean
+
+override_dh_installchangelogs:
+	awk '/^### Release notes$$/,0' < docs/index.md >CHANGELOG
+	dh_installchangelogs -- CHANGELOG
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..ccd4bfc
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+version=3
+opts=filenamemangle=s/.+\/([\d\.]+)\.tar\.gz/drf-extensions-$1.tar.gz/ \
+https://github.com/chibisov/drf-extensions/releases \
+/chibisov/drf-extensions/archive/([\d\.]+)\.tar\.gz
+

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



More information about the Python-modules-commits mailing list