Gentoo Archives: gentoo-commits

From: Aisha Tammy <gentoo@×××××.cc>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-libs/usockets/
Date: Tue, 08 Sep 2020 20:33:45
Message-Id: 1599597210.3995a95daf6e67eadd0720472ff9a6df0846d151.epsilon-0@gentoo
1 commit: 3995a95daf6e67eadd0720472ff9a6df0846d151
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Tue Sep 8 20:33:30 2020 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Tue Sep 8 20:33:30 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3995a95d
7
8 net-libs/usockets: drop old version
9
10 Package-Manager: Portage-3.0.5, Repoman-3.0.1
11 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
12
13 net-libs/usockets/Manifest | 1 -
14 net-libs/usockets/usockets-0.5.0.ebuild | 54 ---------------------------------
15 2 files changed, 55 deletions(-)
16
17 diff --git a/net-libs/usockets/Manifest b/net-libs/usockets/Manifest
18 index af6d36e3..3e7ce58a 100644
19 --- a/net-libs/usockets/Manifest
20 +++ b/net-libs/usockets/Manifest
21 @@ -1,2 +1 @@
22 -DIST usockets-0.5.0.tar.gz 50852 BLAKE2B 69d36f4bad6e2bf87a8b33a023678b29d2aa2feea86ccd92d02d38e9b336d9b97a0d9709b381d7b2b1a20c86964eaa9fec8d7edaa322288b232ce7c3ea84f056 SHA512 ac734c1e6f50b0485456d5b0f06d6aeb5457b2b3cc1fc2c795773a469e0bdf7223256ba252d1f9cbead10948ca47ce8bcdbabc147fc3e6be59d1a051409375bd
23 DIST usockets-0.6.0.tar.gz 57590 BLAKE2B 8438a3d2a1861d995410fcda8b888d561de2fb51af319e58c529f1113cb8e4d0f821b1649618c28d43dbc64f28b6b4e90f7e0bd51fcabc5afdc8318ca8f21448 SHA512 0803a117334d4dc38b4936e6f1d34984a9fba30da1c360c3ff3d7ce14275a4ac9c4a4e7b407791fc3661c50be6b6a8335d26f808b21d0ade5f85ab721b14a500
24
25 diff --git a/net-libs/usockets/usockets-0.5.0.ebuild b/net-libs/usockets/usockets-0.5.0.ebuild
26 deleted file mode 100644
27 index 07f68285..00000000
28 --- a/net-libs/usockets/usockets-0.5.0.ebuild
29 +++ /dev/null
30 @@ -1,54 +0,0 @@
31 -# Copyright 2019-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -inherit multilib
37 -
38 -DESCRIPTION="tiny eventing, networking & crypto for async applications"
39 -HOMEPAGE="https://github.com/uNetworking/uSockets"
40 -
41 -if [[ ${PV} == 9999 ]]; then
42 - inherit git-r3
43 - EGIT_REPO_URI="https://github.com/uNetworking/uSockets.git"
44 -else
45 - SRC_URI="https://github.com/uNetworking/uSockets/archive/v${PV}.tar.gz -> ${P}.tar.gz"
46 - KEYWORDS="~amd64 ~arm64 ~x86"
47 - S="${WORKDIR}/uSockets-${PV}"
48 -fi
49 -
50 -LICENSE="Apache-2.0"
51 -SLOT="0"
52 -IUSE="libuv +ssl libressl static-libs"
53 -
54 -DEPEND="ssl? (
55 - libressl? ( >=dev-libs/libressl-3.0.0:=[static-libs?] )
56 - !libressl? ( >=dev-libs/openssl-1.1.0:=[static-libs?] )
57 - )
58 - libuv? ( dev-libs/libuv[static-libs?] )
59 -"
60 -RDEPEND="${DEPEND}"
61 -
62 -PATCHES=(
63 - "${FILESDIR}/usockets-Makefile.patch"
64 -)
65 -
66 -src_compile() {
67 - # the Makefile uses environment variables
68 - emake LIBusockets_VERSION=${PV} \
69 - WITH_OPENSSL=$(usex ssl 1 0) \
70 - WITH_LIBUV=$(usex libuv 1 0) \
71 - default
72 -}
73 -
74 -src_install() {
75 - emake libdir="/usr/$(get_libdir)" \
76 - prefix="/usr" \
77 - DESTDIR="${D}" \
78 - LIBusockets_VERSION=${PV} \
79 - install
80 - einstalldocs
81 - if ! use static-libs; then
82 - rm "${D}/usr/$(get_libdir)/libusockets.a" || die
83 - fi
84 -}