diff --git a/debian/TODO b/debian/TODO new file mode 100644 index 0000000..77ed939 --- /dev/null +++ b/debian/TODO @@ -0,0 +1,2 @@ +Upstream provides tests for Python 2 and Python 3: +Find a way to run tests during the build diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..3ddd0b7 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +pysmb (1.1.19-0kali1) kali-dev; urgency=medium + + * Initial release + + -- Sophie Brun Wed, 07 Jun 2017 15:39:37 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +10 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..560491b --- /dev/null +++ b/debian/control @@ -0,0 +1,47 @@ +Source: pysmb +Section: python +Priority: optional +Maintainer: Sophie Brun +Build-Depends: debhelper (>= 10), dh-python, python-all, python-setuptools, python3-all, python3-setuptools +Standards-Version: 3.9.8 +Homepage: https://miketeo.net/wp/index.php/projects/pysmb +X-Python-Version: >= 2.6 +X-Python3-Version: >= 3.2 +Vcs-Git: git://git.kali.org/packages/pysmb.git +Vcs-Browser: http://git.kali.org/gitweb/?p=packages/pysmb.git;a=summary + +Package: python-smb +Architecture: all +Depends: ${python:Depends}, ${misc:Depends} +Suggests: python-smb-doc +Description: SMB/CIFS library (Python 2) + This package contains an experimental SMB/CIFS library written in Python. It + implements the client-side SMB/CIFS protocol which allows your Python + application to access and transfer files to/from SMB/CIFS shared folders like + your Windows file sharing and Samba folders. + . + This package installs the library for Python 2. + +Package: python3-smb +Architecture: all +Depends: ${python3:Depends}, ${misc:Depends} +Suggests: python-pysmb-doc +Description: SMB/CIFS library (Python 3) + This package contains an experimental SMB/CIFS library written in Python. It + implements the client-side SMB/CIFS protocol which allows your Python + application to access and transfer files to/from SMB/CIFS shared folders like + your Windows file sharing and Samba folders. + . + This package installs the library for Python 3. + +Package: python-smb-doc +Architecture: all +Section: doc +Depends: ${sphinxdoc:Depends}, ${misc:Depends} +Description: SMB/CIFS library (common documentation) + This package contains an experimental SMB/CIFS library written in Python. It + implements the client-side SMB/CIFS protocol which allows your Python + application to access and transfer files to/from SMB/CIFS shared folders like + your Windows file sharing and Samba folders. + . + This is the common documentation package. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..ec13852 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,30 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: pysmb +Source: https://github.com/miketeo/pysmb + +Files: * +Copyright: 2001-2015 Michael Teo +License: Other + +Files: debian/* +Copyright: 2017 Sophie Brun +License: Other + +License: Other + This software is provided 'as-is', without any express or implied + warranty. In no event will the author be held liable for any damages + arising from the use of this software. + . + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + . + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + . + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + . + 3. This notice cannot be removed or altered from any source distribution. diff --git a/debian/python-smb-doc.doc-base b/debian/python-smb-doc.doc-base new file mode 100644 index 0000000..50887bf --- /dev/null +++ b/debian/python-smb-doc.doc-base @@ -0,0 +1,10 @@ +Document: python-smb +Title: Debian python-smb Manual +Author: Michael Teo +Abstract: This manual describes python-smb and + python3-smb. +Section: Programming/Python + +Format: HTML +Index: /usr/share/doc/python-smb-doc/html/index.html +Files: /usr/share/doc/python-smb-doc/html/*.html diff --git a/debian/python-smb-doc.docs b/debian/python-smb-doc.docs new file mode 100644 index 0000000..a8ae8ed --- /dev/null +++ b/debian/python-smb-doc.docs @@ -0,0 +1 @@ +docs/html diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..866a592 --- /dev/null +++ b/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f +# See debhelper(7) (uncomment to enable) +# output every command that modifies files on the build system. +#export DH_VERBOSE = 1 + +export PYBUILD_NAME=smb + +%: + dh $@ --with python2,python3 --buildsystem=pybuild + + +# Add spinxdoc to the dh --with line +#override_dh_auto_build: +# dh_auto_build +# PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html # HTML generator +# PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bman docs/ build/man # Manpage generator + 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/options b/debian/source/options new file mode 100644 index 0000000..cb61fa5 --- /dev/null +++ b/debian/source/options @@ -0,0 +1 @@ +extend-diff-ignore = "^[^/]*[.]egg-info/" diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..080eadb --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=4 +https://pypi.debian.net/pysmb/pysmb-(.+)\.(?:tar\.(?:gz|bz2|xz))