From d934827bf44b7cfcf6711964418148fa60877668 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 25 Nov 2020 22:39:15 +0000 Subject: gentoo resync : 25.11.2020 --- app-text/dos2unix/Manifest | 4 +- app-text/dos2unix/dos2unix-7.4.2.ebuild | 90 +++++++++++++++++++++++++++ app-text/dos2unix/dos2unix-7.4.2_beta1.ebuild | 90 --------------------------- 3 files changed, 92 insertions(+), 92 deletions(-) create mode 100644 app-text/dos2unix/dos2unix-7.4.2.ebuild delete mode 100644 app-text/dos2unix/dos2unix-7.4.2_beta1.ebuild (limited to 'app-text/dos2unix') diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest index b3337deb95d2..f1f41e6246c0 100644 --- a/app-text/dos2unix/Manifest +++ b/app-text/dos2unix/Manifest @@ -1,7 +1,7 @@ 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-beta1.tar.gz 712261 BLAKE2B 020b51a53b3b8ac601efd0f3fa424fbe5a42ca5b06e1f7282c2aca021e22b38aac21e4aa7b42ed428c95053d57bb5c35483881b06dc580b533eac2fe716142a2 SHA512 323c0dd90616bca1891f8228d43bca1c6415b5765f5fba4ccf5ce692da9b545c8f10f908ba5ebd65c3409fb4d9fdaaa2fb36d589faa8b5940d27ecf8f72bc422 +DIST dos2unix-7.4.2.tar.gz 727429 BLAKE2B 5ba8aecfe3a79dfe9f4d7d69453fdcdd573c8889b41240c6bce5fea1b7e9e8213454af98f768cb2d199c85684a7d48192ba4bf856a92b867594b52a2209d5e04 SHA512 3fb77561596bafd83f3f7807ce967e58d5a96e5235afe3a4074ae7112297445690b2586bf652eb0b5bd1984fd41a79478355f6df8244561b4167a8a09593110d EBUILD dos2unix-7.3.5.ebuild 2060 BLAKE2B 79addcc1d203a536003d9ac775c520f09a3f816898e1c888e5d3305500db1a18439d9503f365e91e2c5379456101c1e090926191d09f67d5eae00c6cd632f418 SHA512 c486b0abc3b9ca00bd4fc0909298ad4340d6b84e949ffe7f61ac2e0c05a9aa47b83a72616d1b53f867f2b51ec04dd44467f988311cd9a11e031ba2e4a4ed1936 EBUILD dos2unix-7.4.1.ebuild 2080 BLAKE2B 4ee1a14eabb90520cdfb6a163d2bc04f2c3aa7632914e47efc8d5c77e974d2590d422eab6e59cae6e4ce0ecd0723721a640797b8a5b6390a2041cec6f7919cf3 SHA512 71a45fdfd99e9e0ac65b12f81e7f7ff5d15608f82521f24a5bdc17bf439237aa6546e0bdfa8dc6a5e00b3c02344d14f43ea1ab5dbf219c8221b988e1e87f941b -EBUILD dos2unix-7.4.2_beta1.ebuild 2143 BLAKE2B 053aa58e57e7c752e0f23db32bc0b4dc0f7d56ed152f9c2d2b0760c9b1b1a37683355bf160b794b5371a54be302238c20939ee45be81d221f6ed4502bb40bcea SHA512 92c0bac78e01a5896b70f3c8199e3f16165b912eaf3388dacf3bcf42bd7cb6e0de77f59c687058ab0cdaa588ce8350c3df77e59bd2b211bb160a8a3b271365cb +EBUILD dos2unix-7.4.2.ebuild 2147 BLAKE2B 1bbb99a76ee393c233e796ee51262fe5eeed6e6584d192d78cfc150aa845a085c86919170ca8acd78d18e16312dc1b217b4a3091a3e42b3f80d01efd66ff1093 SHA512 28aa107c6cdb86b274e577fcef12f7e46bfa1965bd0ac4b2e9bd0dd0737813a3bda34f0693dd9afbb0c8a5d577cd99cbf326a68d7598b960bd98644a29e4bf05 MISC metadata.xml 343 BLAKE2B c4023a36777a79352885528afd87e7709255ccf7f02d9ba28e29eb11f6c67c2775eeeec4f2db95b427b94859e70e7cd276984bca828eb872116e7ec33751c31c SHA512 12f79ed9fdd8df3c05110ea2a31123ca92a855cdf9287910802cb4e68c384764cc84c29929376426b23bfe9699574dbbdc2105d82c6e2701aa9fe67079d867f3 diff --git a/app-text/dos2unix/dos2unix-7.4.2.ebuild b/app-text/dos2unix/dos2unix-7.4.2.ebuild new file mode 100644 index 000000000000..591c044b4780 --- /dev/null +++ b/app-text/dos2unix/dos2unix-7.4.2.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PLOCALES="da de eo es fr fur 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" +[[ "${PV}" == *_beta* ]] || \ +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-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 )" + +S="${WORKDIR}/${P/_/-}" + +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.2_beta1.ebuild b/app-text/dos2unix/dos2unix-7.4.2_beta1.ebuild deleted file mode 100644 index 21a971f34cee..000000000000 --- a/app-text/dos2unix/dos2unix-7.4.2_beta1.ebuild +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright 1999-2020 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" -[[ "${PV}" == *_beta* ]] || \ -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-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 )" - -S="${WORKDIR}/${P/_/-}" - -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 -} -- cgit v1.2.3