Removed the need for metabang-bind
[cl-graph.git] / cl-graph.asd
1 ;;; -*- Mode: Lisp; package: cl-user; Syntax: Common-lisp; Base: 10 -*-
2
3 (in-package #:common-lisp-user)
4 (defpackage #:cl-graph-system (:use #:cl #:asdf))
5 (in-package #:cl-graph-system)
6
7 (unless (find-system 'asdf-system-connections nil)
8   (warn "The CL-Graph system would enjoy having asdf-system-connections 
9 around. See 
10 http://www.cliki.net/asdf-system-connections for details and download
11 instructions."))
12 (when (find-system 'asdf-system-connections nil)
13   (operate 'load-op 'asdf-system-connections))
14
15 (defsystem cl-graph
16   :version "0.9.2"
17   :author "Gary Warren King <gwking@metabang.com>"
18   :maintainer "Gary Warren King <gwking@metabang.com>"
19   :licence "MIT Style License"
20   :description "Graph manipulation utilities for Common Lisp"
21   :components ((:static-file "COPYING")
22                (:module 
23                 "dev"
24                 :components 
25                 ((:file "package")
26                  (:file "api"
27                         :depends-on ("package"))
28                  (:file "macros"
29                         :depends-on ("package"))
30                  (:file "graph"
31                         :depends-on ("api" "macros"))
32                  (:file "graph-container"
33                         :depends-on ("graph"))
34                  (:file "graph-matrix"
35                         :depends-on ("graph"))
36                  (:file "graph-algorithms"
37                         :depends-on ("graph"))
38                                      
39                  (:static-file "notes.text")
40
41                  (:module "graphviz" :depends-on ("graph")
42                           :components ((:file "graphviz-support")))))
43                (:module 
44                 "website"
45                 :components 
46                 ((:module "source"
47                           :components ((:static-file "index.md"))))))
48   :in-order-to ((test-op (load-op :cl-graph-test)))
49   :perform (test-op :after (op c)
50                     (funcall
51                       (intern (symbol-name '#:run-tests) :lift)
52                       :config :generic))
53   :depends-on ((:version :metatilities-base "0.6.0")
54                (:version :cl-containers "0.11.0")
55                ))
56
57 (defmethod operation-done-p 
58            ((o test-op) (c (eql (find-system 'cl-graph))))
59   (values nil))
60
61 #+asdf-system-connections
62 (asdf:defsystem-connection cl-graph-and-cl-variates
63   :requires (cl-graph cl-variates)
64   :components ((:module 
65                 "dev"
66                 :components
67                 ((:file "graph-and-variates")
68                  (:file "graph-generation"
69                         :depends-on ("graph-and-variates"))))))
70
71 #+asdf-system-connections
72 (asdf:defsystem-connection cl-graph-and-cl-graphviz
73   :requires (cl-graph cl-graphviz)
74   :components ((:module 
75                 "dev"
76                 :components
77                 ((:module "graphviz"
78                           :components
79                           ((:file "graphviz-support-optional")))))))
80
81 #+asdf-system-connections
82 (asdf:defsystem-connection cl-graph-and-metacopy
83   :requires (cl-graph metacopy)
84   :components ((:module 
85                 "dev"
86                 :components ((:file "copying")))))
87
88 #+asdf-system-connections
89 (asdf:defsystem-connection cl-graph-and-cl-mathstats
90   :requires (cl-graph cl-mathstats)
91   :components ((:module 
92                 "dev"
93                 :components
94                 ((:file "graph-metrics")))))
95
96 #+asdf-system-connections
97 (asdf:defsystem-connection cl-graph-and-moptilities
98   :requires (cl-graph moptilities)
99   :components ((:module 
100                 "dev"
101                 :components
102                 ((:file "subgraph-containing")))))
103
104 #+asdf-system-connections
105 (asdf:defsystem-connection cl-graph-and-dynamic-classes
106   :requires (cl-graph dynamic-classes)
107   :components ((:module 
108                 "dev"
109                 :components
110                 ((:file "dynamic-classes")))))
111
112
113
114