Gentoo Archives: gentoo-commits

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/qcl/files/, sci-physics/qcl/
Date: Wed, 30 Jan 2019 05:44:34
Message-Id: 1548827051.58115cd218e93008bfb73cef6ade2e503be4af60.bircoph@gentoo
1 commit: 58115cd218e93008bfb73cef6ade2e503be4af60
2 Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 30 05:44:11 2019 +0000
4 Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 30 05:44:11 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=58115cd2
7
8 sci-physics/qcl: remove old versions
9
10 Package-Manager: Portage-2.3.58, Repoman-2.3.12
11 Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
12
13 sci-physics/qcl/files/qcl-0.6.4-makefile.patch | 22 ----------
14 sci-physics/qcl/files/qcl-0.6.4-makefile_v2.patch | 31 -------------
15 sci-physics/qcl/qcl-0.6.4-r1.ebuild | 53 -----------------------
16 sci-physics/qcl/qcl-0.6.4.ebuild | 44 -------------------
17 4 files changed, 150 deletions(-)
18
19 diff --git a/sci-physics/qcl/files/qcl-0.6.4-makefile.patch b/sci-physics/qcl/files/qcl-0.6.4-makefile.patch
20 deleted file mode 100644
21 index e73cee420..000000000
22 --- a/sci-physics/qcl/files/qcl-0.6.4-makefile.patch
23 +++ /dev/null
24 @@ -1,22 +0,0 @@
25 ---- Makefile
26 -+++ Makefile
27 -@@ -32,7 +32,7 @@
28 -
29 - #DEBUG = -g -pg -DQCL_DEBUG -DQC_DEBUG
30 - #DEBUG = -g -DQCL_DEBUG -DQC_DEBUG
31 --DEBUG = -O2 -g -DQCL_DEBUG -DQC_DEBUG
32 -+DEBUG = -DQCL_DEBUG -DQC_DEBUG
33 - #DEBUG = -O2
34 -
35 - # Plotting support
36 -@@ -81,8 +81,8 @@
37 -
38 - #CXX = g++
39 - #CPP = $(CC) -E
40 --CXXFLAGS = -c $(ARCHOPT) $(DEBUG) $(PLOPT) $(RLOPT) $(IRQOPT) $(ENCOPT) -I$(QCDIR) -DDEF_INCLUDE_PATH="\"$(QCLDIR)\""
41 --LDFLAGS = $(ARCHOPT) -L$(QCDIR) $(DEBUG) $(PLLIB) -lm -lfl -lqc $(RLLIB)
42 -+CXXFLAGS += -c $(DEBUG) $(PLOPT) $(RLOPT) $(IRQOPT) $(ENCOPT) -I$(QCDIR) -DDEF_INCLUDE_PATH="\"$(QCLDIR)\""
43 -+LDFLAGS += -L$(QCDIR) $(PLLIB) -lm -lfl -lqc $(RLLIB)
44 -
45 - FILESCC = $(wildcard *.cc)
46 - FILESH = $(wildcard *.h)
47
48 diff --git a/sci-physics/qcl/files/qcl-0.6.4-makefile_v2.patch b/sci-physics/qcl/files/qcl-0.6.4-makefile_v2.patch
49 deleted file mode 100644
50 index 74b05c5f5..000000000
51 --- a/sci-physics/qcl/files/qcl-0.6.4-makefile_v2.patch
52 +++ /dev/null
53 @@ -1,31 +0,0 @@
54 ---- a/Makefile
55 -+++ b/Makefile
56 -@@ -32,7 +32,7 @@
57 -
58 - #DEBUG = -g -pg -DQCL_DEBUG -DQC_DEBUG
59 - #DEBUG = -g -DQCL_DEBUG -DQC_DEBUG
60 --DEBUG = -O2 -g -DQCL_DEBUG -DQC_DEBUG
61 -+DEBUG = -DQCL_DEBUG -DQC_DEBUG
62 - #DEBUG = -O2
63 -
64 - # Plotting support
65 -@@ -81,8 +81,8 @@
66 -
67 - #CXX = g++
68 - #CPP = $(CC) -E
69 --CXXFLAGS = -c $(ARCHOPT) $(DEBUG) $(PLOPT) $(RLOPT) $(IRQOPT) $(ENCOPT) -I$(QCDIR) -DDEF_INCLUDE_PATH="\"$(QCLDIR)\""
70 --LDFLAGS = $(ARCHOPT) -L$(QCDIR) $(DEBUG) $(PLLIB) -lm -lfl -lqc $(RLLIB)
71 -+CXXFLAGS += -c $(DEBUG) $(PLOPT) $(RLOPT) $(IRQOPT) $(ENCOPT) -I$(QCDIR) -DDEF_INCLUDE_PATH="\"$(QCLDIR)\""
72 -+LIBS = -L$(QCDIR) $(PLLIB) -lm -lfl -lqc $(RLLIB)
73 -
74 - FILESCC = $(wildcard *.cc)
75 - FILESH = $(wildcard *.h)
76 -@@ -127,7 +127,7 @@
77 - build: qcl $(QCLINC)/default.qcl
78 -
79 - qcl: $(OBJECTS) qcl.o $(QCLIB)
80 -- $(CXX) $(OBJECTS) qcl.o $(LDFLAGS) -o qcl
81 -+ $(CXX) $(LDFLAGS) $(OBJECTS) qcl.o $(LIBS) -o qcl
82 -
83 - $(QCLINC)/default.qcl: extern.cc
84 - grep "^//!" extern.cc | cut -c5- > $(QCLINC)/default.qcl
85
86 diff --git a/sci-physics/qcl/qcl-0.6.4-r1.ebuild b/sci-physics/qcl/qcl-0.6.4-r1.ebuild
87 deleted file mode 100644
88 index feb49f2a6..000000000
89 --- a/sci-physics/qcl/qcl-0.6.4-r1.ebuild
90 +++ /dev/null
91 @@ -1,53 +0,0 @@
92 -# Copyright 1999-2016 Gentoo Foundation
93 -# Distributed under the terms of the GNU General Public License v2
94 -
95 -EAPI=6
96 -
97 -DESCRIPTION="Quantum Computation Language with an emulator of a quantum computer"
98 -HOMEPAGE="http://tph.tuwien.ac.at/~oemer/qcl.html"
99 -SRC_URI="
100 - http://tph.tuwien.ac.at/~oemer/tgz/${P}.tgz
101 - doc? (
102 - http://tph.tuwien.ac.at/~oemer/doc/structquprog.pdf
103 - http://tph.tuwien.ac.at/~oemer/doc/qcldoc.pdf
104 - http://tph.tuwien.ac.at/~oemer/doc/quprog.pdf
105 - )"
106 -
107 -SLOT="0"
108 -LICENSE="GPL-2"
109 -KEYWORDS="~amd64 ~x86"
110 -IUSE="doc plotutils readline"
111 -
112 -REPEND="
113 - plotutils? ( media-libs/plotutils[X,png] )
114 - readline? (
115 - sys-libs/ncurses:0=
116 - sys-libs/readline:0=
117 - )"
118 -DEPEND="${DEPEND}
119 - sys-devel/bison
120 - sys-devel/flex"
121 -
122 -PATCHES=(
123 - "${FILESDIR}/${PN}"-0.6.3-gcc43.patch
124 - "${FILESDIR}/${P}"-makefile_v2.patch
125 -)
126 -
127 -src_configure() {
128 - # there is no configure, Makefile must be modified
129 - if ! use plotutils; then
130 - sed -i 's/^PL/#PL/' Makefile || die
131 - fi
132 - if ! use readline; then
133 - sed -i 's/^RL/#RL/' Makefile || die
134 - fi
135 -}
136 -
137 -src_install() {
138 - emake \
139 - QCLDIR="${D}/usr/share/${PN}" \
140 - QCLBIN="${D}/usr/bin" \
141 - install
142 - dodoc CHANGES README
143 - use doc && dodoc "${DISTDIR}/"{structquprog,qcldoc,quprog}.pdf
144 -}
145
146 diff --git a/sci-physics/qcl/qcl-0.6.4.ebuild b/sci-physics/qcl/qcl-0.6.4.ebuild
147 deleted file mode 100644
148 index c3788af50..000000000
149 --- a/sci-physics/qcl/qcl-0.6.4.ebuild
150 +++ /dev/null
151 @@ -1,44 +0,0 @@
152 -# Copyright 1999-2015 Gentoo Foundation
153 -# Distributed under the terms of the GNU General Public License v2
154 -
155 -EAPI=5
156 -
157 -inherit eutils
158 -
159 -DESCRIPTION="Quantum Computation Language with an emulator of a quantum computer"
160 -HOMEPAGE="http://tph.tuwien.ac.at/~oemer/qcl.html"
161 -SRC_URI="
162 - http://tph.tuwien.ac.at/~oemer/tgz/${P}.tgz
163 - doc? (
164 - http://tph.tuwien.ac.at/~oemer/doc/structquprog.pdf
165 - http://tph.tuwien.ac.at/~oemer/doc/qcldoc.pdf
166 - http://tph.tuwien.ac.at/~oemer/doc/quprog.pdf
167 - )"
168 -
169 -SLOT="0"
170 -LICENSE="GPL-2"
171 -KEYWORDS="~amd64 ~x86"
172 -IUSE="doc"
173 -
174 -DEPEND="
175 - media-libs/plotutils
176 - sys-libs/ncurses:0=
177 - sys-libs/readline:0="
178 -RDEPEND="${DEPEND}"
179 -
180 -PATCHES=(
181 - "${FILESDIR}/${PN}"-0.6.3-gcc43.patch
182 - "${FILESDIR}/${P}"-makefile.patch
183 -)
184 -
185 -src_prepare() {
186 - epatch ${PATCHES[@]}
187 -}
188 -
189 -src_install() {
190 - emake \
191 - QCLDIR="${D}/usr/share/${PN}" \
192 - QCLBIN="${D}/usr/bin" install
193 - dodoc README CHANGES
194 - use doc && dodoc {structquprog,qcldoc,quprog}.pdf
195 -}