Gentoo Archives: gentoo-commits

From: Andrey Utkin <andrey_utkin@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/spectrum2/
Date: Fri, 20 Sep 2019 08:47:44
Message-Id: 1568969194.a0ae8b276ee3a457b446a715f16196d2d5603053.andrey_utkin@gentoo
1 commit: a0ae8b276ee3a457b446a715f16196d2d5603053
2 Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
3 AuthorDate: Tue Sep 17 18:01:52 2019 +0000
4 Commit: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 20 08:46:34 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0ae8b27
7
8 net-im/spectrum2: drop old version
9
10 Package-Manager: Portage-2.3.76, Repoman-2.3.17
11 Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
12 Signed-off-by: Andrey Utkin <andrey_utkin <AT> gentoo.org>
13
14 net-im/spectrum2/Manifest | 1 -
15 net-im/spectrum2/spectrum2-2.0.10.1-r2.ebuild | 118 --------------------------
16 net-im/spectrum2/spectrum2-2.0.12.ebuild | 118 --------------------------
17 3 files changed, 237 deletions(-)
18
19 diff --git a/net-im/spectrum2/Manifest b/net-im/spectrum2/Manifest
20 index 195a8a6de02..7c194ddbe6e 100644
21 --- a/net-im/spectrum2/Manifest
22 +++ b/net-im/spectrum2/Manifest
23 @@ -1,2 +1 @@
24 -DIST spectrum2-2.0.10.1.tar.gz 844983 BLAKE2B f10a057f35ecb865497e26b6d31d37c895b351d7c93e7c00bf9d58bf855b49ee1ce0acbeab841a442ab2ab702b022675ca4478521ecac2f6d0bdb9d7e00b9060 SHA512 dde84e67b2ade8649a38027c398defd4dc911ed402e913779aca0b29aa801f1c17ef89b1b3abf91c3189e75b32e9162d6e9d52f90ce537091b65fb791a826357
25 DIST spectrum2-2.0.12.tar.gz 839711 BLAKE2B 22dbc201135008effbd1aac52a708f5c942bd9a3c4a359622d1eb21ce104bdd3a6be64f1cb2ad5950b51e5f1772d77fce088d4a61a56532d970901656176d3f7 SHA512 bcd2797877583e6b59e5f1da430ed049e5bcdddfa9698f6d845f020847405ff8ee01b595d47d414105153e2a00e9a8fac171f45db5d39f72ddf0f6588bc71a36
26
27 diff --git a/net-im/spectrum2/spectrum2-2.0.10.1-r2.ebuild b/net-im/spectrum2/spectrum2-2.0.10.1-r2.ebuild
28 deleted file mode 100644
29 index be621d22a70..00000000000
30 --- a/net-im/spectrum2/spectrum2-2.0.10.1-r2.ebuild
31 +++ /dev/null
32 @@ -1,118 +0,0 @@
33 -# Copyright 1999-2019 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -PYTHON_COMPAT=( python2_7 )
39 -
40 -inherit cmake-utils python-any-r1 systemd user
41 -
42 -DESCRIPTION="An open source instant messaging transport"
43 -HOMEPAGE="https://www.spectrum.im"
44 -SRC_URI="https://github.com/SpectrumIM/spectrum2/archive/${PV}.tar.gz -> ${P}.tar.gz"
45 -
46 -LICENSE="GPL-2+"
47 -SLOT="0"
48 -KEYWORDS="~amd64"
49 -IUSE="doc frotz irc mysql postgres purple sms +sqlite test twitter whatsapp xmpp"
50 -REQUIRED_USE="|| ( mysql postgres sqlite )"
51 -
52 -RDEPEND="
53 - dev-libs/boost:=[nls]
54 - dev-libs/expat
55 - dev-libs/libev:=
56 - dev-libs/log4cxx
57 - dev-libs/jsoncpp:=
58 - dev-libs/openssl:0=
59 - dev-libs/popt
60 - dev-libs/protobuf:=
61 - net-dns/libidn:0=
62 - net-im/swift:=
63 - net-misc/curl
64 - sys-libs/zlib:=
65 - frotz? ( !games-engines/frotz )
66 - irc? ( net-im/libcommuni )
67 - mysql? (
68 - || (
69 - dev-db/mariadb-connector-c
70 - dev-db/mysql-connector-c
71 - )
72 - )
73 - postgres? ( dev-libs/libpqxx:= )
74 - purple? (
75 - dev-libs/glib
76 - net-im/pidgin:=
77 - )
78 - sms? ( app-mobilephone/smstools )
79 - sqlite? ( dev-db/sqlite:3 )
80 - twitter? ( net-misc/curl )
81 - whatsapp? ( net-im/transwhat )"
82 -
83 -DEPEND="
84 - ${RDEPEND}
85 - doc? ( app-doc/doxygen )
86 - test? (
87 - ${PYTHON_DEPS}
88 - $(python_gen_any_dep 'dev-python/sleekxmpp[${PYTHON_USEDEP}]')
89 - dev-util/cppunit
90 - net-irc/ngircd
91 - )
92 -"
93 -
94 -# Tests are currently restricted, as they do completly fail
95 -RESTRICT="test"
96 -
97 -python_check_deps() {
98 - has_version "dev-python/sleekxmpp[${PYTHON_USEDEP}]"
99 -}
100 -
101 -pkg_setup() {
102 - enewgroup spectrum
103 - enewuser spectrum -1 -1 /var/lib/spectrum2 spectrum
104 -
105 - use test && python-any-r1_pkg_setup
106 -}
107 -
108 -src_prepare() {
109 - # Respect users LDFLAGS
110 - sed -i -e "s/-Wl,-export-dynamic/& ${LDFLAGS}/" spectrum/src/CMakeLists.txt || die
111 -
112 - cmake-utils_src_prepare
113 -}
114 -
115 -src_configure() {
116 - local mycmakeargs=(
117 - -DENABLE_DOCS="$(usex doc)"
118 - -DENABLE_FROTZ="$(usex frotz)"
119 - -DENABLE_IRC="$(usex irc)"
120 - -DENABLE_MYSQL="$(usex mysql)"
121 - -DENABLE_PQXX="$(usex postgres)"
122 - -DENABLE_PURPLE="$(usex purple)"
123 - -DENABLE_SMSTOOLS3="$(usex sms)"
124 - -DENABLE_SQLITE3="$(usex sqlite)"
125 - -DENABLE_TESTS="$(usex test)"
126 - -DENABLE_TWITTER="$(usex twitter)"
127 - -DENABLE_XMPP="$(usex xmpp)"
128 - -DLIB_INSTALL_DIR="$(get_libdir)"
129 - )
130 -
131 - cmake-utils_src_configure
132 -}
133 -
134 -src_test() {
135 - cd tests/libtransport && "${EPYTHON}" ../start.py || die
136 -}
137 -
138 -src_install() {
139 - cmake-utils_src_install
140 -
141 - diropts -o spectrum -g spectrum
142 - keepdir /var/log/spectrum2 /var/lib/spectrum2
143 - diropts
144 -
145 - newinitd "${FILESDIR}"/spectrum2.initd spectrum2
146 - systemd_newunit "${FILESDIR}"/spectrum2.service spectrum2.service
147 - systemd_newtmpfilesd "${FILESDIR}"/spectrum2.tmpfiles-r1 spectrum2.conf
148 -
149 - einstalldocs
150 -}
151
152 diff --git a/net-im/spectrum2/spectrum2-2.0.12.ebuild b/net-im/spectrum2/spectrum2-2.0.12.ebuild
153 deleted file mode 100644
154 index 91e9038632e..00000000000
155 --- a/net-im/spectrum2/spectrum2-2.0.12.ebuild
156 +++ /dev/null
157 @@ -1,118 +0,0 @@
158 -# Copyright 1999-2019 Gentoo Authors
159 -# Distributed under the terms of the GNU General Public License v2
160 -
161 -EAPI=7
162 -
163 -PYTHON_COMPAT=( python2_7 )
164 -
165 -inherit cmake-utils python-any-r1 systemd user
166 -
167 -DESCRIPTION="An open source instant messaging transport"
168 -HOMEPAGE="https://www.spectrum.im"
169 -SRC_URI="https://github.com/SpectrumIM/spectrum2/archive/${PV}.tar.gz -> ${P}.tar.gz"
170 -
171 -LICENSE="GPL-2+"
172 -SLOT="0"
173 -KEYWORDS="~amd64"
174 -IUSE="doc frotz irc mysql postgres purple sms +sqlite test twitter whatsapp xmpp"
175 -REQUIRED_USE="|| ( mysql postgres sqlite )"
176 -
177 -RDEPEND="
178 - dev-libs/boost:=[nls]
179 - dev-libs/expat
180 - dev-libs/libev:=
181 - dev-libs/log4cxx
182 - dev-libs/jsoncpp:=
183 - dev-libs/openssl:0=
184 - dev-libs/popt
185 - dev-libs/protobuf:=
186 - net-dns/libidn:0=
187 - net-im/swift:=
188 - net-misc/curl
189 - sys-libs/zlib:=
190 - frotz? ( !games-engines/frotz )
191 - irc? ( net-im/libcommuni )
192 - mysql? (
193 - || (
194 - dev-db/mariadb-connector-c
195 - dev-db/mysql-connector-c
196 - )
197 - )
198 - postgres? ( >=dev-libs/libpqxx-6.4.5:= )
199 - purple? (
200 - dev-libs/glib
201 - net-im/pidgin:=
202 - )
203 - sms? ( app-mobilephone/smstools )
204 - sqlite? ( dev-db/sqlite:3 )
205 - twitter? ( net-misc/curl )
206 - whatsapp? ( net-im/transwhat )"
207 -
208 -DEPEND="
209 - ${RDEPEND}
210 - doc? ( app-doc/doxygen )
211 - test? (
212 - ${PYTHON_DEPS}
213 - $(python_gen_any_dep 'dev-python/sleekxmpp[${PYTHON_USEDEP}]')
214 - dev-util/cppunit
215 - net-irc/ngircd
216 - )
217 -"
218 -
219 -# Tests are currently restricted, as they do completly fail
220 -RESTRICT="test"
221 -
222 -python_check_deps() {
223 - has_version "dev-python/sleekxmpp[${PYTHON_USEDEP}]"
224 -}
225 -
226 -pkg_setup() {
227 - enewgroup spectrum
228 - enewuser spectrum -1 -1 /var/lib/spectrum2 spectrum
229 -
230 - use test && python-any-r1_pkg_setup
231 -}
232 -
233 -src_prepare() {
234 - # Respect users LDFLAGS
235 - sed -i -e "s/-Wl,-export-dynamic/& ${LDFLAGS}/" spectrum/src/CMakeLists.txt || die
236 -
237 - cmake-utils_src_prepare
238 -}
239 -
240 -src_configure() {
241 - local mycmakeargs=(
242 - -DENABLE_DOCS="$(usex doc)"
243 - -DENABLE_FROTZ="$(usex frotz)"
244 - -DENABLE_IRC="$(usex irc)"
245 - -DENABLE_MYSQL="$(usex mysql)"
246 - -DENABLE_PQXX="$(usex postgres)"
247 - -DENABLE_PURPLE="$(usex purple)"
248 - -DENABLE_SMSTOOLS3="$(usex sms)"
249 - -DENABLE_SQLITE3="$(usex sqlite)"
250 - -DENABLE_TESTS="$(usex test)"
251 - -DENABLE_TWITTER="$(usex twitter)"
252 - -DENABLE_XMPP="$(usex xmpp)"
253 - -DLIB_INSTALL_DIR="$(get_libdir)"
254 - )
255 -
256 - cmake-utils_src_configure
257 -}
258 -
259 -src_test() {
260 - cd tests/libtransport && "${EPYTHON}" ../start.py || die
261 -}
262 -
263 -src_install() {
264 - cmake-utils_src_install
265 -
266 - diropts -o spectrum -g spectrum
267 - keepdir /var/log/spectrum2 /var/lib/spectrum2
268 - diropts
269 -
270 - newinitd "${FILESDIR}"/spectrum2.initd spectrum2
271 - systemd_newunit "${FILESDIR}"/spectrum2.service spectrum2.service
272 - systemd_newtmpfilesd "${FILESDIR}"/spectrum2.tmpfiles-r1 spectrum2.conf
273 -
274 - einstalldocs
275 -}