debian/0000755000000000000000000000000012203434364007167 5ustar debian/compat0000644000000000000000000000000212203153503010356 0ustar 8 debian/python3-backup2swift.manpages0000644000000000000000000000002212203153503014675 0ustar docs/man/bu2sw.1 debian/python-backup2swift.manpages0000644000000000000000000000002112203153503014611 0ustar docs/man/bu2sw.1 debian/control0000644000000000000000000000252712203434232010572 0ustar Source: backup2swift Section: python Priority: optional Maintainer: Kouhei Maeda Build-Depends: debhelper (>= 8.0.0), python-all, python-setuptools, python-pytest, pep8, python-mock, python-swiftsc (>= 0.5), python-argparse, python3-all, python3-setuptools, python3-pytest, python3-mock, python3-swiftsc (>= 0.5) Standards-Version: 3.9.4 X-Python-Version: >= 2.6, >= 3.2 Homepage: https://github.com/mkouhei/backup2swift Vcs-Browser: http://anonscm.debian.org/gitweb/?p=openstack/backup2swift.git Vcs-Git: git://anonscm.debian.org/openstack/backup2swift.git Package: python-backup2swift Architecture: all Provides: ${python:Provides} Depends: ${python:Depends}, ${misc:Depends}, python-swiftsc (>= 0.5), python-argparse Description: backup data to OpenStack Swift - python 2.x This utility is used to backup data to OpenStack Swift. It provides a command interface and backup rotation. It depends on a simple swift client library called swiftsc. . This package provides the python 2 module. Package: python3-backup2swift Architecture: all Depends: ${python3:Depends}, ${misc:Depends}, python3-swiftsc (>= 0.5) Description: backup data to OpenStack Swift - python 3.x This utility is used to backup data to OpenStack Swift. It provides a command interface and backup rotation. It depends on a simple swift client library called swiftsc. debian/py3dist-overrides0000644000000000000000000000003712203153673012512 0ustar setuptools python3-setuptools debian/docs0000644000000000000000000000005712203153503010035 0ustar docs/README.rst docs/TODO.rst docs/HISTORY.rst debian/source/0000755000000000000000000000000012203153503010460 5ustar debian/source/format0000644000000000000000000000001412203153503011666 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000013312203153503010206 0ustar version=3 http://pypi.python.org/packages/source/b/backup2swift/backup2swift-(.*)\.tar\.gz debian/changelog0000644000000000000000000000023212203153503011027 0ustar backup2swift (0.8-1) unstable; urgency=low * Initial release (Closes: #717927) -- Kouhei Maeda Tue, 13 Aug 2013 11:47:29 +0900 debian/copyright0000644000000000000000000000211012203153503011105 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: backup2swift Source: https://github.com/mkouhei/backup2swift Files: * Copyright: 2013 Kouhei Maeda License: GPL-3.0+ Files: debian/* Copyright: 2013 Kouhei Maeda License: GPL-3.0+ License: GPL-3.0+ 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 package 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 . . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". debian/clean0000644000000000000000000000003212203153503010160 0ustar src/*/*.pyc src/*/*/*.pyc debian/rules0000755000000000000000000000406212203153503010242 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ --with python2,python3 override_dh_auto_build: for py in $(shell pyversions -vr); do \ python$$ setup.py build --build-base=_build$$py; \ done override_dh_auto_test: set -e; \ for py in $(shell pyversions -vr); do \ if [ "$$py" < "3.0" ]; then \ py.test-$$py -v $(CURDIR)/_build/lib.$(shell python -c 'import distutils.util as d; print d.get_platform()')-$$py; \ else \ py.test-3 -v $(CURDIR)/_build/lib ;\ fi ;\ done override_dh_python3: dh_python3 && \ mv -f $(CURDIR)/debian/python3-backup2swift/usr/bin/bu2sw $(CURDIR)/debian/python3-backup2swift/usr/bin/bu2sw3 mv -f $(CURDIR)/debian/python3-backup2swift/usr/share/backup2swift/examples/bu2sw.conf $(CURDIR)/debian/python3-backup2swift/usr/share/backup2swift/examples/bu2sw_py3.conf mv -f $(CURDIR)/debian/python3-backup2swift/usr/share/backup2swift/examples/bu2sw_ignore_verify.conf $(CURDIR)/debian/python3-backup2swift/usr/share/backup2swift/examples/bu2sw_ignor_verify_py3.conf override_dh_installman: dh_installman mv -f $(CURDIR)/debian/python3-backup2swift/usr/share/man/man1/bu2sw.1 $(CURDIR)/debian/python3-backup2swift/usr/share/man/man1/bu2sw3.1 override_dh_auto_install: python setup.py install --no-compile -O0 --install-layout=deb \ --root $(CURDIR)/debian/python-backup2swift && \ python3 setup.py install --no-compile -O0 --install-layout=deb \ --root $(CURDIR)/debian/python3-backup2swift && \ rm -rf $(CURDIR)/debian/python-backup2swift/usr/share/pyshared/backup2swift_tests rm -rf $(CURDIR)/debian/python-backup2swift/usr/lib/python2.6/dist-packages/backup2swift_tests rm -rf $(CURDIR)/debian/python-backup2swift/usr/lib/python2.7/dist-packages/backup2swift_tests rm -rf $(CURDIR)/debian/python3-backup2swift/usr/lib/python3/dist-packages/backup2swift_tests override_dh_auto_clean: dh_clean for py in $(shell pyversions -vr); do \ python$$py setup.py clean --build-temp=_build && \ python$$py setup.py clean --build-temp=_build$$py; \ done rm -rf $(CURDIR)/_build