From 907bdf22baff1af99356c958d43ce24a61d1152f Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Thu, 1 Aug 2019 14:43:53 -0700 Subject: [PATCH 1/2] d/control: Drop Build-Depends on python-hacking since we don't use pep8 testing --- debian/control | 1 - 1 file changed, 1 deletion(-) diff --git a/debian/control b/debian/control index 3ca59fa..b82f11c 100644 --- a/debian/control +++ b/debian/control @@ -16,7 +16,6 @@ Build-Depends-Indep: python3-babel, python3-coverage, python3-fixtures, - python3-hacking, python3-iso8601, python3-keyring, python3-mock, -- GitLab From fa3bd88cb4e8a6951d0b11c2f9256a7e6004bde4 Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Thu, 1 Aug 2019 14:41:33 -0700 Subject: [PATCH 2/2] d/p/add-pkg-info.patch: Add PKG-INFO in top level dir to set egg version --- debian/patches/add-pkg-info.patch | 31 +++++++++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 32 insertions(+) create mode 100644 debian/patches/add-pkg-info.patch diff --git a/debian/patches/add-pkg-info.patch b/debian/patches/add-pkg-info.patch new file mode 100644 index 0000000..b8b97cf --- /dev/null +++ b/debian/patches/add-pkg-info.patch @@ -0,0 +1,31 @@ +Description: Adds PKG-INFO for the package + Without this, the egg is incorrectly set to version 0.0.1.dev10. + For version <= 0.4.0, also fixed FTBS with python setup.py build. +Author: Andres Rodriguez +Origin: vendor +Reviewed-By: Bryce Harrington +Last-Updated: 2019-08-05 + +--- /dev/null ++++ python-seamicroclient-0.4.0/PKG-INFO +@@ -0,0 +1,20 @@ ++Metadata-Version: 1.1 ++Name: python-seamicroclient ++Version: 0.4.0+2016.05.20.git.40ee44c664 ++Summary: Client library for Seamicro chassis API ++Home-page: https://github.com/seamicro/python-seamicroclient ++Author: AMD ++Author-email: rohan.kanade@izeltech.com ++License: Apache License, Version 2.0 ++Description: Python client for consuming SeaMicro REST API v2.0 ++ ++ ++Platform: UNKNOWN ++Classifier: Development Status :: 4 - Beta ++Classifier: Environment :: Console ++Classifier: Environment :: Web Environment ++Classifier: Intended Audience :: Developers ++Classifier: Intended Audience :: Information Technology ++Classifier: License :: OSI Approved :: Apache Software License ++Classifier: Operating System :: OS Independent ++Classifier: Programming Language :: Python diff --git a/debian/patches/series b/debian/patches/series index 2438367..ca7c4bf 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ fix-requirements.txt.patch removed-failing-tests.patch +add-pkg-info.patch -- GitLab