[Python-modules-commits] [python-pysnmp4] 01/01: Switch packaging to pybuild
Vincent Bernat
bernat at moszumanska.debian.org
Sat Jul 2 13:38:50 UTC 2016
This is an automated email from the git hooks/post-receive script.
bernat pushed a commit to branch master
in repository python-pysnmp4.
commit 3e3adca2d52702a9f7287fca80c930cdcfe1551d
Author: Vincent Bernat <vincent at bernat.im>
Date: Thu Oct 15 12:02:49 2015 +0200
Switch packaging to pybuild
---
debian/changelog | 8 +++++++-
debian/compat | 2 +-
debian/control | 24 ++++++++++++------------
debian/python-pysnmp4.install | 2 --
debian/python3-pysnmp4.install | 1 -
debian/rules | 11 +++++++----
6 files changed, 27 insertions(+), 21 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index c166484..c5288d5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,14 @@
python-pysnmp4 (4.2.5-2) UNRELEASED; urgency=medium
+ [ Ondřej Nový ]
* Fixed VCS URL (https)
- -- Ondřej Nový <novy at ondrej.org> Tue, 29 Mar 2016 22:20:01 +0200
+ [ Vincent Bernat ]
+ * Switch buildsystem to pybuild.
+ * Give ownership to DPMT.
+ * Bump Standards-Version.
+
+ -- Vincent Bernat <bernat at debian.org> Sat, 02 Jul 2016 15:38:04 +0200
python-pysnmp4 (4.2.5-1) unstable; urgency=low
diff --git a/debian/compat b/debian/compat
index 7ed6ff8..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-5
+9
diff --git a/debian/control b/debian/control
index 2bd8bf5..80e4c88 100644
--- a/debian/control
+++ b/debian/control
@@ -1,15 +1,17 @@
Source: python-pysnmp4
Section: python
Priority: optional
-Maintainer: Jan Lübbe <jluebbe at debian.org>
-Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>,
- Deepak Tripathi <apenguinlinux at gmail.com>, Vincent Bernat <bernat at debian.org>
-Standards-Version: 3.9.4
-Build-Depends: debhelper (>= 5.0.37.2),
- cdbs (>= 0.4.90~),
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Jan Lübbe <jluebbe at debian.org>,
+ Deepak Tripathi <apenguinlinux at gmail.com>,
+ Vincent Bernat <bernat at debian.org>
+Standards-Version: 3.9.6
+Build-Depends: debhelper (>= 9),
+ dh-python,
python-all (>= 2.6.6-3~), python3-all,
python-setuptools, python3-setuptools,
- python-crypto, python3-crypto
+ python-crypto, python3-crypto,
+ python-pyasn1, python3-pyasn1
Homepage: http://pysnmp.sourceforge.net/
X-Python-Version: >= 2.4
Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-pysnmp4.git
@@ -20,11 +22,10 @@ Architecture: all
Depends: ${python:Depends},
smitools,
${misc:Depends}
-Recommends: python-crypto,
- python-pysnmp4-mibs,
+Recommends: python-pysnmp4-mibs,
python-pysnmp4-apps,
python-twisted
-Suggests: python-pysnmp4-doc, doc-base
+Suggests: python-pysnmp4-doc
Conflicts: python-pysnmp2,
python-pysnmp-common
Replaces: python-pysnmp2,
@@ -46,8 +47,7 @@ Package: python3-pysnmp4
Architecture: all
Depends: ${python3:Depends},
${misc:Depends}
-Recommends: python3-crypto,
-Suggests: python-pysnmp4-doc, doc-base
+Suggests: python-pysnmp4-doc
Description: Python SNMP library for agents and managers (Python 3 module)
This is a Python implementation of SNMP v.1/v.2c/v.3 engine. Its
general functionality is to assemble/disassemble SNMP messages
diff --git a/debian/python-pysnmp4.install b/debian/python-pysnmp4.install
deleted file mode 100644
index 1f450ac..0000000
--- a/debian/python-pysnmp4.install
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/tmp/usr/lib/python2*
-debian/tmp/usr/bin
diff --git a/debian/python3-pysnmp4.install b/debian/python3-pysnmp4.install
deleted file mode 100644
index c97e193..0000000
--- a/debian/python3-pysnmp4.install
+++ /dev/null
@@ -1 +0,0 @@
-debian/tmp/usr/lib/python3*
diff --git a/debian/rules b/debian/rules
index 4e185a2..2c2c8b0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,11 @@
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
+export PYBUILD_NAME=pysnmp4
-# Don't compress .py files
-DEB_COMPRESS_EXCLUDE := .py
+%:
+ dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_install:
+ dh_auto_install
+ rm debian/python3-pysnmp4/usr/bin/*
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-pysnmp4.git
More information about the Python-modules-commits
mailing list