diff options
author | Sam James <sam@gentoo.org> | 2021-04-19 18:19:41 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-19 20:12:04 +0100 |
commit | ed2cc72bd05e680c241bc8aa4edec7cee871743b (patch) | |
tree | 934418ae01c21a12b5cfab3b27c126ecfc34da3d /app-text/dos2unix | |
parent | app-misc/mmv: drop 1.01b_p18-r1 (epatch) (diff) | |
download | gentoo-ed2cc72bd05e680c241bc8aa4edec7cee871743b.tar.gz gentoo-ed2cc72bd05e680c241bc8aa4edec7cee871743b.tar.bz2 gentoo-ed2cc72bd05e680c241bc8aa4edec7cee871743b.zip |
app-text/dos2unix: drop 7.3.5, 7.4.1
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text/dos2unix')
-rw-r--r-- | app-text/dos2unix/Manifest | 2 | ||||
-rw-r--r-- | app-text/dos2unix/dos2unix-7.3.5.ebuild | 84 | ||||
-rw-r--r-- | app-text/dos2unix/dos2unix-7.4.1.ebuild | 87 |
3 files changed, 0 insertions, 173 deletions
diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest index d930e9f2e5e4..72471086c178 100644 --- a/app-text/dos2unix/Manifest +++ b/app-text/dos2unix/Manifest @@ -1,3 +1 @@ -DIST dos2unix-7.3.5.tar.gz 662133 BLAKE2B e24f77d92fe0c5931f9ca762b79a1713b14cc39b7566f78d55c4fd58bb7d3c0de1f2a8add8ffd6c3fa26a6bae73c412572fc71701e26b7b52f15b51b0de0d294 SHA512 beafefa715d894ec51bd808b18485bcf413f93b888203486e659f7e30b922b32b2f1da2305ef9ae85e54085ba3819bd512957bb872b529fe4728000cec7d3e58 -DIST dos2unix-7.4.1.tar.gz 711570 BLAKE2B 3dbe33007aa3e2ef47ec3dc0c3165987986955fffd7ae1435725014d52ba716626e7891911afe11674beec11fa62a12983c8dfc28cff682ca0c3e798449a9b0f SHA512 81e7cff82d95b298fb218b073f54d17fa851a7507fbd54b3cd9af7c1efa6a7bd3cf59f7a84ffbaf395403bf458650763e1755944451b24f708878a9c62316dc4 DIST dos2unix-7.4.2.tar.gz 727429 BLAKE2B 5ba8aecfe3a79dfe9f4d7d69453fdcdd573c8889b41240c6bce5fea1b7e9e8213454af98f768cb2d199c85684a7d48192ba4bf856a92b867594b52a2209d5e04 SHA512 3fb77561596bafd83f3f7807ce967e58d5a96e5235afe3a4074ae7112297445690b2586bf652eb0b5bd1984fd41a79478355f6df8244561b4167a8a09593110d diff --git a/app-text/dos2unix/dos2unix-7.3.5.ebuild b/app-text/dos2unix/dos2unix-7.3.5.ebuild deleted file mode 100644 index 21b83510afaf..000000000000 --- a/app-text/dos2unix/dos2unix-7.3.5.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PLOCALES="da de eo es fr hu ja nb nl pl pt_BR ru sr sv uk vi zh_CN zh_TW" - -inherit l10n toolchain-funcs - -DESCRIPTION="Convert DOS or MAC text files to UNIX format or vice versa" -HOMEPAGE="http://www.xs4all.nl/~waterlan/dos2unix.html https://sourceforge.net/projects/dos2unix/" -SRC_URI=" - http://www.xs4all.nl/~waterlan/${PN}/${P}.tar.gz - mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris" -IUSE="debug nls test" - -RDEPEND=" - !app-text/hd2u - virtual/libintl" - -DEPEND=" - ${RDEPEND} - nls? ( sys-devel/gettext ) - test? ( virtual/perl-Test-Simple ) - dev-lang/perl" - -RESTRICT="!test? ( test )" - -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; } - l10n_for_each_disabled_locale_do 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_uclibc && 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 -} diff --git a/app-text/dos2unix/dos2unix-7.4.1.ebuild b/app-text/dos2unix/dos2unix-7.4.1.ebuild deleted file mode 100644 index 3b359905bb71..000000000000 --- a/app-text/dos2unix/dos2unix-7.4.1.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PLOCALES="da de eo es fr hu ja nb nl pl pt_BR ru sr sv uk vi zh_CN zh_TW" - -inherit l10n toolchain-funcs - -DESCRIPTION="Convert DOS or MAC text files to UNIX format or vice versa" -HOMEPAGE="http://www.xs4all.nl/~waterlan/dos2unix.html https://sourceforge.net/projects/dos2unix/" -SRC_URI=" - http://www.xs4all.nl/~waterlan/${PN}/${P}.tar.gz - mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris" -IUSE="debug nls test" - -RDEPEND=" - !app-text/hd2u - virtual/libintl" - -DEPEND=" - ${RDEPEND} - test? ( virtual/perl-Test-Simple ) -" -BDEPEND=" - dev-lang/perl - nls? ( sys-devel/gettext ) -" - -RESTRICT="!test? ( test )" - -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; } - l10n_for_each_disabled_locale_do 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_uclibc && 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 -} |