1 |
commit: f3240fe68f6bd1c9d17f4584e963dee5e5306028 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 1 09:35:58 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 1 09:38:32 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3240fe6 |
7 |
|
8 |
dev-libs/hiredis: drop 1.0.0-r1 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
dev-libs/hiredis/Manifest | 1 - |
13 |
dev-libs/hiredis/hiredis-1.0.0-r1.ebuild | 87 -------------------------------- |
14 |
2 files changed, 88 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/hiredis/Manifest b/dev-libs/hiredis/Manifest |
17 |
index 017828759b4c..5fea35cb08ca 100644 |
18 |
--- a/dev-libs/hiredis/Manifest |
19 |
+++ b/dev-libs/hiredis/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
DIST hiredis-0.14.1.tar.gz 64372 BLAKE2B 9846b05e21bfadb876e26ab45bf5c29a3283b602ef725dfbd877815be690bb5579551f0c452e1d8abf9ae985f6b71408a3b86b343ca5d6dce58dd4897640996a SHA512 a7310f2d65075df0c17636a0220e16487759471a3442b1de2595ab747565f6b6262e37131613b13e396b31050bcbe5529c35d420cd43fd7d500d9d563d469c4f |
22 |
-DIST hiredis-1.0.0.tar.gz 97507 BLAKE2B 247852d53be96e36dbdd7d4d8cfbda4406aa66281f26c28c3f80ab4593679122fd59430b2d5f04d20126b4459fc75af0a1fd67f1ee1db691d8db575debad2b61 SHA512 eb56201121eecdbfc8d42e8c2c141ae77bea248eeb36687ac6835c9b2404f5475beb351c4d8539d552db4d88e933bb2bd5b73f165e62b130bb11aeff39928e69 |
23 |
DIST hiredis-1.0.2.tar.gz 98139 BLAKE2B 86d872cfec3d4e925d5d68e4f4faf1301aa6d706bd0406a8080471e14afc2c25db13b9a0937d29baccd457611af8e46922b5379183c7470c9ae1860aac3af096 SHA512 86497a1c21869bbe535378885eee6dbd594ef96325966511a3513f81e501af0f5ac7fed864f3230372f3ac7a23c05bad477fa5aa90b9747c9fb1408028174f9b |
24 |
|
25 |
diff --git a/dev-libs/hiredis/hiredis-1.0.0-r1.ebuild b/dev-libs/hiredis/hiredis-1.0.0-r1.ebuild |
26 |
deleted file mode 100644 |
27 |
index 29a0b6bb7431..000000000000 |
28 |
--- a/dev-libs/hiredis/hiredis-1.0.0-r1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,87 +0,0 @@ |
31 |
-# Copyright 1999-2021 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-inherit toolchain-funcs |
37 |
- |
38 |
-DESCRIPTION="Minimalistic C client library for the Redis database" |
39 |
-HOMEPAGE="https://github.com/redis/hiredis" |
40 |
-SRC_URI="https://github.com/redis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
- |
42 |
-LICENSE="BSD" |
43 |
-SLOT="0/1.0.0" |
44 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 ~x64-solaris" |
45 |
-IUSE="examples ssl static-libs test" |
46 |
-RESTRICT="!test? ( test )" |
47 |
- |
48 |
-DEPEND="ssl? ( dev-libs/openssl:= )" |
49 |
-RDEPEND="${RDEPEND}" |
50 |
-BDEPEND="test? ( dev-db/redis )" |
51 |
- |
52 |
-PATCHES=( |
53 |
- "${FILESDIR}"/${PN}-1.0.0-disable-network-tests.patch |
54 |
-) |
55 |
- |
56 |
-src_prepare() { |
57 |
- default |
58 |
- |
59 |
- # use GNU ld syntax on Solaris |
60 |
- sed -i -e '/DYLIB_MAKE_CMD=.* -G/d' Makefile || die |
61 |
-} |
62 |
- |
63 |
-_build() { |
64 |
- emake \ |
65 |
- AR="$(tc-getAR)" \ |
66 |
- CC="$(tc-getCC)" \ |
67 |
- PREFIX="${EPREFIX}/usr" \ |
68 |
- LIBRARY_PATH="$(get_libdir)" \ |
69 |
- USE_SSL=$(usex ssl 1 0) \ |
70 |
- DEBUG_FLAGS= \ |
71 |
- OPTIMIZATION= \ |
72 |
- "$@" |
73 |
-} |
74 |
- |
75 |
-src_compile() { |
76 |
- # The static lib re-uses the same objects as the shared lib, so |
77 |
- # overhead is low w/creating it all the time. It's also needed |
78 |
- # by the tests. |
79 |
- _build dynamic static hiredis.pc |
80 |
-} |
81 |
- |
82 |
-src_test() { |
83 |
- local REDIS_PID="${T}"/hiredis.pid |
84 |
- local REDIS_SOCK="${T}"/hiredis.sock |
85 |
- local REDIS_PORT=56379 |
86 |
- local REDIS_TEST_CONFIG=" |
87 |
- daemonize yes |
88 |
- pidfile ${REDIS_PID} |
89 |
- port ${REDIS_PORT} |
90 |
- bind 127.0.0.1 |
91 |
- unixsocket //${REDIS_SOCK} |
92 |
- " |
93 |
- |
94 |
- _build hiredis-test |
95 |
- |
96 |
- "${EPREFIX}"/usr/sbin/redis-server - <<< "${REDIS_TEST_CONFIG}" || die |
97 |
- ./hiredis-test -h 127.0.0.1 -p ${REDIS_PID} -s ${REDIS_SOCK} |
98 |
- local ret=$? |
99 |
- |
100 |
- kill "$(<"${REDIS_PID}")" || die |
101 |
- [[ ${ret} != "0" ]] && die "tests failed" |
102 |
-} |
103 |
- |
104 |
-src_install() { |
105 |
- _build PREFIX="${ED}/usr" install |
106 |
- |
107 |
- if ! use static-libs ; then |
108 |
- find "${ED}" -name '*.a' -delete || die |
109 |
- fi |
110 |
- |
111 |
- insinto /usr/$(get_libdir)/pkgconfig |
112 |
- doins ${PN}.pc |
113 |
- |
114 |
- local DOCS=( CHANGELOG.md README.md ) |
115 |
- use examples && DOCS+=( examples ) |
116 |
- einstalldocs |
117 |
-} |