summaryrefslogtreecommitdiff
path: root/net-vpn/6tunnel/6tunnel-0.13-r1.ebuild
blob: bc238adf9859b71f18feabfc17eb664b3201e082 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{13..14} )
inherit flag-o-matic python-any-r1

DESCRIPTION="TCP proxy for applications that don't speak IPv6"
HOMEPAGE="https://github.com/wojtekka/6tunnel"
SRC_URI="https://github.com/wojtekka/6tunnel/releases/download/${PV}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~riscv ~s390 x86"
IUSE="test"
RESTRICT="!test? ( test )"

BDEPEND="test? ( ${PYTHON_DEPS} )"

PATCHES=( "${FILESDIR}"/${P}-test.patch )

pkg_setup() {
	use test && python-any-r1_pkg_setup
}

src_configure() {
	# bug #943850
	append-cflags -std=gnu17

	default
}