[Python-modules-commits] [python-requirements-detector] 02/02: Imported Debian patch 0.4-1

Daniel Stender danstender-guest at moszumanska.debian.org
Sun Jun 21 13:59:11 UTC 2015


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

danstender-guest pushed a commit to branch master
in repository python-requirements-detector.

commit 40f9bb416309c84c612c662e9d81348d750e0128
Author: Daniel Stender <debian at danielstender.com>
Date:   Sun Jun 21 13:35:33 2015 +0200

    Imported Debian patch 0.4-1
---
 debian/changelog                           |  5 +++
 debian/compat                              |  1 +
 debian/control                             | 55 ++++++++++++++++++++++++++++++
 debian/copyright                           | 32 +++++++++++++++++
 debian/detect-requirements.txt             | 11 ++++++
 debian/rules                               | 22 ++++++++++++
 debian/source/format                       |  1 +
 debian/tests/control                       |  5 +++
 debian/tests/python-requirements-detector  |  2 ++
 debian/tests/python3-requirements-detector |  2 ++
 debian/watch                               |  4 +++
 11 files changed, 140 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9166e7e
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-requirements-detector (0.4-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #788208).
+
+ -- Daniel Stender <debian at danielstender.com>  Sun, 21 Jun 2015 13:35:33 +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..ad0deed
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,55 @@
+Source: python-requirements-detector
+Section: python
+Priority: optional
+Maintainer: Daniel Stender <debian at danielstender.com>
+Uploaders:
+ Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends:
+ debhelper (>= 9),
+ dh-python,
+ python-all,
+ python-astroid (>= 1.0.0),
+ python-nose,
+ python-setuptools,
+ python3-all,
+ python3-astroid (>= 1.0.0),
+ python3-nose,
+ python3-setuptools,
+ txt2man
+Standards-Version: 3.9.6
+Homepage: https://github.com/landscapeio/requirements-detector
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.3
+Testsuite: autopkgtest
+
+Package: python-requirements-detector
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python:Depends}
+Conflicts:
+ python3-requirements-detector
+Replaces:
+ python3-requirements-detector
+Description: finds and lists the requirements of a Python project
+ Requirements-detector could be run either as a module or with its CLI tool
+ (detect-requirements). It scans for and lists the project's requirements
+ out of several sources for them.
+ .
+ This package contains requirements-detector for Python2.
+
+Package: python3-requirements-detector
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python3:Depends}
+Conflicts:
+ python-requirements-detector
+Replaces:
+ python-requirements-detector
+Description: finds and lists the requirements of a Python3 project
+ Requirements-detector could be run either as a module or with its CLI tool
+ (detect-requirements). It scans for and lists the project's requirements
+ out of several sources for them.
+ .
+ This package contains requirements-detector for Python3.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..b013176
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: requirements-detector
+Upsteam-Contact: Carl Crowder <code at landscape.io>
+Source: https://github.com/landscapeio/requirements-detector
+
+Files: *
+Copyright: 2013-2015 Carl Crowder
+License: Expat
+
+Files: debian/*
+Copyright: 2015 Daniel Stender <debian at danielstender.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/detect-requirements.txt b/debian/detect-requirements.txt
new file mode 100644
index 0000000..966d409
--- /dev/null
+++ b/debian/detect-requirements.txt
@@ -0,0 +1,11 @@
+NAME
+  detect-requirements - find and list requirements of a Python project
+
+SYNOPSIS
+  detect-requirements <path>
+  
+DESCRIPTION
+  if path is not specified, the current working directory will be used
+  
+AUTHORS
+  requirements-detector was written by Landscape.io <code at landscape.io>
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..65a6576
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+#export DEB_BUILD_OPTIONS=nocheck
+
+export PYBUILD_NAME=requirements-detector
+
+VERSION := $(shell dpkg-parsechangelog -Sversion | cut -d- -f1)
+DEBDATE := $(shell dpkg-parsechangelog -Sdate | date -u +"%F" -f -)
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_test:
+	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m nose --verbose" dh_auto_test
+
+override_dh_installdocs:
+	dh_installdocs -A README.md
+
+override_dh_installman:
+	txt2man -s 1 -v "python-requirements-detector" -t "detect-requirements" \
+	-r "$(VERSION)" -d "$(DEBDATE)" debian/detect-requirements.txt > .pybuild/detect-requirements.1
+	dh_installman -A .pybuild/detect-requirements.1
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/tests/control b/debian/tests/control
new file mode 100644
index 0000000..89196ab
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,5 @@
+Tests: python-requirements-detector
+Depends: python-nose, python-astroid
+
+Tests: python3-requirements-detector
+Depends: python3-nose, python3-astroid
\ No newline at end of file
diff --git a/debian/tests/python-requirements-detector b/debian/tests/python-requirements-detector
new file mode 100755
index 0000000..50682f1
--- /dev/null
+++ b/debian/tests/python-requirements-detector
@@ -0,0 +1,2 @@
+#!/bin/sh -e
+pyversions -i | tr ' ' '\n' | xargs -I {} env {} -Wd -m nose --verbose 2>&1
\ No newline at end of file
diff --git a/debian/tests/python3-requirements-detector b/debian/tests/python3-requirements-detector
new file mode 100755
index 0000000..e44f0bc
--- /dev/null
+++ b/debian/tests/python3-requirements-detector
@@ -0,0 +1,2 @@
+#!/bin/sh -e
+py3versions -i | tr ' ' '\n' | xargs -I {} env {} -Wd -m nose --verbose 2>&1
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..39674e7
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=filenamemangle=s/(?:.*\/)?(\d[\d\.]+)\.tar\.gz/python-requirements-detector-$1.tar.gz/ \
+https://github.com/landscapeio/requirements-detector/releases (?:.*/)?(\d[\d\.]+)\.tar\.gz
+# better than Pypi tarball, ships with LICENSE, README.md and tests

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



More information about the Python-modules-commits mailing list