summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog1
-rw-r--r--debian/clean2
-rw-r--r--debian/control14
-rwxr-xr-xdebian/rules8
-rw-r--r--debian/source/options1
5 files changed, 14 insertions, 12 deletions
diff --git a/debian/changelog b/debian/changelog
index a4cf4eb..3582f3a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
python-pynzb (0.1.0-3) UNRELEASED; urgency=medium
* Add myself to uploaders.
+ * Switch to pybuild and dh-python.
-- Carl Suster <carl@contraflo.ws> Mon, 09 Jan 2017 00:37:36 +1100
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..739fbc2
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,2 @@
+*.egg-info/*
+.cache/
diff --git a/debian/control b/debian/control
index 2586c62..c746e29 100644
--- a/debian/control
+++ b/debian/control
@@ -5,9 +5,11 @@ Uploaders:
Carl Suster <carl@contraflo.ws>
Section: python
Priority: optional
-Build-Depends: python-setuptools (>= 0.6b3),
- python-all (>= 2.6.6-3),
- debhelper (>= 7)
+Build-Depends:
+ debhelper (>= 7),
+ dh-python,
+ python-all (>= 2.6.6-3),
+ python-setuptools (>= 0.6b3),
Standards-Version: 3.9.4
Homepage: https://pypi.python.org/pypi/pynzb/
Vcs-Git: git://anonscm.debian.org/collab-maint/python-pynzb.git
@@ -15,9 +17,9 @@ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/python-pynzb.git
Package: python-pynzb
Architecture: all
-Depends: ${misc:Depends},
- ${python:Depends},
- python-lxml
+Depends:
+ ${misc:Depends}, ${python:Depends},
+ python-lxml
Description: unified API for parsing NZB files from NNTP (Usenet) servers
pynzb is a unified API for parsing NZB files, with several concrete
implementations included.
diff --git a/debian/rules b/debian/rules
index d25abae..ff82054 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,5 @@
#!/usr/bin/make -f
-
-# This file was automatically generated by stdeb 0.6.0+git at
-# Mon, 16 Sep 2013 19:42:13 -0400
+# export DH_VERBOSE=1
%:
- dh $@ --with python2 --buildsystem=python_distutils
-
-
+ dh $@ --with python2 --buildsystem=pybuild
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..b2b7b88
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1 @@
+extend-diff-ignore="^[^/]+\.egg-info/"