1 |
commit: 5b3fcd0d14ef13c97f049565c12a8d1ddf281712 |
2 |
Author: Chema Alonso Josa <nimiux <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 1 22:47:28 2016 +0000 |
4 |
Commit: José María Alonso <nimiux <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 1 22:47:28 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/lisp.git/commit/?id=5b3fcd0d |
7 |
|
8 |
dev-lisp/cl-graph: Updates header, EAPI and SRC_URI |
9 |
|
10 |
dev-lisp/cl-graph/cl-graph-0.10.2.ebuild | 27 +++++++++------ |
11 |
...x-deps.patch => cl-graph-0.10.2-fix-deps.patch} | 40 +++++++++++----------- |
12 |
2 files changed, 37 insertions(+), 30 deletions(-) |
13 |
|
14 |
diff --git a/dev-lisp/cl-graph/cl-graph-0.10.2.ebuild b/dev-lisp/cl-graph/cl-graph-0.10.2.ebuild |
15 |
index f2c271b..bf7dff9 100644 |
16 |
--- a/dev-lisp/cl-graph/cl-graph-0.10.2.ebuild |
17 |
+++ b/dev-lisp/cl-graph/cl-graph-0.10.2.ebuild |
18 |
@@ -1,17 +1,21 @@ |
19 |
-# Copyright 1999-2010 Gentoo Foundation |
20 |
+# Copyright 1999-2016 Gentoo Foundation |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
-# $Header: $ |
23 |
+# $Id$ |
24 |
|
25 |
-inherit common-lisp-2 eutils |
26 |
+EAPI=6 |
27 |
+ |
28 |
+inherit common-lisp-3 eutils |
29 |
+ |
30 |
+MY_PV="version-${PV}" |
31 |
|
32 |
DESCRIPTION="Graph manipulation utilities for Common Lisp." |
33 |
HOMEPAGE="http://common-lisp.net/project/cl-graph" |
34 |
-SRC_URI="http://common-lisp.net/~sionescu/files/${P}.tar.bz2" |
35 |
+SRC_URI="https://github.com/gwkkwg/${PN}/archive/${MY_PV}.tar.gz" |
36 |
|
37 |
LICENSE="MIT" |
38 |
SLOT="0" |
39 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
40 |
-IUSE="" |
41 |
+IUSE="doc" |
42 |
|
43 |
RDEPEND="dev-lisp/asdf-system-connections |
44 |
>=dev-lisp/metatilities-base-0.6.0 |
45 |
@@ -22,13 +26,16 @@ RDEPEND="dev-lisp/asdf-system-connections |
46 |
|
47 |
CLSYSTEMS="${PN} ${PN}-test" |
48 |
|
49 |
-src_unpack() { |
50 |
- unpack ${A} && cd "${S}" |
51 |
- epatch "${FILESDIR}"/fix-deps.patch |
52 |
+S="${WORKDIR}/${PN}-${MY_PV}" |
53 |
+ |
54 |
+src_prepare() { |
55 |
+ epatch "${FILESDIR}"/${P}-fix-deps.patch |
56 |
+ default |
57 |
} |
58 |
|
59 |
src_install() { |
60 |
- common-lisp-install *.asd dev/{*.lisp,graphviz} unit-tests |
61 |
- common-lisp-symlink-asdf |
62 |
+ common-lisp-install-sources dev/{*.lisp,graphviz} unit-tests |
63 |
+ common-lisp-install-asdf |
64 |
+ use doc && dodoc -r website |
65 |
docinto examples && dodoc dev/examples/* |
66 |
} |
67 |
|
68 |
diff --git a/dev-lisp/cl-graph/files/fix-deps.patch b/dev-lisp/cl-graph/files/cl-graph-0.10.2-fix-deps.patch |
69 |
similarity index 50% |
70 |
rename from dev-lisp/cl-graph/files/fix-deps.patch |
71 |
rename to dev-lisp/cl-graph/files/cl-graph-0.10.2-fix-deps.patch |
72 |
index fbcfa1a..bd639c3 100644 |
73 |
--- a/dev-lisp/cl-graph/files/fix-deps.patch |
74 |
+++ b/dev-lisp/cl-graph/files/cl-graph-0.10.2-fix-deps.patch |
75 |
@@ -3,22 +3,22 @@ Date: 2008-10-28 |
76 |
Status: Gentoo-only |
77 |
Description: Add hard dep on moptilities and include subgraph-containing in main system |
78 |
|
79 |
-diff -Naur cl-graph-0.10.2.orig/cl-graph.asd cl-graph-0.10.2/cl-graph.asd |
80 |
---- cl-graph-0.10.2.orig/cl-graph.asd 2008-10-28 16:22:05.000000000 +0100 |
81 |
-+++ cl-graph-0.10.2/cl-graph.asd 2008-10-28 16:45:46.000000000 +0100 |
82 |
-@@ -32,8 +32,10 @@ |
83 |
- :depends-on ("graph")) |
84 |
- (:file "graph-matrix" |
85 |
- :depends-on ("graph")) |
86 |
-- (:file "graph-algorithms" |
87 |
-+ (:file "subgraph-containing" |
88 |
- :depends-on ("graph")) |
89 |
-+ (:file "graph-algorithms" |
90 |
-+ :depends-on ("graph" "subgraph-containing")) |
91 |
- (:module "graphviz" :depends-on ("graph") |
92 |
- :components ((:file "graphviz-support")))))) |
93 |
- :in-order-to ((test-op (load-op :cl-graph-test))) |
94 |
-@@ -42,8 +44,10 @@ |
95 |
+diff -Nuar a/cl-graph.asd b/cl-graph.asd |
96 |
+--- a/cl-graph.asd 2008-10-27 02:00:50.000000000 +0100 |
97 |
++++ b/cl-graph.asd 2016-12-01 23:35:27.710005029 +0100 |
98 |
+@@ -33,8 +33,10 @@ |
99 |
+ :depends-on ("graph")) |
100 |
+ (:file "graph-matrix" |
101 |
+ :depends-on ("graph")) |
102 |
+- (:file "graph-algorithms" |
103 |
++ (:file "subgraph-containing" |
104 |
+ :depends-on ("graph")) |
105 |
++ (:file "graph-algorithms" |
106 |
++ :depends-on ("graph" "subgraph-containing")) |
107 |
+ |
108 |
+ (:static-file "notes.text") |
109 |
+ |
110 |
+@@ -51,8 +53,10 @@ |
111 |
(intern (symbol-name '#:run-tests) :lift) |
112 |
:config :generic)) |
113 |
:depends-on ((:version :metatilities-base "0.6.0") |
114 |
@@ -29,15 +29,15 @@ diff -Naur cl-graph-0.10.2.orig/cl-graph.asd cl-graph-0.10.2/cl-graph.asd |
115 |
+ (:version :cl-containers "0.11.0") |
116 |
+ )) |
117 |
|
118 |
- (defmethod operation-done-p |
119 |
+ (defmethod operation-done-p |
120 |
((o test-op) (c (eql (find-system 'cl-graph)))) |
121 |
-@@ -85,14 +89,6 @@ |
122 |
+@@ -94,14 +98,6 @@ |
123 |
((:file "graph-metrics"))))) |
124 |
|
125 |
#+asdf-system-connections |
126 |
-(asdf:defsystem-connection cl-graph-and-moptilities |
127 |
- :requires (cl-graph moptilities) |
128 |
-- :components ((:module |
129 |
+- :components ((:module |
130 |
- "dev" |
131 |
- :components |
132 |
- ((:file "subgraph-containing"))))) |
133 |
@@ -45,4 +45,4 @@ diff -Naur cl-graph-0.10.2.orig/cl-graph.asd cl-graph-0.10.2/cl-graph.asd |
134 |
-#+asdf-system-connections |
135 |
(asdf:defsystem-connection cl-graph-and-dynamic-classes |
136 |
:requires (cl-graph dynamic-classes) |
137 |
- :components ((:module |
138 |
+ :components ((:module |