[Python-modules-commits] [python-tunigo] 04/05: Initial packaging

Stein Magnus Jodal jodal at moszumanska.debian.org
Mon Feb 15 20:11:42 UTC 2016


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

jodal pushed a commit to branch master
in repository python-tunigo.

commit aca917e573d35805604a1fa2902097fa28ba3ca6
Author: Stein Magnus Jodal <jodal at debian.org>
Date:   Mon Feb 15 20:53:35 2016 +0100

    Initial packaging
---
 debian/changelog               |  5 ++++
 debian/compat                  |  1 +
 debian/control                 | 59 ++++++++++++++++++++++++++++++++++++++++++
 debian/copyright               | 16 ++++++++++++
 debian/python-tunigo.docs      |  1 +
 debian/python-tunigo.examples  |  1 +
 debian/python3-tunigo.docs     |  1 +
 debian/python3-tunigo.examples |  1 +
 debian/rules                   | 11 ++++++++
 debian/watch                   |  3 +++
 10 files changed, 99 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..0d87d62
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-tunigo (1.0.0-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #814820)
+
+ -- Stein Magnus Jodal <jodal at debian.org>  Mon, 15 Feb 2016 20:45:55 +0100
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..e1755a6
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,59 @@
+Source: python-tunigo
+Section: python
+Priority: optional
+Maintainer: Stein Magnus Jodal <stein.magnus at jodal.no>
+Build-Depends: debhelper (>= 9.0.0),
+               dh-python,
+               python-all,
+               python-mock,
+               python-pytest,
+               python-requests,
+               python-responses,
+               python-setuptools,
+               python3-all,
+               python3-mock,
+               python3-pytest,
+               python3-requests,
+               python3-responses,
+               python3-setuptools,
+Standards-Version: 3.9.7
+Homepage: https://github.com/trygveaa/python-tunigo
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-tunigo.git
+Vcs-Browser: https://anonscm.debian.org/git/python-modules/packages/python-tunigo.git
+X-Python-Version: >= 2.7
+
+Package: python-tunigo
+Architecture: all
+Depends: ${misc:Depends},
+         ${python:Depends},
+Description: Python API for the browse feature of Spotify (Python 2)
+ This package allows for simple access to Tunigo's API. This is an API for
+ fetching featured playlists and new releases for Spotify. It supports featured
+ playlists, top playlists, new album releases and playlists for a range of
+ different genres.
+ .
+ Tunigo's API is what the official Spotify client uses to provide its
+ browse feature.
+ .
+ Note that the API is not documented or officially released, so it may change
+ at any time.
+ .
+ This is the Python 2 version of the package.
+
+Package: python3-tunigo
+Architecture: all
+Depends: ${misc:Depends},
+         ${python3:Depends},
+Description: Python API for the browse feature of Spotify (Python 3)
+ This package allows for simple access to Tunigo's API. This is an API for
+ fetching featured playlists and new releases for Spotify. It supports featured
+ playlists, top playlists, new album releases and playlists for a range of
+ different genres.
+ .
+ Tunigo's API is what the official Spotify client uses to provide its
+ browse feature.
+ .
+ Note that the API is not documented or officially released, so it may change
+ at any time.
+ .
+ This is the Python 3 version of the package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0348dc1
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,16 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: python-tunigo
+Upstream-Contact: Trygve Aaberge <trygveaa at gmail.com>
+Source: https://github.com/trygveaa/python-tunigo
+
+Files: *
+Copyright: 2014-2016 Trygve Aaberge and contributors
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2014-2016 Stein Magnus Jodal <jodal at debian.org>
+License: Apache-2.0
+
+License: Apache-2.0
+ On Debian systems the full text of the Apache License (Version 2) can be found
+ in the `/usr/share/common-licenses/Apache-2.0' file.
diff --git a/debian/python-tunigo.docs b/debian/python-tunigo.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python-tunigo.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/python-tunigo.examples b/debian/python-tunigo.examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/python-tunigo.examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/python3-tunigo.docs b/debian/python3-tunigo.docs
new file mode 100644
index 0000000..a1320b1
--- /dev/null
+++ b/debian/python3-tunigo.docs
@@ -0,0 +1 @@
+README.rst
diff --git a/debian/python3-tunigo.examples b/debian/python3-tunigo.examples
new file mode 100644
index 0000000..e39721e
--- /dev/null
+++ b/debian/python3-tunigo.examples
@@ -0,0 +1 @@
+examples/*
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..726a278
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export PYBUILD_NAME=tunigo
+export PYBUILD_TEST_PYTEST=1
+export PYBUILD_TEST_ARGS={dir}/tests/
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..b48b6ed
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/tunigo/tunigo-(.+)\.(?: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/python-tunigo.git



More information about the Python-modules-commits mailing list