[Python-modules-commits] [pygithub] 03/09: Import pygithub_1.35-1.dsc

Filip Pytloun fpytloun-guest at moszumanska.debian.org
Tue Jan 23 10:42:45 UTC 2018


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

fpytloun-guest pushed a commit to branch master
in repository pygithub.

commit f8a44b41c6a7c14e05b67e449b5dba7113dcc312
Author: Filip Pytloun <filip at pytloun.cz>
Date:   Tue Jan 23 11:39:24 2018 +0100

    Import pygithub_1.35-1.dsc
---
 debian/changelog                                 | 63 +++++++++++++++++++++
 debian/compat                                    |  1 +
 debian/control                                   | 44 +++++++++++++++
 debian/copyright                                 | 71 ++++++++++++++++++++++++
 debian/patches/do-not-install-test-modules.patch | 20 +++++++
 debian/patches/series                            |  1 +
 debian/python-github.README.Debian               |  1 +
 debian/python3-github.README.Debian              | 18 ++++++
 debian/rules                                     |  8 +++
 debian/source/format                             |  1 +
 debian/source/lintian-overrides                  |  1 +
 debian/source/options                            |  1 +
 debian/watch                                     |  2 +
 13 files changed, 232 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..bae6ab0
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,63 @@
+pygithub (1.35-1) unstable; urgency=medium
+
+  * New upstream release
+  * Update Maintainer field from debian/control to intent to adopt
+    the package (Closes: #851187)
+  * Update Standards-Version from  3.9.6 to 4.1.3 from debian control
+    according to the up-to-date standards
+  * Add new maintainer on copyright debian/* files field from
+    debian/copyright to stay up-to-date
+  * Remove override_dh_installchangelogs target from debian/rules due to
+    the new version (1.35) do not have README.rst file
+
+ -- Emmanuel Arias <emmanuelarias30 at gmail.com>  Mon, 15 Jan 2018 22:26:23 -0300
+
+pygithub (1.26.0-1) unstable; urgency=medium
+
+  * New upstream release
+  * Update watch file to use pypi.debian.net
+  * Disable tests, since they need network
+  * Disable installation of test modules and data
+  * Rename binary packages (python-pygithub -> python-github)
+    (Closes: #808467)
+  * Fix Vcs-* fields
+  * Drop invalid email from debian/copyright
+  * Add Provides field to simplify migration for rdeps
+  * Install README.rst as changelog. It actually contains changelog,
+    along with other things
+  * Remove *.pyremove files, obsoleted by tests-disabling patch
+
+ -- Dmitry Bogatov <KAction at gnu.org>  Mon, 28 Dec 2015 10:07:35 +0300
+
+pygithub (1.25.2-4) unstable; urgency=medium
+
+  * Replace patches with more simple one (Gianfranco Costamagna).
+    Fix bug, caused package to not work with python3. Closes: #790655
+
+ -- Dmitry Bogatov <KAction at gnu.org>  Sat, 08 Aug 2015 11:11:15 +0300
+
+pygithub (1.25.2-3) unstable; urgency=medium
+
+  * Upload to unstable.
+
+  [ Joao Eriberto Mota Filho ]
+  * Changed README.Debian name to install it in all binaries.
+
+ -- Dmitry Bogatov <KAction at gnu.org>  Fri, 01 May 2015 21:36:51 +0100
+
+pygithub (1.25.2-2) experimental; urgency=low
+
+  * Use pybuild over hand-written shell loop
+    (patch provided by Gianfranco Costamagna)
+
+  * Write patch to disable running tests, since they need network.
+
+  * Fix watchfile
+
+ -- Dmitry Bogatov <KAction at gnu.org>  Tue, 17 Feb 2015 11:36:21 +0100
+
+pygithub (1.25.2-1) experimental; urgency=low
+
+  * Initial release (Closes: #764709)
+
+ -- Dmitry Bogatov <KAction at gnu.org>  Fri, 10 Oct 2014 15:36:06 +0400
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..6661cfb
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,44 @@
+Source: pygithub
+Maintainer: Emmanuel Arias <emmanuelarias30 at gmail.com>
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               dh-exec,
+               python-all (>= 2.6.6),
+               python-setuptools (>= 0.6b3),
+               python3-all (>=3.2.3),
+               python3-setuptools (>= 0.6.24)
+Standards-Version: 4.1.3
+X-Python-Version: >= 2.7
+X-Python3-Version: >= 3.2
+Homepage: https://pypi.python.org/pypi/PyGithub
+Vcs-Browser: https://anonscm.debian.org/cgit/users/kaction-guest/pygithub.git
+Vcs-Git: git://anonscm.debian.org/users/kaction-guest/pygithub.git
+
+Package: python-github
+Conflicts: python-pygithub
+Replaces: python-pygithub
+Provides: python-pygithub
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Description: Access to full Github API v3 from Python2
+ This is a Python2 library to access the Github API v3.
+ With it, you can manage Github resources (repositories, user
+ profiles, organizations, etc.) from Python scripts.
+ .
+ It covers almost the full API and all methods are tested against the real
+ Github site.
+
+Package: python3-github
+Architecture: all
+Conflicts: python3-pygithub
+Replaces: python3-pygithub
+Depends: ${misc:Depends}, ${python3:Depends}
+Description: Access the full Github API v3 from Python3
+ This is a Python3 library to access the Github API v3.
+ With it, you can manage Github resources (repositories, user
+ profiles, organizations, etc.) from Python scripts.
+ .
+ It covers almost the full API and all methods are tested against the
+ real Github site.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..57e12dd
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,71 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pygithub
+Upstream-Contact: Vincent Jacques <vincent at vincent-jacques.net>
+Source: https://pypi.python.org/pypi/PyGithub
+
+Files: *
+Copyright: 2013 Vincent Jacques <vincent at vincent-jacques.net>
+License: LGPL-3+
+
+Files: debian/*
+Copyright: 2018 Emmanuel Arias <emmanuelarias30 at gmail.com>
+           2014-2015 Dmitry Bogatov <KAction at gnu.org>
+License: GPL-3+
+
+Files: github/*
+License: LGPL-3+
+Copyright: 2013 Adrian Petrescu <adrian.petrescu at maluuba.com>
+           2013 AKFish <akfish at gmail.com>
+           2012 Andrew Bettison <andrewb at zip.com.au>
+           2013 Bill Mill <bill.mill at gmail.com>
+           2012 Christopher Gilbert <christopher.john.gilbert at gmail.com>
+           2013 davidbrai <davidbrai at gmail.com>
+           2012 Dima Kukushkin <dima at kukushkin.me>
+           2013 Ed Jackson <ed.jackson at gmail.com>
+           2013 Jonathan J Hunt <hunt at braincorporation.com>
+           2013 Mark Roddy <markroddy at gmail.com>
+           2013 martinqt <m.ki2 at laposte.net>
+           2012-2013 Michael Stead <michael.stead at gmail.com>
+           2012 Michael Woodworth <mwoodworth at upverter.com>
+           2013 Peter Golm <golm.peter at gmail.com>
+           2012 Petteri Muilu
+           2012 Philip Kimmey <philip at rover.com>
+           2013 Srijan Choudhary <srijan4 at gmail.com>
+           2012 Steve English <steve.english at navetas.com>
+           2013 Stuart Glaser <stuglaser at gmail.com>
+           2012-2013 Vincent Jacques <vincent at vincent-jacques.net>
+           2012 Zearin <zearin at gonk.net>
+
+License: LGPL-3+
+ PyGithub is free software: you can redistribute it and/or modify it under
+ the terms of the GNU Lesser General Public License as published by the Free
+ Software Foundation, either version 3 of the License, or (at your option)
+ any later version.
+ .
+ PyGithub 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 Lesser General Public License for more
+ details.
+ .
+ You should have received a copy of the GNU Lesser General Public License
+ along with PyGithub. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian system, copy of GNU Lesser General Public License version 3
+ is also located at `/usr/share/common-licenses/LGPL-3'
+
+License: GPL-3+
+ 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; either version 3
+ of the License, or (at your option) any later version.
+ .
+ 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.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian system, copy of GNU Lesser General Public License version 3
+ is also located at `/usr/share/common-licenses/GPL-3'
diff --git a/debian/patches/do-not-install-test-modules.patch b/debian/patches/do-not-install-test-modules.patch
new file mode 100644
index 0000000..35acc75
--- /dev/null
+++ b/debian/patches/do-not-install-test-modules.patch
@@ -0,0 +1,20 @@
+Description: Disable installation of tests
+Author: Dmitry Bogatov <KAction at gnu.org>
+Forwarded: not-needed
+Last-Update: 2015-12-28
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/setup.py
++++ b/setup.py
+@@ -69,11 +69,7 @@
+             See http://pygithub.github.io/PyGithub/v1/index.html"""),
+         packages=[
+             "github",
+-            "github.tests",
+         ],
+-        package_data={
+-            "github": ["tests/ReplayData/*.txt"]
+-        },
+         classifiers=[
+             "Development Status :: 5 - Production/Stable",
+             "Environment :: Web Environment",
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7500df9
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+do-not-install-test-modules.patch
diff --git a/debian/python-github.README.Debian b/debian/python-github.README.Debian
new file mode 120000
index 0000000..528b3b8
--- /dev/null
+++ b/debian/python-github.README.Debian
@@ -0,0 +1 @@
+./python3-github.README.Debian
\ No newline at end of file
diff --git a/debian/python3-github.README.Debian b/debian/python3-github.README.Debian
new file mode 100644
index 0000000..8123437
--- /dev/null
+++ b/debian/python3-github.README.Debian
@@ -0,0 +1,18 @@
+ (Very short) Tutorial
+ =====================
+
+ First create a Github instance::
+
+     from github import Github
+
+     g = Github("user", "password")
+
+ Then play with your Github objects::
+
+     for repo in g.get_user().get_repos():
+         print repo.name
+         repo.edit(has_wiki=False)
+
+ You can also create a Github instance with an OAuth token::
+
+     g = Github(token)
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..86b8c35
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME = github
+# Tests expect network access to api.github.com
+export PYBUILD_DISABLE=test
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..39952a5
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1 @@
+pygithub: debian-watch-may-check-gpg-signature
\ No newline at end of file
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..d161d71
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore = "^PyGithub.egg-info/SOURCES.txt$"
\ No newline at end of file
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..49a609c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://pypi.debian.net/PyGithub/PyGithub-(.+)\.tar\.gz

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



More information about the Python-modules-commits mailing list