summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2017-12-13 10:46:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2017-12-13 10:46:28 +0000
commit38f4b9fc79a2e072a3b9351df983c78034ae36e2 (patch)
treea5a8afd5176d3c72e557fd158b8f3004363e5423
parentAdding upstream version 0.4.0. (diff)
downloadrobot-detection-38f4b9fc79a2e072a3b9351df983c78034ae36e2.zip
robot-detection-38f4b9fc79a2e072a3b9351df983c78034ae36e2.tar.xz
Adding debian version 0.4.0-1.debian/0.4.0-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/.git-dpm8
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control42
-rw-r--r--debian/copyright32
-rwxr-xr-xdebian/rules17
-rw-r--r--debian/source/format1
-rw-r--r--debian/watch3
8 files changed, 109 insertions, 0 deletions
diff --git a/debian/.git-dpm b/debian/.git-dpm
new file mode 100644
index 0000000..c37c7c8
--- /dev/null
+++ b/debian/.git-dpm
@@ -0,0 +1,8 @@
+# see git-dpm(1) from git-dpm package
+a83c01d092d3b561bbf59c173f4ad7c799b291fa
+a83c01d092d3b561bbf59c173f4ad7c799b291fa
+a83c01d092d3b561bbf59c173f4ad7c799b291fa
+a83c01d092d3b561bbf59c173f4ad7c799b291fa
+robot-detection_0.4.0.orig.tar.gz
+5945301699836d4b005a094dbb7abc2d86e5e7ed
+81090
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..050e653
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+robot-detection (0.4.0-1) unstable; urgency=medium
+
+ * Initial release. (closes: #875869)
+
+ -- Jonas Meurer <mejo@debian.org> Fri, 15 Sep 2017 14:21:35 +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..32727c3
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,42 @@
+Source: robot-detection
+Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
+Uploaders: Jonas Meurer <mejo@debian.org>
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 9),
+ dh-python,
+ python-all,
+ python-setuptools,
+ python-six,
+ python3-all,
+ python3-setuptools,
+ python3-six
+Standards-Version: 4.1.0
+Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/robot-detection.git
+Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/robot-detection.git
+Homepage: https://github.com/rory/robot-detection
+Testsuite: autopkgtest-pkg-python
+X-Python-Version: >=2.7
+X-Python3-Version: >=3.4
+
+Package: python-robot-detection
+Architecture: all
+Depends: python-six,
+ ${misc:Depends},
+ ${python:Depends}
+Description: Detect web crawlers from HTTP UserAgent (Python 2 version)
+ This Python module detects if a given HTTP User Agent is a web crawler.
+ It uses the list of registered robots from the robotstxt.org.
+ .
+ This package contains the Python 2 version of the library.
+
+Package: python3-robot-detection
+Architecture: all
+Depends: python3-six,
+ ${misc:Depends},
+ ${python3:Depends}
+Description: Detect web crawlers from HTTP UserAgent (Python 3 version)
+ This Python module detects if a given HTTP User Agent is a web crawler.
+ It uses the list of registered robots from the robotstxt.org.
+ .
+ This package contains the Python 3 version of the library.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..3a92d10
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: https://github.com/rory/robot-detection
+Author: Rory McCann <rory@technomancy.org>
+
+Files: *
+Copyright: © 2012-2017 Rory McCann <rory@technomancy.org>
+License: GPL-3
+
+Files: debian/*
+Copyright: © 2017 Jonas Meurer <mejo@debian.org>
+License: GPL-2
+
+License: GPL-3
+ 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, version 3.
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ can be found in the /usr/share/common-licenses/GPL-3 file.
+
+License: GPL-2
+ 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, version 2.
+ .
+ This program 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.
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ can be found in the /usr/share/common-licenses/GPL-2 file.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..3803a6c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+export PYBUILD_NAME=robot-detection
+
+%:
+ dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+ set -e; \
+ for python in $(shell pyversions -r) $(shell py3versions -r); do \
+ PYTHONPATH="." $$python setup.py test;\
+ done
+endif
+
+get-orig-source:
+ uscan --verbose --rename
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..9858340
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+https://github.com/rory/robot-detection/releases \
+.*[^n]/(?:|v|version-|r|REL_|rel-|(?:robot-detection)(?:_|-))(\d[^\s/]*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)