Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-libs/usockets/
Date: Thu, 30 Jul 2020 16:16:42
Message-Id: 1596026673.727a54919ec5a99a9e5907b734c5b0817861c188.andrewammerlaan@gentoo
1 commit: 727a54919ec5a99a9e5907b734c5b0817861c188
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Wed Jul 29 12:37:56 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Wed Jul 29 12:44:33 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=727a5491
7
8 net-libs/usockets: drop old version
9
10 Package-Manager: Portage-2.3.103, Repoman-2.3.23
11 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
12
13 net-libs/usockets/Manifest | 1 -
14 net-libs/usockets/usockets-0.4.1-r1.ebuild | 54 ------------------------------
15 2 files changed, 55 deletions(-)
16
17 diff --git a/net-libs/usockets/Manifest b/net-libs/usockets/Manifest
18 index 57d722f..8d649f4 100644
19 --- a/net-libs/usockets/Manifest
20 +++ b/net-libs/usockets/Manifest
21 @@ -1,2 +1 @@
22 -DIST usockets-0.4.1.tar.gz 49955 BLAKE2B 581b5745c4b1562fe21ac81736ebc6db95ed9e25a47e3124fa4dbc25978cde9f901a651cbc99128952282407f506900cae79a59bb1aab8d5e951e114d1f8f3b7 SHA512 2fbb37e0d3768c4b79b100132edd4aea65c7483186394d9dd5729385031e257ebe7ba04e53cb67f796edbc035074268920a1fdb11be79a74cb83799a7b61f7c0
23 DIST usockets-0.5.0.tar.gz 50852 BLAKE2B 69d36f4bad6e2bf87a8b33a023678b29d2aa2feea86ccd92d02d38e9b336d9b97a0d9709b381d7b2b1a20c86964eaa9fec8d7edaa322288b232ce7c3ea84f056 SHA512 ac734c1e6f50b0485456d5b0f06d6aeb5457b2b3cc1fc2c795773a469e0bdf7223256ba252d1f9cbead10948ca47ce8bcdbabc147fc3e6be59d1a051409375bd
24
25 diff --git a/net-libs/usockets/usockets-0.4.1-r1.ebuild b/net-libs/usockets/usockets-0.4.1-r1.ebuild
26 deleted file mode 100644
27 index 07f6828..0000000
28 --- a/net-libs/usockets/usockets-0.4.1-r1.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 -}