app-text/dos2unix: drop 7.5.2, 7.5.4

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2026-05-03 21:49:20 +01:00
parent 1202487be0
commit 7a3f6ea441
3 changed files with 0 additions and 182 deletions

View File

@@ -1,5 +1,3 @@
DIST dos2unix-7.5.2.tar.gz 991485 BLAKE2B 2d88e88960d5deb6531b6eb52f646d0c8f40c361800e2f26632577e9187999599752d30b0c7e4e1f18c0127578311b8be6910e54535c333e092c3ebb70329173 SHA512 d76d799435dd248850f72cc50af2144a51e99f04ea83a1447c4edd828625c83f0afba367da51aa83defced4cbf34f3b75387a0821010f7b212225571036efbb2
DIST dos2unix-7.5.3.tar.gz 955879 BLAKE2B 22dc8b2a186b0424965edc779eaf2afc246cadf19d73f0b98deea2ecaedf9d0a16de6a34691316035d631a035b39ddef0f2f8223fddf96da651fd363ed49c88f SHA512 c586a3c8b3e800a58cfa66ec9f4f6ea5b2c5d3c5dbcc9e4f22798ddb89d2f29f1eba1b8102fd948be0b978b517b25a9f5f469eda215116a31170f223d46f3394
DIST dos2unix-7.5.4.tar.gz 956209 BLAKE2B 5bfd87213521602af7cb0a0bd1809b7920fb08b85c64423ec59e740be7fe249049dd8fdef055fc168b256a720d3044dd643c9c25993bfee73c05730ab956d622 SHA512 f1e02c6c7504a995ac2b6d6a1f68133d56a68ea421831c0d7a67d5023d96f28f23d6cf40caee6a5238934e002c1fa3b52dc16b60eceeeb0a8cbc469e0adbe4bf
DIST dos2unix-7.5.5.tar.gz 996836 BLAKE2B 4e3460dab4998ce95da057ece774dcaafe10109f196f9b0844e4346ca2fc59bee61a4567a9200bd1f86c216a43be4d6851b40d7869607dec6d72d75f287519b2 SHA512 bbb81056cf8bdaa95cc698c1fd96c9a7efa29da99274c768d2be5aa728120bd075239b10ea9784446c7923924d82783c38cac023e4fa4531fa97daa9c4395304
DIST dos2unix-7.5.5.tar.gz.asc 525 BLAKE2B 019a37533e5ac6e483090b3c19ffac5ca870170d51e051e3b820ac338814e8ce19d4462523a2d99d17cfb771d87bab721699d6118122c09a31d7c03a2c2a09a8 SHA512 b920331ce01c33f25f36e0b90c399dc4bff23a3c6fe74c528a74e1e9f8e7a04062df4c41ffaa08c3c0fa028d1c837b91b14a884d95d3fd28dbcaddae8bd491b2

View File

@@ -1,90 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PLOCALES="ca da de eo es fr fur hu ja ka ko nb nl pl pt_BR ro ru sr sv uk vi zh_CN zh_TW"
inherit plocale toolchain-funcs
DESCRIPTION="Convert DOS or MAC text files to UNIX format or vice versa"
HOMEPAGE="https://waterlander.net/dos2unix/ https://sourceforge.net/projects/dos2unix/"
SRC_URI="
https://waterlander.net/${PN}/files/${P/_/-}.tar.gz
https://downloads.sourceforge.net/${PN}/${P/_/-}.tar.gz
"
S=${WORKDIR}/${P/_/-}
LICENSE="BSD-2"
SLOT="0"
[[ "${PV}" == *_beta* ]] || \
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos"
IUSE="debug nls test"
RESTRICT="!test? ( test )"
RDEPEND="
!app-text/hd2u
virtual/libintl
"
DEPEND="
${RDEPEND}
test? ( virtual/perl-Test-Simple )
"
BDEPEND="
dev-lang/perl
nls? ( sys-devel/gettext )
test? ( elibc_musl? ( sys-apps/musl-locales ) )
"
handle_locales() {
# Make sure locale list is kept up-to-date.
local detected sorted
detected=$(echo $(printf '%s\n' */*.po | sed -e 's:.*/::' -e 's:.po$::' | sort -u))
sorted=$(echo $(printf '%s\n' ${PLOCALES} | sort -u))
if [[ ${sorted} != "${detected}" ]] ; then
eerror "The ebuild needs to be kept in sync."
eerror "PLOCALES: ${sorted}"
eerror "po*/*.po: ${detected}"
die "sync PLOCALES"
fi
# Deal with selective install of locales.
rm_loc() { rm po*/$1.po || die; }
plocale_for_each_disabled_locale rm_loc
}
src_prepare() {
default
handle_locales
sed \
-e '/^LDFLAGS/s|=|+=|' \
-e '/CFLAGS_OS \+=/d' \
-e '/LDFLAGS_EXTRA \+=/d' \
-e "/^CFLAGS/s|-O2|${CFLAGS}|" \
-i Makefile || die
if use debug ; then
sed -e "/^DEBUG/s:0:1:" \
-e "/EXTRA_CFLAGS +=/s:-g::" \
-i Makefile || die
fi
tc-export CC
}
lintl() {
# same logic as from virtual/libintl
use !elibc_glibc && use !elibc_musl && echo "-lintl"
}
src_compile() {
emake prefix="${EPREFIX}/usr" \
$(usex nls "LDFLAGS_EXTRA=$(lintl)" "ENABLE_NLS=")
}
src_install() {
emake DESTDIR="${D}" prefix="${EPREFIX}/usr" \
$(usex nls "" "ENABLE_NLS=") install
}

View File

@@ -1,90 +0,0 @@
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=9
PLOCALES="ca da de eo es fr fur hu ja ka ko nb nl pl pt_BR ro ru sr sv uk vi zh_CN zh_TW"
inherit plocale toolchain-funcs
DESCRIPTION="Convert DOS or MAC text files to UNIX format or vice versa"
HOMEPAGE="https://waterlander.net/dos2unix/ https://sourceforge.net/projects/dos2unix/"
SRC_URI="
https://waterlander.net/${PN}/files/${P/_/-}.tar.gz
https://downloads.sourceforge.net/${PN}/${P/_/-}.tar.gz
"
S=${WORKDIR}/${P/_/-}
LICENSE="BSD-2"
SLOT="0"
[[ "${PV}" == *_beta* ]] || \
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
IUSE="debug nls test"
RESTRICT="!test? ( test )"
RDEPEND="
!app-text/hd2u
virtual/libintl
"
DEPEND="
${RDEPEND}
test? ( virtual/perl-Test-Simple )
"
BDEPEND="
dev-lang/perl
nls? ( sys-devel/gettext )
test? ( elibc_musl? ( sys-apps/musl-locales ) )
"
handle_locales() {
# Make sure locale list is kept up-to-date.
local detected sorted
detected=$(echo $(printf '%s\n' */*.po | sed -e 's:.*/::' -e 's:.po$::' | sort -u))
sorted=$(echo $(printf '%s\n' ${PLOCALES} | sort -u))
if [[ ${sorted} != "${detected}" ]] ; then
eerror "The ebuild needs to be kept in sync."
eerror "PLOCALES: ${sorted}"
eerror "po*/*.po: ${detected}"
die "sync PLOCALES"
fi
# Deal with selective install of locales.
rm_loc() { rm po*/$1.po || die; }
plocale_for_each_disabled_locale rm_loc
}
src_prepare() {
default
handle_locales
sed \
-e '/^LDFLAGS/s|=|+=|' \
-e '/CFLAGS_OS \+=/d' \
-e '/LDFLAGS_EXTRA \+=/d' \
-e "/^CFLAGS/s|-O2|${CFLAGS}|" \
-i Makefile || die
if use debug ; then
sed -e "/^DEBUG/s:0:1:" \
-e "/EXTRA_CFLAGS +=/s:-g::" \
-i Makefile || die
fi
tc-export CC
}
lintl() {
# same logic as from virtual/libintl
use !elibc_glibc && use !elibc_musl && echo "-lintl"
}
src_compile() {
emake prefix="${EPREFIX}/usr" \
$(usex nls "LDFLAGS_EXTRA=$(lintl)" "ENABLE_NLS=")
}
src_install() {
emake DESTDIR="${D}" prefix="${EPREFIX}/usr" \
$(usex nls "" "ENABLE_NLS=") install
}