Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/asio/, dev-cpp/asio/files/
Date: Tue, 27 Sep 2022 14:01:19
Message-Id: 1664287246.f31f3ca73aa13f79a6a5bf2f71d93aa693010616.andrewammerlaan@gentoo
1 commit: f31f3ca73aa13f79a6a5bf2f71d93aa693010616
2 Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
3 AuthorDate: Sun Sep 25 07:46:24 2022 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 27 14:00:46 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f31f3ca7
7
8 dev-cpp/asio: drop 1.22.1
9
10 Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
11 Closes: https://github.com/gentoo/gentoo/pull/27433
12 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
13
14 dev-cpp/asio/Manifest | 1 -
15 dev-cpp/asio/asio-1.22.1.ebuild | 63 ----------------------------
16 dev-cpp/asio/files/asio-1.22.1-cpp20ex.patch | 29 -------------
17 3 files changed, 93 deletions(-)
18
19 diff --git a/dev-cpp/asio/Manifest b/dev-cpp/asio/Manifest
20 index e0e78768d961..fb0187b3051b 100644
21 --- a/dev-cpp/asio/Manifest
22 +++ b/dev-cpp/asio/Manifest
23 @@ -1,3 +1,2 @@
24 DIST asio-1.10.8.tar.bz2 1270332 BLAKE2B 97e4a6a7c8b4562f10af1d122e9b08c12d567fd0447d1951a907f47f77832dcd42df4cb9b5b392feaaa2ea7c79d8bedfcf12e3052957ec012d8bb6b4d1347eb5 SHA512 d870686d2b19bec9925c311f2f0fd370e9797bbad252176a80a998f9c322ecd502b5081826105712e7caf87c03c3e6b70a0e219019e5bff46077d6e8c3c6db09
25 -DIST asio-1.22.1.tar.bz2 3085878 BLAKE2B 07326a2273d5b8c0aef8402c92a6a88abbcb961d2a029596d58735d6626279e6d4d591371cc368a41fac1d0161b8786174ba71153e73aac38fa81a83f5f5be86 SHA512 be4a066d9f73662f68a771f63a59fc2e16e8ee1ae1ca6c581e09922514029e58c479edfc0517ee6b29a1fd377d202a2a6eb80d9d17f6e957233c11331f04a479
26 DIST asio-1.22.2.tar.bz2 3077065 BLAKE2B b3660cf3c72d2d7ae122f89e8afb967cb89cc1de3f4859d481bbb8250cad6f03f187a4deb9e500a6231abdc5c9e727ef910c59d7c8b75bc6ba0f12ef94f05252 SHA512 93ea423cec8d13e525bf654291b6edd685f079c2af2da5a6f44dfe0b913e0f3df0a4770f1240ff760bae7842eee8ee3a13bed621c2ee1499abc76b100ebe3885
27
28 diff --git a/dev-cpp/asio/asio-1.22.1.ebuild b/dev-cpp/asio/asio-1.22.1.ebuild
29 deleted file mode 100644
30 index f100d6fc13a9..000000000000
31 --- a/dev-cpp/asio/asio-1.22.1.ebuild
32 +++ /dev/null
33 @@ -1,63 +0,0 @@
34 -# Copyright 1999-2022 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=8
38 -
39 -inherit autotools
40 -
41 -DESCRIPTION="Asynchronous Network Library"
42 -HOMEPAGE="https://think-async.com https://github.com/chriskohlhoff/asio"
43 -SRC_URI="mirror://sourceforge/${PN}/${PN}/${P}.tar.bz2"
44 -
45 -LICENSE="Boost-1.0"
46 -SLOT="0"
47 -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86"
48 -IUSE="doc examples test"
49 -RESTRICT="!test? ( test )"
50 -
51 -DEPEND="
52 - test? (
53 - dev-libs/boost
54 - dev-libs/openssl
55 - )
56 -"
57 -
58 -PATCHES=(
59 - "${FILESDIR}/${P}-cpp20ex.patch"
60 -)
61 -
62 -src_prepare() {
63 - default
64 -
65 - eautoreconf
66 -
67 - if ! use test; then
68 - # Don't build nor install any examples or unittests
69 - # since we don't have a script to run them
70 - cat > src/Makefile.in <<-EOF || die
71 - all:
72 -
73 - install:
74 -
75 - clean:
76 - EOF
77 - fi
78 -}
79 -
80 -src_install() {
81 - use doc && local HTML_DOCS=( doc/. )
82 - default
83 -
84 - if use examples; then
85 - # Get rid of the object files
86 - emake clean
87 - dodoc -r src/examples
88 - docompress -x /usr/share/doc/${PF}/examples
89 -
90 - # Make links to the example .cpp files work
91 - # https://bugs.gentoo.org/828648
92 - if use doc; then
93 - dosym ../examples /usr/share/doc/${PF}/src/examples
94 - fi
95 - fi
96 -}
97
98 diff --git a/dev-cpp/asio/files/asio-1.22.1-cpp20ex.patch b/dev-cpp/asio/files/asio-1.22.1-cpp20ex.patch
99 deleted file mode 100644
100 index 55de22b8a136..000000000000
101 --- a/dev-cpp/asio/files/asio-1.22.1-cpp20ex.patch
102 +++ /dev/null
103 @@ -1,29 +0,0 @@
104 -The cpp20 dir doesn't exist
105 -https://github.com/chriskohlhoff/asio/issues/1026
106 -
107 ---- a/src/Makefile.am
108 -+++ b/src/Makefile.am
109 -@@ -15,7 +15,6 @@ EXAMPLES_CPP17 = examples/cpp17
110 - endif
111 -
112 - if HAVE_CXX20
113 --EXAMPLES_CPP20 = examples/cpp20
114 - endif
115 -
116 - SUBDIRS = \
117 -@@ -23,7 +22,6 @@ SUBDIRS = \
118 - $(EXAMPLES_CPP11) \
119 - $(EXAMPLES_CPP14) \
120 - $(EXAMPLES_CPP17) \
121 -- $(EXAMPLES_CPP20) \
122 - tests
123 -
124 - DIST_SUBDIRS = examples/cpp03 examples/cpp11 examples/cpp14 examples/cpp17 tests
125 ---- a/configure.ac
126 -+++ b/configure.ac
127 -@@ -241,4 +241,4 @@ AC_OUTPUT([
128 - src/examples/cpp11/Makefile
129 - src/examples/cpp14/Makefile
130 - src/examples/cpp17/Makefile
131 -- src/examples/cpp20/Makefile])
132 -+ ])