Сравнение detox-1.4.5-r1 с detox-3.0.1
| /usr/portage/app-misc/detox/detox-3.0.1.ebuild 2026-09-28 20:03:05.317111951 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2024 Gentoo Authors |
|
| 1 |
# Copyright 1999-2026 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 |
EAPI=7 |
|
| 4 |
EAPI=8 |
|
| 5 | 5 | |
| 6 | 6 |
inherit autotools |
| 7 | 7 | |
| 8 |
MY_P="${PN}-${PV/_/-}"
|
|
| 9 | ||
| 10 | 8 |
DESCRIPTION="Safely remove spaces and strange characters from filenames" |
| 11 |
HOMEPAGE="http://detox.sourceforge.net/ https://github.com/dharple/detox" |
|
| 9 |
HOMEPAGE="https://github.com/dharple/detox" |
|
| 12 | 10 |
SRC_URI="https://github.com/dharple/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
| 13 |
S="${WORKDIR}"/${MY_P}
|
|
| 14 | 11 | |
| 15 | 12 |
LICENSE="BSD" |
| 16 | 13 |
SLOT="0" |
| 17 | 14 |
KEYWORDS="amd64 ~arm64 ~hppa ~mips ppc ~riscv x86" |
| 15 |
IUSE="test" |
|
| 16 |
RESTRICT="!test? ( test )" |
|
| 18 | 17 | |
| 19 |
RDEPEND="!dev-python/detox" |
|
| 20 |
DEPEND="${RDEPEND}"
|
|
| 21 |
BDEPEND="app-alternatives/yacc |
|
| 22 |
app-alternatives/lex" |
|
| 18 |
BDEPEND=" |
|
| 19 |
app-alternatives/yacc |
|
| 20 |
app-alternatives/lex |
|
| 21 |
virtual/pkgconfig |
|
| 22 |
test? ( >=dev-libs/check-0.10.0 ) |
|
| 23 |
" |
|
| 24 | ||
| 25 |
PATCHES=( |
|
| 26 |
"${FILESDIR}"/${PN}-3.0.1-fix-flags.patch
|
|
| 27 |
) |
|
| 23 | 28 | |
| 24 | 29 |
src_prepare() {
|
| 25 | 30 |
default |
| 26 | ||
| 27 |
sed \ |
|
| 28 |
-e '/detoxrc.sample/d' \ |
|
| 29 |
-i Makefile.am || die |
|
| 30 | ||
| 31 | 31 |
eautoreconf |
| 32 | 32 |
} |
| 33 | 33 | |
| 34 |
src_install() {
|
|
| 35 |
default |
|
| 36 | ||
| 37 |
# bug #811945 |
|
| 38 |
insinto /etc |
|
| 39 |
newins etc/detoxrc.sample detoxrc |
|
| 34 |
src_configure() {
|
|
| 35 |
econf $(use_with test check) |
|
| 40 | 36 |
} |