[Pkg-javascript-commits] [npm2deb] 01/01: fix dependency formats

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Sat Oct 29 14:30:43 UTC 2016


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

praveen pushed a commit to branch master
in repository npm2deb.

commit fe00c75fb7e95dd2d22f1c6929bfc0b60ecda69a
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Sat Oct 29 20:00:21 2016 +0530

    fix dependency formats
---
 debian/changelog                                |  3 ++-
 debian/patches/0005-fix-dependency-format.patch | 21 +++++++++++++++++++++
 debian/patches/series                           |  1 +
 3 files changed, 24 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 9bdb118..a1af784 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 npm2deb (0.2.5-4) UNRELEASED; urgency=medium
 
-  * Bump standards version of generated packages to 3.9.8 
+  * Bump standards version of generated packages to 3.9.8
+  * Fix dependency version formats (conver ^ to >=) (Closes: #840207)
 
  -- Pirate Praveen <praveen at debian.org>  Sat, 29 Oct 2016 19:45:20 +0530
 
diff --git a/debian/patches/0005-fix-dependency-format.patch b/debian/patches/0005-fix-dependency-format.patch
new file mode 100644
index 0000000..1ac9c9f
--- /dev/null
+++ b/debian/patches/0005-fix-dependency-format.patch
@@ -0,0 +1,21 @@
+From 4dc756ef5849bf51ee41938f33ca4680d6a0829b Mon Sep 17 00:00:00 2001
+From: Suhail P <psuhailp at gmail.com>
+Date: Fri, 28 Oct 2016 12:20:20 +0000
+Subject: [PATCH] changing CONTROL file dependency package version format
+
+---
+ npm2deb/__init__.py | 1 +
+ 1 file changed, 1 insertion(+)
+
+Index: npm2deb/npm2deb/__init__.py
+===================================================================
+--- npm2deb.orig/npm2deb/__init__.py
++++ npm2deb/npm2deb/__init__.py
+@@ -470,6 +470,7 @@ class Npm2Deb(object):
+                     dep_debian = "%s (%s)" % (name, version)
+                 else:
+                     dep_debian = name
++                dep_debian = '>= '.join(dep_debian.split('^'))
+                 depends.append(dep_debian)
+ 
+         return '\n , '.join(depends)
diff --git a/debian/patches/series b/debian/patches/series
index e5ab598..16bc8dc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 0002-convert-to-lowercase.patch
 0003-fix-crash.patch
 0004-bump-standards.patch
+0005-fix-dependency-format.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/npm2deb.git



More information about the Pkg-javascript-commits mailing list