Сравнение fetchmail-6.4.34 с fetchmail-6.4.36
/usr/portage/net-mail/fetchmail/fetchmail-6.4.36.ebuild 2023-10-09 14:52:34.612368479 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
PYTHON_COMPAT=( python3_{9..11} ) |
|
7 |
PYTHON_REQ_USE="tk" |
|
8 | ||
9 |
inherit autotools python-single-r1 systemd tmpfiles toolchain-funcs |
|
6 |
inherit autotools systemd tmpfiles toolchain-funcs |
|
10 | 7 | |
11 | 8 |
DESCRIPTION="the legendary remote-mail retrieval and forwarding utility" |
12 | 9 |
HOMEPAGE="https://www.fetchmail.info/" |
... | ... | |
16 | 13 |
SLOT="0" |
17 | 14 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris" |
18 | 15 |
IUSE="ssl nls kerberos tk socks" |
19 |
REQUIRED_USE="tk? ( ${PYTHON_REQUIRED_USE} )" |
|
20 | 16 | |
21 | 17 |
RDEPEND="acct-user/fetchmail |
22 | 18 |
ssl? ( |
... | ... | |
28 | 24 |
) |
29 | 25 |
nls? ( virtual/libintl ) |
30 | 26 |
!elibc_glibc? ( sys-fs/e2fsprogs ) |
31 |
socks? ( net-proxy/dante ) |
|
32 |
tk? ( |
|
33 |
${PYTHON_DEPS} |
|
34 |
$(python_gen_cond_dep ' |
|
35 |
dev-python/future[${PYTHON_USEDEP}] |
|
36 |
') |
|
37 |
)" |
|
27 |
socks? ( net-proxy/dante )" |
|
38 | 28 |
DEPEND="${RDEPEND} |
39 | 29 |
app-arch/xz-utils |
40 | 30 |
sys-devel/flex |
... | ... | |
47 | 37 |
) |
48 | 38 |
S=${WORKDIR}/${P/_/.} |
49 | 39 | |
50 |
pkg_setup() { |
|
51 |
use tk && python-single-r1_pkg_setup |
|
52 |
} |
|
53 | ||
54 | 40 |
src_prepare() { |
55 | 41 |
default |
56 |
# don't compile during src_install |
|
57 |
use tk && : > "${S}"/py-compile |
|
58 | 42 |
eautoreconf |
59 | 43 |
} |
60 | 44 | |
61 | 45 |
src_configure() { |
62 |
use tk || export PYTHON=: |
|
46 |
export PYTHON=: |
|
63 | 47 | |
64 | 48 |
econf \ |
65 | 49 |
--enable-RPA \ |
... | ... | |
93 | 77 |
for f in contrib/* ; do |
94 | 78 |
[ -f "${f}" ] && dodoc "${f}" |
95 | 79 |
done |
96 | ||
97 |
use tk && python_optimize |
|
98 | 80 |
} |
99 | 81 | |
100 | 82 |
pkg_postinst() { |