Added initial debian folder.
This commit is contained in:
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
python-pygit2 (0.21.4-1) unstable; urgency=medium
|
||||||
|
|
||||||
|
* Initial release. (Closes: #XXXXXX)
|
||||||
|
|
||||||
|
-- Thomas Goirand <zigo@debian.org> Thu, 13 Nov 2014 22:19:17 +0800
|
||||||
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
9
|
||||||
51
debian/control
vendored
Normal file
51
debian/control
vendored
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
Source: python-pygit2
|
||||||
|
Section: python
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
|
||||||
|
Uploaders: Thomas Goirand <zigo@debian.org>
|
||||||
|
Build-Depends: debhelper (>= 9),
|
||||||
|
dh-python,
|
||||||
|
python-all (>= 2.6.6-3~),
|
||||||
|
python-setuptools,
|
||||||
|
python3-all,
|
||||||
|
python3-setuptools
|
||||||
|
Standards-Version: 3.9.6
|
||||||
|
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-pygit2.git
|
||||||
|
Vcs-Git: git://anonscm.debian.org/openstack/python-pygit2.git
|
||||||
|
Homepage: https://github.com/libgit2/pygit2
|
||||||
|
|
||||||
|
Package: python-pygit2
|
||||||
|
Architecture: any
|
||||||
|
Pre-Depends: dpkg (>= 1.15.6~)
|
||||||
|
Depends: ${misc:Depends}, ${python:Depends}
|
||||||
|
Suggests: python-pygit2-doc
|
||||||
|
Description: bindings for libgit2 - Python 2.x
|
||||||
|
The Pygit2 module provides a set of Python bindings to the libgit2 shared
|
||||||
|
library. libgit2 implements the core of Git. Pygit2 works with Python 2.7,
|
||||||
|
3.2, 3.3, 3.4 and pypy.
|
||||||
|
.
|
||||||
|
This package contains the Python 2.x module.
|
||||||
|
|
||||||
|
Package: python3-pygit2
|
||||||
|
Architecture: any
|
||||||
|
Pre-Depends: dpkg (>= 1.15.6~)
|
||||||
|
Depends: ${misc:Depends}, ${python3:Depends}
|
||||||
|
Suggests: python-pygit2-doc
|
||||||
|
Description: bindings for libgit2 - Python 3.x
|
||||||
|
The Pygit2 module provides a set of Python bindings to the libgit2 shared
|
||||||
|
library. libgit2 implements the core of Git. Pygit2 works with Python 2.7,
|
||||||
|
3.2, 3.3, 3.4 and pypy.
|
||||||
|
.
|
||||||
|
This package contains the Python 3.x module.
|
||||||
|
|
||||||
|
Package: python-pygit2-doc
|
||||||
|
Section: doc
|
||||||
|
Architecture: all
|
||||||
|
Pre-Depends: dpkg (>= 1.15.6~)
|
||||||
|
Depends: ${misc:Depends}, ${sphinxdoc:Depends}
|
||||||
|
Description: bindings for libgit2 - doc
|
||||||
|
The Pygit2 module provides a set of Python bindings to the libgit2 shared
|
||||||
|
library. libgit2 implements the core of Git. Pygit2 works with Python 2.7,
|
||||||
|
3.2, 3.3, 3.4 and pypy.
|
||||||
|
.
|
||||||
|
This package contains the documentation.
|
||||||
34
debian/copyright
vendored
Normal file
34
debian/copyright
vendored
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: pygit2
|
||||||
|
Source: https://github.com/libgit2/pygit2
|
||||||
|
|
||||||
|
Files: debian/*
|
||||||
|
Copyright: (c) 2014, Thomas Goirand <zigo@debian.org>
|
||||||
|
License: GPLv2-with-linking-exception
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
Copyright: (c) 2013-2014, J. David Ib<49><62>ez <jdavid.ibp@gmail.com>
|
||||||
|
License: GPLv2-with-linking-exception
|
||||||
|
|
||||||
|
License: GPLv2-with-linking-exception
|
||||||
|
This program is free software; you can redistribute it and/or modify it under
|
||||||
|
the terms of the GNU General Public License, version 2, as published by the
|
||||||
|
Free Software Foundation.
|
||||||
|
.
|
||||||
|
In addition to the permissions in the GNU General Public License, the authors
|
||||||
|
give you unlimited permission to link the compiled version of this file into
|
||||||
|
combinations with other programs, and to distribute those combinations without
|
||||||
|
any restriction coming from the use of this file. (The General Public License
|
||||||
|
restrictions do apply in other respects; for example, they cover modification
|
||||||
|
of the file, and distribution when not linked into a combined executable.)
|
||||||
|
.
|
||||||
|
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; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
|
.
|
||||||
|
On Debian-based systems the full text of the GPL v2 license can be found in
|
||||||
|
/usr/share/common-licenses/GPL-2.
|
||||||
9
debian/gbp.conf
vendored
Normal file
9
debian/gbp.conf
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
[DEFAULT]
|
||||||
|
upstream-branch = master
|
||||||
|
debian-branch = debian/unstable
|
||||||
|
upstream-tag = %(version)s
|
||||||
|
compression = xz
|
||||||
|
|
||||||
|
[git-buildpackage]
|
||||||
|
export-dir = ../build-area/
|
||||||
|
|
||||||
9
debian/python-pygit2-doc.doc-base
vendored
Normal file
9
debian/python-pygit2-doc.doc-base
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
Document: python-pygit2-doc
|
||||||
|
Title: pygit2 Documentation
|
||||||
|
Author: N/A
|
||||||
|
Abstract: Sphinx documentation for pygit2
|
||||||
|
Section: Programming/Python
|
||||||
|
|
||||||
|
Format: HTML
|
||||||
|
Index: /usr/share/doc/python-pygit2-doc/html/index.html
|
||||||
|
Files: /usr/share/doc/python-pygit2-doc/html/*
|
||||||
49
debian/rules
vendored
Executable file
49
debian/rules
vendored
Executable file
@@ -0,0 +1,49 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
PYTHONS:=$(shell pyversions -vr)
|
||||||
|
PYTHON3S:=$(shell py3versions -vr)
|
||||||
|
|
||||||
|
UPSTREAM_GIT = git://github.com/libgit2/pygit2.git
|
||||||
|
-include /usr/share/openstack-pkg-tools/pkgos.make
|
||||||
|
|
||||||
|
# export LDFLAGS="-Wl,-rpath='$LIBGIT2/lib',--enable-new-dtags $LDFLAGS"
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@ --buildsystem=python_distutils --with python2,python3,sphinxdoc
|
||||||
|
|
||||||
|
override_dh_install:
|
||||||
|
set -e ; for pyvers in $(PYTHONS); do \
|
||||||
|
python$$pyvers setup.py install --install-layout=deb \
|
||||||
|
--root $(CURDIR)/debian/python-pygit2; \
|
||||||
|
done
|
||||||
|
set -e ; for pyvers in $(PYTHON3S); do \
|
||||||
|
python$$pyvers setup.py install --install-layout=deb \
|
||||||
|
--root $(CURDIR)/debian/python3-pygit2; \
|
||||||
|
done
|
||||||
|
rm -rf $(CURDIR)/debian/python*-pygit2/usr/lib/python*/dist-packages/*.pth
|
||||||
|
|
||||||
|
override_dh_auto_test:
|
||||||
|
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
|
||||||
|
set -e ; for pyvers in $(PYTHONS) $(PYTHON3S); do \
|
||||||
|
python$$pyvers setup.py test ; \
|
||||||
|
done
|
||||||
|
endif
|
||||||
|
|
||||||
|
override_dh_clean:
|
||||||
|
dh_clean -O--buildsystem=python_distutils
|
||||||
|
rm -rf build
|
||||||
|
|
||||||
|
override_dh_sphinxdoc:
|
||||||
|
sphinx-build -b html docs debian/python-pygit2-doc/usr/share/doc/python-pygit2-doc/html
|
||||||
|
dh_sphinxdoc -O--buildsystem=python_distutils
|
||||||
|
|
||||||
|
# Commands not to run
|
||||||
|
override_dh_installcatalogs:
|
||||||
|
override_dh_installemacsen override_dh_installifupdown:
|
||||||
|
override_dh_installinfo override_dh_installmenu override_dh_installmime:
|
||||||
|
override_dh_installmodules override_dh_installlogcheck:
|
||||||
|
override_dh_installpam override_dh_installppp override_dh_installudev override_dh_installwm:
|
||||||
|
override_dh_installxfonts override_dh_gconf override_dh_icons override_dh_perl override_dh_usrlocal:
|
||||||
|
override_dh_installcron override_dh_installdebconf:
|
||||||
|
override_dh_installlogrotate override_dh_installgsettings:
|
||||||
|
|
||||||
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
3.0 (quilt)
|
||||||
1
debian/source/options
vendored
Normal file
1
debian/source/options
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
extend-diff-ignore = "^[^/]*[.]egg-info/"
|
||||||
3
debian/watch
vendored
Normal file
3
debian/watch
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version=3
|
||||||
|
http://pypi.python.org/packages/source/p/pygit2 pygit2-(.*).tar.gz
|
||||||
|
|
||||||
Reference in New Issue
Block a user