1 |
commit: 5f4335ba8419f37cc3a48911d1e6019cdf155868 |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 24 02:24:39 2020 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 24 02:24:39 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f4335ba |
7 |
|
8 |
net-libs/serf: remove old |
9 |
|
10 |
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> |
11 |
|
12 |
net-libs/serf/serf-1.3.9-r1.ebuild | 74 -------------------------------------- |
13 |
1 file changed, 74 deletions(-) |
14 |
|
15 |
diff --git a/net-libs/serf/serf-1.3.9-r1.ebuild b/net-libs/serf/serf-1.3.9-r1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 94fa59dfda6..00000000000 |
18 |
--- a/net-libs/serf/serf-1.3.9-r1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,74 +0,0 @@ |
21 |
-# Copyright 1999-2020 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI="7" |
25 |
- |
26 |
-PYTHON_COMPAT=( python3_6 python3_7 python3_8 ) |
27 |
- |
28 |
-inherit python-any-r1 scons-utils toolchain-funcs flag-o-matic |
29 |
- |
30 |
-DESCRIPTION="HTTP client library" |
31 |
-HOMEPAGE="https://serf.apache.org/" |
32 |
-SRC_URI="mirror://apache/${PN}/${P}.tar.bz2" |
33 |
- |
34 |
-LICENSE="Apache-2.0" |
35 |
-SLOT="1" |
36 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris" |
37 |
-IUSE="kerberos static-libs libressl" |
38 |
-RESTRICT="test" |
39 |
- |
40 |
-RDEPEND="dev-libs/apr:1= |
41 |
- dev-libs/apr-util:1= |
42 |
- !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) |
43 |
- sys-libs/zlib:0= |
44 |
- kerberos? ( virtual/krb5 )" |
45 |
-DEPEND="${RDEPEND} |
46 |
- >=dev-util/scons-2.3.0" |
47 |
- |
48 |
-PATCHES=( "${FILESDIR}"/${PN}-1.3.8-static-lib.patch |
49 |
- "${FILESDIR}"/${PN}-1.3.8-openssl.patch |
50 |
- "${FILESDIR}"/${PN}-1.3.9-python3.patch |
51 |
- "${FILESDIR}"/${PN}-1.3.9-python3_byte.patch ) |
52 |
- |
53 |
-src_prepare() { |
54 |
- default |
55 |
- |
56 |
- # https://code.google.com/p/serf/issues/detail?id=133 |
57 |
- sed -e "/env.Append(CCFLAGS=\['-O2'\])/d" -i SConstruct |
58 |
- |
59 |
- # need limits.h for PATH_MAX (only when EXTENSIONS is enabled) |
60 |
- [[ ${CHOST} == *-solaris* ]] && append-cppflags -D__EXTENSIONS__ |
61 |
-} |
62 |
- |
63 |
-src_compile() { |
64 |
- myesconsargs=( |
65 |
- PREFIX="${EPREFIX}/usr" |
66 |
- LIBDIR="${EPREFIX}/usr/$(get_libdir)" |
67 |
- # These config scripts are sent through a shell with an empty env |
68 |
- # which breaks the SYSROOT usage in them. Set the vars inline to |
69 |
- # avoid that. |
70 |
- APR="SYSROOT='${SYSROOT}' ${SYSROOT}${EPREFIX}/usr/bin/apr-1-config" |
71 |
- APU="SYSROOT='${SYSROOT}' ${SYSROOT}${EPREFIX}/usr/bin/apu-1-config" |
72 |
- BUILD_STATIC=$(usex static-libs) |
73 |
- AR="$(tc-getAR)" |
74 |
- RANLIB="$(tc-getRANLIB)" |
75 |
- CC="$(tc-getCC)" |
76 |
- CPPFLAGS="${CPPFLAGS}" |
77 |
- CFLAGS="${CFLAGS}" |
78 |
- LINKFLAGS="${LDFLAGS}" |
79 |
- ) |
80 |
- |
81 |
- if use kerberos; then |
82 |
- myesconsargs+=( GSSAPI="${SYSROOT}${EPREFIX}/usr/bin/krb5-config" ) |
83 |
- fi |
84 |
- |
85 |
- escons "${myesconsargs[@]}" |
86 |
-} |
87 |
- |
88 |
-src_test() { |
89 |
- escons check |
90 |
-} |
91 |
- |
92 |
-src_install() { |
93 |
- escons install --install-sandbox="${D}" |
94 |
-} |