[Python-modules-commits] [python-mechanicalsoup] 04/05: Initial debianization

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Dec 28 07:23:59 UTC 2016


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository python-mechanicalsoup.

commit 7a8f9bbd8e1168488c393e950d66300a8873bf64
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Tue Dec 27 16:06:35 2016 +0000

    Initial debianization
---
 debian/changelog |  5 +++++
 debian/clean     |  1 +
 debian/compat    |  1 +
 debian/control   | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/copyright | 31 +++++++++++++++++++++++++++++++
 debian/rules     |  9 +++++++++
 debian/watch     |  3 +++
 7 files changed, 102 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..5bf0f04
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-mechanicalsoup (0.6.0-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #849475)
+
+ -- Ghislain Antony Vaillant <ghisvail at gmail.com>  Tue, 27 Dec 2016 15:58:51 +0000
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..45149aa
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+*.egg-info/*
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..48b0b88
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,52 @@
+Source: python-mechanicalsoup
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Ghislain Antony Vaillant <ghisvail at gmail.com>
+Section: python
+Testsuite: autopkgtest-pkg-python
+Priority: optional
+Build-Depends: debhelper (>= 10),
+               dh-python,
+               python-all,
+               python-bs4,
+               python-requests (>= 2.0),
+               python-setuptools,
+               python-six (>= 1.4),
+               python3-all,
+               python3-bs4,
+               python3-requests (>= 2.0),
+               python3-setuptools,
+               python3-six (>= 1.4)
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-mechanicalsoup.git
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-mechanicalsoup.git
+Homepage: https://github.com/hickford/MechanicalSoup
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+
+Package: python-mechanicalsoup
+Architecture: all
+Depends: ${misc:Depends},
+         ${python:Depends}
+Description: library for automating interaction with websites (Python 2)
+ A Python library for automating interaction with websites. MechanicalSoup
+ automatically stores and sends cookies, follows redirects, and can follow
+ links and submit forms. It doesn't do Javascript.
+ .
+ MechanicalSoup provides a similar API to the Mechanize library using Requests
+ (for http sessions) and BeautifulSoup (for document navigation).
+ .
+ This package provides the library for Python 2.
+
+Package: python3-mechanicalsoup
+Architecture: all
+Depends: ${misc:Depends},
+         ${python3:Depends}
+Description: library for automating interaction with websites (Python 3)
+ A Python library for automating interaction with websites. MechanicalSoup
+ automatically stores and sends cookies, follows redirects, and can follow
+ links and submit forms. It doesn't do Javascript.
+ .
+ MechanicalSoup provides a similar API to the Mechanize library using Requests
+ (for http sessions) and BeautifulSoup (for document navigation).
+ .
+ This package provides the library for Python 3.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..9d7b6b5
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: MechanicalSoup
+Upstream-Contact: Mirth Hickford <mirth.hickford at gmail.com>
+Source: https://pypi.python.org/pypi/MechanicalSoup/
+
+Files: *
+Copyright: 2016 Mirth Hickford <mirth.hickford at gmail.com>
+License: Expat
+
+Files: debian/*
+Copyright: 2016 Ghislain Antony Vaillant <ghisvail at gmail.com>
+License: Expat
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
+ this software and associated documentation files (the "Software"), to deal in
+ the Software without restriction, including without limitation the rights to
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+ of the Software, and to permit persons to whom the Software is furnished to do
+ so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..065e4ca
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export PYBUILD_NAME=mechanicalsoup
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..5931c9d
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/MechanicalSoup/MechanicalSoup-@ANY_VERSION@@ARCHIVE_EXT@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-mechanicalsoup.git



More information about the Python-modules-commits mailing list