aboutsummaryrefslogtreecommitdiff
path: root/pseudo-meta-egg-info.scm
diff options
context:
space:
mode:
Diffstat (limited to 'pseudo-meta-egg-info.scm')
-rw-r--r--pseudo-meta-egg-info.scm14
1 files changed, 12 insertions, 2 deletions
diff --git a/pseudo-meta-egg-info.scm b/pseudo-meta-egg-info.scm
index e97da9d..a77ec2f 100644
--- a/pseudo-meta-egg-info.scm
+++ b/pseudo-meta-egg-info.scm
@@ -7,9 +7,19 @@
(module pseudo-meta-egg-info
(egg-repo release-info files-list)
-(import chicken scheme)
-(use extras data-structures spiffy intarweb uri-common svn-client)
+(import scheme) ;; Hack to get cond-expand in CHICKEN 4
+
+(cond-expand
+ (chicken-4
+ (import chicken)
+ (use extras data-structures spiffy intarweb uri-common svn-client))
+ (chicken-5
+ (import (chicken base) (chicken string) (chicken format)
+ spiffy intarweb uri-common svn-client)))
+;; When missing, we default to 4 for backwards compat reasons. This
+;; should probably never be changed (at best, we can completely remove
+;; it at some point)
(define *default-chicken-release* "4")
(define egg-repo