[trydiffoscope] 01/02: Move to pbr for packaging.

Chris Lamb chris at chris-lamb.co.uk
Tue Jan 31 05:15:33 UTC 2017


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

lamby pushed a commit to branch master
in repository trydiffoscope.

commit edef3c762526eaccc991b5a00f4ec8eb9a6da575
Author: Chris Lamb <lamby at debian.org>
Date:   Mon Jan 2 17:14:00 2017 +0000

    Move to pbr for packaging.
---
 debian/changelog |  6 ++++++
 debian/control   |  2 ++
 setup.cfg        | 13 +++++++++++++
 setup.py         | 12 ++----------
 4 files changed, 23 insertions(+), 10 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9c37b4b..b017037 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+trydiffoscope (65) UNRELEASED; urgency=medium
+
+  * Move to pbr for packaging.
+
+ -- Chris Lamb <lamby at debian.org>  Mon, 02 Jan 2017 17:09:05 +0000
+
 trydiffoscope (64) unstable; urgency=medium
 
   * New release after splitting from src:diffoscope.
diff --git a/debian/control b/debian/control
index c38adc9..ad46045 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,8 @@ Build-Depends:
  debhelper (>= 10),
  python-docutils,
  python3-all,
+ python3-pbr,
+ python3-setuptools,
 Standards-Version: 3.9.8
 Homepage: https://try.diffoscope.org/
 Vcs-Git: https://anonscm.debian.org/git/reproducible/trydiffoscope.git
diff --git a/setup.cfg b/setup.cfg
new file mode 100644
index 0000000..bbb9a46
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,13 @@
+[metadata]
+name = trydiffoscope
+author = Chris Lamb
+version = 65
+author-email = lamby at debian.org
+summary = try.diffoscope.org command line client
+license = GPL-3+
+home-page = https://reproducible-builds.org/tools/
+requires-python = >=3.4
+
+[files]
+scripts =
+    trydiffoscope
diff --git a/setup.py b/setup.py
index 274ab43..07f55fe 100644
--- a/setup.py
+++ b/setup.py
@@ -1,11 +1,3 @@
-from distutils.core import setup
+import setuptools
 
-setup(
-    name='trydiffoscope',
-    version='64',
-    author="Chris Lamb",
-    author_email="lamby at debian.org",
-    scripts=(
-        'trydiffoscope',
-    ),
-)
+setuptools.setup(setup_requires=['pbr'], pbr=True)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/trydiffoscope.git



More information about the Reproducible-commits mailing list