[Python-modules-commits] [python-paypal] 02/04: Initial packaging

Raphaël Hertzog hertzog at moszumanska.debian.org
Tue Jun 28 12:18:08 UTC 2016


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

hertzog pushed a commit to branch master
in repository python-paypal.

commit 76a66cae15473e7bec9cea1cfef598846409fc8f
Author: Sophie Brun <sophie at freexian.com>
Date:   Tue Jun 28 09:36:48 2016 +0200

    Initial packaging
---
 debian/changelog              |  5 +++
 debian/compat                 |  1 +
 debian/control                | 80 +++++++++++++++++++++++++++++++++++++++++++
 debian/copyright              | 44 ++++++++++++++++++++++++
 debian/python-paypal-doc.docs |  2 ++
 debian/rules                  |  9 +++++
 debian/source/format          |  1 +
 debian/watch                  |  3 ++
 8 files changed, 145 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..586d2ba
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-paypal (1.2.5-1) unstable; urgency=medium
+
+  * Initial release
+
+ -- Sophie Brun <sophie at freexian.com>  Tue, 28 Jun 2016 09:03:15 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..d93f51f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,80 @@
+Source: python-paypal
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders:
+ Sophie Brun <sophie at freexian.com>,
+ Raphael Hertzog <hertzog at debian.org>
+Build-Depends:
+ debhelper (>=9),
+ dh-python,
+ python-all (>= 2.6.6-3~),
+ python-setuptools,
+ python3-all,
+ python3-setuptools
+Standards-Version: 3.9.8
+Homepage: https://pypi.python.org/pypi/paypal
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-paypal.git
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-paypal.git
+
+Package: python-paypal
+Architecture: all
+Depends: ${misc:Depends}, ${python:Depends}
+Suggests: python-paypal-doc
+Description: PayPal API implementation (Python 2)
+ This package implements Paypal's Website Payments Pro NVP API in Python.
+ This currently includes Direct Payments (Credit card payments without a PayPal
+ Account) and PayPal Express Checkout (Payment via a PayPal account).
+ .
+ This module is best used in conjunction with the official PayPal
+ `documentation`_. The stuff under "Website Payments Pro and Express Checkout
+ API Operations". in particular.
+ .
+ paypal-python does no real validation, doesn't hold hands, and is generally
+ only going to handle authentication, http-level stuff, and serializing
+ a list of keyword arguments passed to the API methods. You'll need to
+ read the official PayPal documentation for what key/values to pass.
+ .
+ This package installs the library for Python 2.
+
+Package: python3-paypal
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Suggests: python-paypal-doc
+Description: PayPal API implementation (Python 3)
+ This package implements Paypal's Website Payments Pro NVP API in Python.
+ This currently includes Direct Payments (Credit card payments without a PayPal
+ Account) and PayPal Express Checkout (Payment via a PayPal account).
+ .
+ This module is best used in conjunction with the official PayPal
+ `documentation`_. The stuff under "Website Payments Pro and Express Checkout
+ API Operations". in particular.
+ .
+ paypal-python does no real validation, doesn't hold hands, and is generally
+ only going to handle authentication, http-level stuff, and serializing
+ a list of keyword arguments passed to the API methods. You'll need to
+ read the official PayPal documentation for what key/values to pass.
+ .
+ This package installs the library for Python 3.
+
+Package: python-paypal-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Description: PayPal API implementation (common documentation)
+ This package implements Paypal's Website Payments Pro NVP API in Python.
+ This currently includes Direct Payments (Credit card payments without a PayPal
+ Account) and PayPal Express Checkout (Payment via a PayPal account).
+ .
+ This module is best used in conjunction with the official PayPal
+ `documentation`_. The stuff under "Website Payments Pro and Express Checkout
+ API Operations". in particular.
+ .
+ paypal-python does no real validation, doesn't hold hands, and is generally
+ only going to handle authentication, http-level stuff, and serializing
+ a list of keyword arguments passed to the API methods. You'll need to
+ read the official PayPal documentation for what key/values to pass.
+ .
+ This is the common documentation package.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..38f7b96
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,44 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: paypal
+Source: https://pypi.python.org/pypi/paypal
+
+Files: *
+Copyright: 2009 Pat Collins <pat at burned.com>
+           2012 DUO Interactive, LLC <gtaylor at duointeractive.com>
+           2014 Greg Taylor
+License: Apache-2.0
+
+Files: paypal/compat.py
+Copyright: 2012 Kenneth Reitz
+License: ISC
+ Permission to use, copy, modify, and/or distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+Files: debian/*
+Copyright: 2016 Sophie Brun <sophie at freexian.com>
+License: Apache-2.0
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+        http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems, the complete text of the Apache License version 2.0 can be
+ found in "/usr/share/common-licenses/Apache-2.0".
diff --git a/debian/python-paypal-doc.docs b/debian/python-paypal-doc.docs
new file mode 100644
index 0000000..24948f1
--- /dev/null
+++ b/debian/python-paypal-doc.docs
@@ -0,0 +1,2 @@
+AUTHORS
+README.rst
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..e7f9344
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=paypal
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_test:
+	# don't run the tests: a paypal account is needed
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/watch b/debian/watch
new file mode 100644
index 0000000..f38a138
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+http://pypi.debian.net/paypal/paypal-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

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



More information about the Python-modules-commits mailing list