summaryrefslogtreecommitdiff
path: root/baserockimport/package.py
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2015-08-19 17:13:10 +0100
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2015-08-24 09:51:21 +0000
commitbacc5a9862d64a057762724810e7412128bdc002 (patch)
tree3492e30715b24cb612e1fc036742f54bf64fa75b /baserockimport/package.py
parentc0198a43aace41e8ce35e63c21a4cb3b8138f91f (diff)
downloadimport-bacc5a9862d64a057762724810e7412128bdc002.tar.gz
Make to_chunk stage optional
Most CPAN distributions can be installed with a standard set of commands so we don't want to generate chunk morphs for each chunk. This also fixes stratum build dependency generation Change-Id: Ica51721b9b3809f91b8016c959202694d4bc6ea7
Diffstat (limited to 'baserockimport/package.py')
-rw-r--r--baserockimport/package.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/baserockimport/package.py b/baserockimport/package.py
index 1739292..361022f 100644
--- a/baserockimport/package.py
+++ b/baserockimport/package.py
@@ -1,4 +1,6 @@
-# Copyright (C) 2014 Codethink Limited
+# -*- coding: utf-8 -*-
+#
+# Copyright © 2014, 2015 Codethink Limited
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -13,7 +15,6 @@
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
class Package(object):
'''A package in the processing queue.
@@ -27,6 +28,9 @@ class Package(object):
self.version = version
self.required_by = []
self.morphology = None
+ self.repo_url = None
+ self.ref = None
+ self.named_ref = None
self.dependencies = None
self.is_build_dep = False
self.version_in_use = version