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-pyeclib (0.9.2-1) unstable; urgency=low
|
||||
|
||||
* Initial release. (Closes: #XXXXXX)
|
||||
|
||||
-- Thomas Goirand <zigo@debian.org> Sat, 24 May 2014 17:21:07 +0800
|
||||
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@@ -0,0 +1 @@
|
||||
9
|
||||
56
debian/control
vendored
Normal file
56
debian/control
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
Source: python-pyeclib
|
||||
Section: python
|
||||
Priority: optional
|
||||
Maintainer: PKG OpenStack <openstack-devel@lists.alioth.debian.org>
|
||||
Uploaders: Julien Danjou <acid@debian.org>,
|
||||
Thomas Goirand <zigo@debian.org>,
|
||||
Mehdi Abaakouk <sileht@sileht.net>,
|
||||
Gonéri Le Bouder <goneri@debian.org>
|
||||
Build-Depends: debhelper (>= 9),
|
||||
python-all (>= 2.6.6-3~),
|
||||
python-setuptools,
|
||||
python3-all,
|
||||
python3-setuptools,
|
||||
libgf-complete-dev
|
||||
Standards-Version: 3.9.5
|
||||
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/python-pyeclib.git
|
||||
Vcs-Git: git://anonscm.debian.org/openstack/python-pyeclib.git
|
||||
Homepage: https://bitbucket.org/kmgreen2/pyeclib
|
||||
|
||||
Package: python-pyeclib
|
||||
Architecture: any
|
||||
Pre-Depends: dpkg (>= 1.15.6~)
|
||||
Depends: ${misc:Depends}, ${python:Depends}
|
||||
Description: interface for implementing erasure codes - Python 2.x
|
||||
This library provides a simple Python interface for implementing erasure
|
||||
codes. To obtain the best possible performance, the underlying erasure code
|
||||
algorithms are written in C.
|
||||
.
|
||||
This library makes use of Jerasure for Reed-Solomon and provides its own flat
|
||||
XOR-based erasure code encoder and decoder. Currently, it implements a
|
||||
specific class of HD Combination Codes (see "Flat XOR-based erasure codes in
|
||||
storage systems: Constructions, efficient recovery, and tradeoffs" in IEEE
|
||||
MSST 2010). These codes are well-suited to archival use-cases, have a simple
|
||||
construction and require a minimum number of participating disks during
|
||||
single-disk reconstruction (think XOR-based LRC code).
|
||||
.
|
||||
This package contains the Python 2.x module.
|
||||
|
||||
Package: python3-pyeclib
|
||||
Architecture: any
|
||||
Pre-Depends: dpkg (>= 1.15.6~)
|
||||
Depends: ${misc:Depends}, ${python3:Depends}
|
||||
Description: interface for implementing erasure codes - Python 3.x
|
||||
This library provides a simple Python interface for implementing erasure
|
||||
codes. To obtain the best possible performance, the underlying erasure code
|
||||
algorithms are written in C.
|
||||
.
|
||||
This library makes use of Jerasure for Reed-Solomon and provides its own flat
|
||||
XOR-based erasure code encoder and decoder. Currently, it implements a
|
||||
specific class of HD Combination Codes (see "Flat XOR-based erasure codes in
|
||||
storage systems: Constructions, efficient recovery, and tradeoffs" in IEEE
|
||||
MSST 2010). These codes are well-suited to archival use-cases, have a simple
|
||||
construction and require a minimum number of participating disks during
|
||||
single-disk reconstruction (think XOR-based LRC code).
|
||||
.
|
||||
This package contains the Python 3.x module.
|
||||
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: PyECLib
|
||||
Source: https://bitbucket.org/kmgreen2/pyeclib
|
||||
|
||||
Files: debian/*
|
||||
Copyright: (c) 2014, Thomas Goirand <zigo@debian.org>
|
||||
License: BSD-2-clause
|
||||
|
||||
Files: *
|
||||
Copyright: (c) 2013, Kevin Greenan <kmgreen2@gmail.com>
|
||||
(c) 2013, Tushar Gohad
|
||||
License: BSD-2-clause
|
||||
|
||||
License: BSD-2-clause
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
.
|
||||
Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
.
|
||||
Redistributions in binary form must reproduce the above copyright notice, this
|
||||
list of conditions and the following disclaimer in the documentation and/or
|
||||
other materials provided with the distribution.
|
||||
.
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
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/
|
||||
|
||||
38
debian/rules
vendored
Executable file
38
debian/rules
vendored
Executable file
@@ -0,0 +1,38 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
PYTHONS:=$(shell pyversions -vr)
|
||||
PYTHON3S:=$(shell py3versions -vr)
|
||||
|
||||
UPSTREAM_GIT = https://bitbucket.org/kmgreen2/pyeclib.git
|
||||
-include /usr/share/openstack-pkg-tools/pkgos.make
|
||||
|
||||
%:
|
||||
dh $@ --buildsystem=python_distutils --with python2,python3
|
||||
|
||||
override_dh_install:
|
||||
set -e && for pyvers in $(PYTHONS); do \
|
||||
python$$pyvers setup.py install --install-layout=deb \
|
||||
--root $(CURDIR)/debian/python-pyeclib; \
|
||||
done
|
||||
set -e && for pyvers in $(PYTHON3S); do \
|
||||
python$$pyvers setup.py install --install-layout=deb \
|
||||
--root $(CURDIR)/debian/python3-pyeclib; \
|
||||
done
|
||||
|
||||
override_dh_auto_clean:
|
||||
|
||||
# TODO: run the test stuff
|
||||
#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
|
||||
|
||||
# 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:
|
||||
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/PyECLib PyECLib-(.*).tar.gz
|
||||
|
||||
Reference in New Issue
Block a user