[Python-modules-commits] [django-paintstore] 03/03: Initial import of Debian packaging files

Jonas Meurer mejo at moszumanska.debian.org
Thu Sep 14 14:31:19 UTC 2017


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

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

commit ef83bfb67bbd27249705c72d9810c0e8a021ed3d
Author: Jonas Meurer <jonas at freesources.org>
Date:   Thu Sep 14 16:27:57 2017 +0200

    Initial import of Debian packaging files
---
 debian/changelog |  5 +++++
 debian/compat    |  1 +
 debian/control   | 31 +++++++++++++++++++++++++++++++
 debian/copyright | 43 +++++++++++++++++++++++++++++++++++++++++++
 debian/rules     | 25 +++++++++++++++++++++++++
 debian/watch     |  3 +++
 6 files changed, 108 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..799a628
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+django-paintstore (0.2-1) unstable; urgency=medium
+
+  * Initial release.
+
+ -- Jonas Meurer <mejo at debian.org>  Thu, 14 Sep 2017 15:57:06 +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..323a280
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,31 @@
+Source: django-paintstore
+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,
+               python3-all
+Standards-Version: 4.1.0
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/django-paintstore.git
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/django-paintstore.git
+Homepage: https://github.com/gsiegman/django-paintstore
+X-Python-Version: >=2.7
+X-Python3-Version: >=3.4
+
+Package: python-django-paintstore
+Architecture: all
+Depends: libjs-jquery-colorpicker,
+         ${misc:Depends},
+         ${python:Depends}
+Description: Integrates jQuery ColorPicker in Django admin
+  This Django app integrates the jQuery ColorPicker in the Django admin.
+
+Package: python3-django-paintstore
+Architecture: all
+Depends: libjs-jquery-colorpicker,
+         ${misc:Depends},
+         ${python3:Depends}
+Description: Integrates jQuery ColorPicker in Django admin
+  This Django app integrates the jQuery ColorPicker in the Django admin.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..ff8d3fe
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,43 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: https://github.com/gsiegman/django-paintstore
+Author: Glenn Siegman <gsiegman at gsiegman.com>
+
+Files: *
+Copyright: © 2012 Glenn Siegman <gsiegman at gsiegman.com>
+License: MIT
+
+Files: debian/*
+Copyright: © Jonas Meurer <mejo at debian.org>
+Licence: 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/rules b/debian/rules
new file mode 100644
index 0000000..ad4e888
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,25 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=django-paintstore
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_install:
+	dh_install
+	# Don't embed jQuery
+	find debian/python-django-paintstore -name 'jquery-1.7.2.js' -type f -exec \
+		ln -sf /usr/share/javascript/jquery/jquery.js {} \;
+	find debian/python-django-paintstore -name 'colorpicker.js' -type f -exec \
+		ln -sf /usr/share/javascript/libjs-jquery-colorpicker/jquery.colorpicker.js {} \;
+	find debian/python3-django-paintstore -name 'jquery-1.7.2.js' -type f -exec \
+		ln -sf /usr/share/javascript/jquery/jquery.js {} \;
+	find debian/python3-django-paintstore -name 'colorpicker.js' -type f -exec \
+		ln -sf /usr/share/javascript/libjs-jquery-colorpicker/jquery.colorpicker.js {} \;
+
+get-orig-source:
+	uscan --verbose --rename
+
+override_dh_auto_test:
+	PYTHONPATH=. \
+	dh_auto_test -- --system=custom --test-args="{interpreter} -m pytest --ds=tests.testapp.settings --cov=django_extensions django_extensions"
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..30cd220
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=uversionmangle=s/(rc|a|b|c)/~$1/,pgpsigurlmangle=s/$/.asc/ \
+https://pypi.debian.net/django-paintstore/django-paintstore-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the Python-modules-commits mailing list