8000 Package github3 for Ubuntu · WheresWardy/github3.py@a5381a1 · GitHub
[go: up one dir, main page]

Skip to content

Commit a5381a1

Browse files
committed
Package github3 for Ubuntu
1 parent 676be73 commit a5381a1

File tree

7 files changed

+101
-0
lines changed

7 files changed

+101
-0
lines changed

debian/changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
github3.py (0.5.1-1) quantal; urgency=low
2+
3+
* Initial release
4+
5+
-- Dennis Kaarsemaker <dennis@kaarsemaker.net> Mon, 25 Feb 2013 21:35:50 +0100

debian/compat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
7

debian/control

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Source: github3.py
2+
Maintainer: Dennis Kaarsemaker <dennis@kaarsemaker.net>
3+
Section: python
4+
Priority: optional
5+
Build-Depends: debhelper, python-all, python-setuptools, python3-all, python-requests, python3-requests
6+
Standards-Version: 3.9.3
7+
X-Python-Version: >= 2.6
8+
X-Python3-Version: >= 3.0
9+
Homepage: http://github3py.readthedocs.org/
10+
11+
Package: python-github3.py
12+
Architecture: all
13+
Depends: ${misc:Depends}, ${python:Depends}
14+
Description: Comprehensive wrapper around the GitHub v3 API
15+
Comprehensive wrapper around the GitHub v3 API
16+
17+
Package: python3-github3.py
18+
Architecture: all
19+
Depends: ${misc:Depends}, ${python3:Depends}
20+
Description: Comprehensive wrapper around the GitHub v3 API
21+
Comprehensive wrapper around the GitHub v3 API
22+
.
23+
This package contains the Python 3 version of the library.

debian/copyright

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
Upstream-Name: github3.py
3+
Upstream-Contact: Ian Cordasco <graffatcolmingov@gmail.com>
4+
Source: http://pypi.python.org/pypi/github3.py
5+
6+
Files: debian/*
7+
Copyright: 2013, Dennis Kaarsemaker <dennis@kaarsemaker.net>
8+
License: BSD
9+
10+
Files: *
11+
Copyright: 2012-2013, Ian Cordasco <graffatcolmingov@gmail.com>
12+
License: BSD
13+
Redistribution and use in source and binary forms, with or without
14+
modification, are permitted provided that the following conditions are
15+
met:
16+
.
17+
1. Redistributions of source code must retain the above copyright
18+
notice, this list of conditions and the following disclaimer.
19+
2. Redistributions in binary form must reproduce the above copyright
20+
notice, this list of conditions and the following disclaimer in the
21+
documentation and/or other materials provided with the distribution.
22+
3. The name of the author may not be used to endorse or promote products
23+
derived from this software without specific prior written permission.
24+
.
25+
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
26+
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
27+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
28+
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
29+
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
30+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
31+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
33+
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
34+
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35+
POSSIBILITY OF SUCH DAMAGE.

debian/rules

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
#!/usr/bin/make -f
2+
3+
export PYTHONWARNINGS=d
4+
5+
PYVERS := $(shell pyversions -r)
6+
PY3VERS := $(shell py3versions -r)
7+
8+
%:
9+
dh $@ --with python2,python3 --buildsystem=python_distutils
10+
11+
override_dh_auto_build:
12+
set -ex; \
13+
for python in $(PYVERS) $(PY3VERS); do \
14+
$$python setup.py build; \
15+
done
16+
17+
override_dh_auto_clean:
18+
rm -rf build docs/_build
19+
rm -f .coverage
20+
rm -rf *.egg-info
21+
dh_auto_clean
22+
23+
override_dh_auto_install:
24+
set -ex; \
25+
for python in $(PYVERS); do \
26+
$$python setup.py install --skip-build --root debian/python-github3.py \
27+
--install-layout deb; \
28+
done
29+
30+
set -ex; \
31+
for python in $(PY3VERS); do \
32+
$$python setup.py install --skip-build --root debian/python3-github3.py \
33+
--install-layout deb; \
34+
done

debian/source/format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0 (quilt)

debian/watch

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
version=3
2+
http://pypi.python.org/packages/source/g/github3.py/github3.py-(.*)\.tar\.gz

0 commit comments

Comments
 (0)
0