[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2023-12-23 Thread Arthur Zamarin
commit: 5cdf4a58b6c98fd00d4aa0276f05c1c6d7f8f4d9
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec 23 16:40:58 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec 23 16:40:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cdf4a58

app-text/dos2unix: Stabilize 7.5.1 x86, #920573

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-text/dos2unix/dos2unix-7.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.5.1.ebuild 
b/app-text/dos2unix/dos2unix-7.5.1.ebuild
index 2748ea9a644f..7473d53407e7 100644
--- a/app-text/dos2unix/dos2unix-7.5.1.ebuild
+++ b/app-text/dos2unix/dos2unix-7.5.1.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${P/_/-}"
 LICENSE="BSD-2"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || \
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2023-12-23 Thread Arthur Zamarin
commit: afef207586fc12ad6d0293aa6c81e1d68bb8f2fc
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec 23 15:50:41 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec 23 15:50:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afef2075

app-text/dos2unix: Stabilize 7.5.1 ppc, #920573

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-text/dos2unix/dos2unix-7.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.5.1.ebuild 
b/app-text/dos2unix/dos2unix-7.5.1.ebuild
index 8c098f59283e..34ac85e651af 100644
--- a/app-text/dos2unix/dos2unix-7.5.1.ebuild
+++ b/app-text/dos2unix/dos2unix-7.5.1.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${P/_/-}"
 LICENSE="BSD-2"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || \
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2023-12-23 Thread Arthur Zamarin
commit: f745d8ce8e6af6473d5323b08d481fbb10311bb0
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec 23 15:50:42 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec 23 15:50:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f745d8ce

app-text/dos2unix: Stabilize 7.5.1 ppc64, #920573

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-text/dos2unix/dos2unix-7.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.5.1.ebuild 
b/app-text/dos2unix/dos2unix-7.5.1.ebuild
index 34ac85e651af..2748ea9a644f 100644
--- a/app-text/dos2unix/dos2unix-7.5.1.ebuild
+++ b/app-text/dos2unix/dos2unix-7.5.1.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${P/_/-}"
 LICENSE="BSD-2"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || \
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2023-12-23 Thread Arthur Zamarin
commit: 9b713337bd3346d64edb4e4a85fac979dd4e1e0e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec 23 15:47:27 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec 23 15:47:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b713337

app-text/dos2unix: Stabilize 7.5.1 sparc, #920573

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-text/dos2unix/dos2unix-7.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.5.1.ebuild 
b/app-text/dos2unix/dos2unix-7.5.1.ebuild
index 1df951286efe..8c098f59283e 100644
--- a/app-text/dos2unix/dos2unix-7.5.1.ebuild
+++ b/app-text/dos2unix/dos2unix-7.5.1.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${P/_/-}"
 LICENSE="BSD-2"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || \
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2023-12-23 Thread Arthur Zamarin
commit: dde390af7c26d5a40c75542f7f01be147f9c93d3
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec 23 15:46:15 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec 23 15:46:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dde390af

app-text/dos2unix: Stabilize 7.5.1 arm64, #920573

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-text/dos2unix/dos2unix-7.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.5.1.ebuild 
b/app-text/dos2unix/dos2unix-7.5.1.ebuild
index 990937cfd7cb..60ba37ff1a1d 100644
--- a/app-text/dos2unix/dos2unix-7.5.1.ebuild
+++ b/app-text/dos2unix/dos2unix-7.5.1.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${P/_/-}"
 LICENSE="BSD-2"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || \
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2023-12-23 Thread Arthur Zamarin
commit: 3935c53f51c8567989a421cf7c124f4a85c663d9
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec 23 15:46:16 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec 23 15:46:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3935c53f

app-text/dos2unix: Stabilize 7.5.1 arm, #920573

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-text/dos2unix/dos2unix-7.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.5.1.ebuild 
b/app-text/dos2unix/dos2unix-7.5.1.ebuild
index 60ba37ff1a1d..1df951286efe 100644
--- a/app-text/dos2unix/dos2unix-7.5.1.ebuild
+++ b/app-text/dos2unix/dos2unix-7.5.1.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${P/_/-}"
 LICENSE="BSD-2"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || \
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2023-12-23 Thread Arthur Zamarin
commit: 5cf24ac4a9fa650376c50ddb05fcf8c94b8cfae0
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec 23 15:46:14 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec 23 15:46:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cf24ac4

app-text/dos2unix: Stabilize 7.5.1 amd64, #920573

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-text/dos2unix/dos2unix-7.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.5.1.ebuild 
b/app-text/dos2unix/dos2unix-7.5.1.ebuild
index 747b4bdd6b6f..990937cfd7cb 100644
--- a/app-text/dos2unix/dos2unix-7.5.1.ebuild
+++ b/app-text/dos2unix/dos2unix-7.5.1.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${P/_/-}"
 LICENSE="BSD-2"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || \
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2023-08-30 Thread Sam James
commit: 4a963ead17c5cc864e06d131687a7be5ae6012aa
Author: Sam James  gentoo  org>
AuthorDate: Thu Aug 31 05:14:21 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Aug 31 05:26:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a963ead

app-text/dos2unix: add 7.5.1

Signed-off-by: Sam James  gentoo.org>

 app-text/dos2unix/Manifest  |  1 +
 app-text/dos2unix/dos2unix-7.5.1.ebuild | 90 +
 2 files changed, 91 insertions(+)

diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest
index d9806ba221af..c3777c9a88a1 100644
--- a/app-text/dos2unix/Manifest
+++ b/app-text/dos2unix/Manifest
@@ -1 +1,2 @@
 DIST dos2unix-7.5.0.tar.gz 957576 BLAKE2B 
5a674d61c9f911a2cb9c20c363fdc0e0affd3b6f26531d37a231aedb5e6a7428116b139d4af12ee32f4107f78ea079fb7a8d008c9630375f4afbc2afa0afb39f
 SHA512 
914cbc3255045b1b87ad702c70844b059f9435ccfe636dc67514f092090b86a9f271789fcde28a9ead4d94a869fb92e334aa115d3cfe2418260ad2233763
+DIST dos2unix-7.5.1.tar.gz 959228 BLAKE2B 
4f4a334a295b702d0540e58a0a86dcf091583d6c2b64f6de9bea883dfe0d70bfa05e8e5b9c8fb867bfd5e66b2eba562da1ca45c60f97bac67bdb275d66de0fe0
 SHA512 
733d163fff4effdf8acb382abec9bcd23f594fa17502e9dde2f24d3326aeb7653eee353bef812090ab8dc055136d236b40c2f778deea4ac026c2eed471e763b5

diff --git a/app-text/dos2unix/dos2unix-7.5.1.ebuild 
b/app-text/dos2unix/dos2unix-7.5.1.ebuild
new file mode 100644
index ..747b4bdd6b6f
--- /dev/null
+++ b/app-text/dos2unix/dos2unix-7.5.1.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2023 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://www.xs4all.nl/~waterlan/dos2unix.html 
https://sourceforge.net/projects/dos2unix/;
+SRC_URI="
+   https://www.xs4all.nl/~waterlan/${PN}/${P/_/-}.tar.gz
+   mirror://sourceforge/${PN}/${P/_/-}.tar.gz
+"
+S="${WORKDIR}/${P/_/-}"
+
+LICENSE="BSD-2"
+SLOT="0"
+[[ "${PV}" == *_beta* ]] || \
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+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; }
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2023-08-27 Thread David Seifert
commit: efb1f08d8df70d466ab3c92f56bf8b5480f71bf4
Author: David Seifert  gentoo  org>
AuthorDate: Sun Aug 27 14:24:20 2023 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Aug 27 14:24:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efb1f08d

app-text/dos2unix: drop 7.4.4

Signed-off-by: David Seifert  gentoo.org>

 app-text/dos2unix/Manifest  |  1 -
 app-text/dos2unix/dos2unix-7.4.4.ebuild | 90 -
 2 files changed, 91 deletions(-)

diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest
index 385d29c91f42..d9806ba221af 100644
--- a/app-text/dos2unix/Manifest
+++ b/app-text/dos2unix/Manifest
@@ -1,2 +1 @@
-DIST dos2unix-7.4.4.tar.gz 914647 BLAKE2B 
eb8d33344780bb15201eed571d7a6a21db0bc13e8e94388c70e1daea84cc0d1dfb9f16b7ed1cd216bb31ffd84dee706e7f2fb46050a299602f7c67c53915ded9
 SHA512 
e7a6b1d90bf0a32aa53b22caa1660dcf58c5874d02a45e80f4cc811cae9bd7b0cb8144301fb6808798100a057c03210925da1d8461e380dff1059f6bee086f55
 DIST dos2unix-7.5.0.tar.gz 957576 BLAKE2B 
5a674d61c9f911a2cb9c20c363fdc0e0affd3b6f26531d37a231aedb5e6a7428116b139d4af12ee32f4107f78ea079fb7a8d008c9630375f4afbc2afa0afb39f
 SHA512 
914cbc3255045b1b87ad702c70844b059f9435ccfe636dc67514f092090b86a9f271789fcde28a9ead4d94a869fb92e334aa115d3cfe2418260ad2233763

diff --git a/app-text/dos2unix/dos2unix-7.4.4.ebuild 
b/app-text/dos2unix/dos2unix-7.4.4.ebuild
deleted file mode 100644
index 7473d53407e7..
--- a/app-text/dos2unix/dos2unix-7.4.4.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2023 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://www.xs4all.nl/~waterlan/dos2unix.html 
https://sourceforge.net/projects/dos2unix/;
-SRC_URI="
-   https://www.xs4all.nl/~waterlan/${PN}/${P/_/-}.tar.gz
-   mirror://sourceforge/${PN}/${P/_/-}.tar.gz
-"
-S="${WORKDIR}/${P/_/-}"
-
-LICENSE="BSD-2"
-SLOT="0"
-[[ "${PV}" == *_beta* ]] || \
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-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; }
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2023-05-18 Thread Sam James
commit: d0569e8ce493cb1a7a6b3cab142c1a52e369650c
Author: Sam James  gentoo  org>
AuthorDate: Fri May 19 04:15:57 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri May 19 04:15:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0569e8c

app-text/dos2unix: drop 7.4.3

Signed-off-by: Sam James  gentoo.org>

 app-text/dos2unix/Manifest  |  1 -
 app-text/dos2unix/dos2unix-7.4.3.ebuild | 89 -
 2 files changed, 90 deletions(-)

diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest
index 416a8a8c6ee1..2bee42780ecf 100644
--- a/app-text/dos2unix/Manifest
+++ b/app-text/dos2unix/Manifest
@@ -1,2 +1 @@
-DIST dos2unix-7.4.3.tar.gz 788278 BLAKE2B 
da959b06e583bbf27a2cb2ce5b1f1a41380722aa09ac75b3d31260e92fd6f1203d87266d3a12201b036a69796b4aa4f23718741036e20fe686801bb368fbde22
 SHA512 
1c6d81348de8aca451174794141d0802685487cf6847fa91f7de745d89bcf2af864fc2ec549b9af72031891d4efcb9731fe823ce05da36d1f9e9890ff2cb60fb
 DIST dos2unix-7.4.4.tar.gz 914647 BLAKE2B 
eb8d33344780bb15201eed571d7a6a21db0bc13e8e94388c70e1daea84cc0d1dfb9f16b7ed1cd216bb31ffd84dee706e7f2fb46050a299602f7c67c53915ded9
 SHA512 
e7a6b1d90bf0a32aa53b22caa1660dcf58c5874d02a45e80f4cc811cae9bd7b0cb8144301fb6808798100a057c03210925da1d8461e380dff1059f6bee086f55

diff --git a/app-text/dos2unix/dos2unix-7.4.3.ebuild 
b/app-text/dos2unix/dos2unix-7.4.3.ebuild
deleted file mode 100644
index bc7cc8179d7a..
--- a/app-text/dos2unix/dos2unix-7.4.3.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PLOCALES="da de eo es fr fur hu ja nb nl pl pt_BR 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="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"
-S="${WORKDIR}/${P/_/-}"
-
-LICENSE="BSD-2"
-SLOT="0"
-[[ "${PV}" == *_beta* ]] || \
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~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; }
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2023-05-18 Thread Sam James
commit: 7b18639d8c12a5b0e092033216418ca8a70175a4
Author: Sam James  gentoo  org>
AuthorDate: Fri May 19 04:16:38 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri May 19 04:16:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b18639d

app-text/dos2unix: add 7.5.0

Signed-off-by: Sam James  gentoo.org>

 app-text/dos2unix/Manifest  |  1 +
 app-text/dos2unix/dos2unix-7.5.0.ebuild | 90 +
 2 files changed, 91 insertions(+)

diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest
index 2bee42780ecf..385d29c91f42 100644
--- a/app-text/dos2unix/Manifest
+++ b/app-text/dos2unix/Manifest
@@ -1 +1,2 @@
 DIST dos2unix-7.4.4.tar.gz 914647 BLAKE2B 
eb8d33344780bb15201eed571d7a6a21db0bc13e8e94388c70e1daea84cc0d1dfb9f16b7ed1cd216bb31ffd84dee706e7f2fb46050a299602f7c67c53915ded9
 SHA512 
e7a6b1d90bf0a32aa53b22caa1660dcf58c5874d02a45e80f4cc811cae9bd7b0cb8144301fb6808798100a057c03210925da1d8461e380dff1059f6bee086f55
+DIST dos2unix-7.5.0.tar.gz 957576 BLAKE2B 
5a674d61c9f911a2cb9c20c363fdc0e0affd3b6f26531d37a231aedb5e6a7428116b139d4af12ee32f4107f78ea079fb7a8d008c9630375f4afbc2afa0afb39f
 SHA512 
914cbc3255045b1b87ad702c70844b059f9435ccfe636dc67514f092090b86a9f271789fcde28a9ead4d94a869fb92e334aa115d3cfe2418260ad2233763

diff --git a/app-text/dos2unix/dos2unix-7.5.0.ebuild 
b/app-text/dos2unix/dos2unix-7.5.0.ebuild
new file mode 100644
index ..ab2e52f35899
--- /dev/null
+++ b/app-text/dos2unix/dos2unix-7.5.0.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2023 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://www.xs4all.nl/~waterlan/dos2unix.html 
https://sourceforge.net/projects/dos2unix/;
+SRC_URI="
+   https://www.xs4all.nl/~waterlan/${PN}/${P/_/-}.tar.gz
+   mirror://sourceforge/${PN}/${P/_/-}.tar.gz
+"
+S="${WORKDIR}/${P/_/-}"
+
+LICENSE="BSD-2"
+SLOT="0"
+[[ "${PV}" == *_beta* ]] || \
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~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; }
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2023-04-16 Thread WANG Xuerui
commit: af838a33decd01c2efa33deb55615fcfd04304e5
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sun Apr 16 05:25:14 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sun Apr 16 12:03:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af838a33

app-text/dos2unix: keyword 7.4.4 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 app-text/dos2unix/dos2unix-7.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.4.4.ebuild 
b/app-text/dos2unix/dos2unix-7.4.4.ebuild
index 5361903e1c25..bb3e6105af60 100644
--- a/app-text/dos2unix/dos2unix-7.4.4.ebuild
+++ b/app-text/dos2unix/dos2unix-7.4.4.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${P/_/-}"
 LICENSE="BSD-2"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || \
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2023-03-24 Thread Arthur Zamarin
commit: 9bf420147193425e9d6195304701bf4640935272
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Mar 24 14:08:37 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar 24 14:08:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bf42014

app-text/dos2unix: Stabilize 7.4.4 sparc, #902637

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-text/dos2unix/dos2unix-7.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.4.4.ebuild 
b/app-text/dos2unix/dos2unix-7.4.4.ebuild
index bdc9649ac54a..5361903e1c25 100644
--- a/app-text/dos2unix/dos2unix-7.4.4.ebuild
+++ b/app-text/dos2unix/dos2unix-7.4.4.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${P/_/-}"
 LICENSE="BSD-2"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || \
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2023-03-24 Thread Arthur Zamarin
commit: b9f6294190ab3c934052ef73578030df6af764e2
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Mar 24 14:01:42 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar 24 14:01:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9f62941

app-text/dos2unix: Stabilize 7.4.4 arm64, #902637

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-text/dos2unix/dos2unix-7.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.4.4.ebuild 
b/app-text/dos2unix/dos2unix-7.4.4.ebuild
index 50b9c020604b..bdc9649ac54a 100644
--- a/app-text/dos2unix/dos2unix-7.4.4.ebuild
+++ b/app-text/dos2unix/dos2unix-7.4.4.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${P/_/-}"
 LICENSE="BSD-2"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || \
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2023-03-21 Thread Sam James
commit: 12a95bdb0da04e3d14fd628ffc883e5adcef7a52
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 22 05:44:37 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 22 05:44:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12a95bdb

app-text/dos2unix: Stabilize 7.4.4 ppc64, #902637

Signed-off-by: Sam James  gentoo.org>

 app-text/dos2unix/dos2unix-7.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.4.4.ebuild 
b/app-text/dos2unix/dos2unix-7.4.4.ebuild
index c78747786dc3..50b9c020604b 100644
--- a/app-text/dos2unix/dos2unix-7.4.4.ebuild
+++ b/app-text/dos2unix/dos2unix-7.4.4.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/${P/_/-}"
 LICENSE="BSD-2"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || \
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2023-02-12 Thread Sam James
commit: b5c6e9e7cae8ca65e7751e942cbfe034672195c3
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 13 04:21:02 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 13 04:21:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5c6e9e7

app-text/dos2unix: add 7.4.4

Signed-off-by: Sam James  gentoo.org>

 app-text/dos2unix/Manifest  |  1 +
 app-text/dos2unix/dos2unix-7.4.4.ebuild | 90 +
 2 files changed, 91 insertions(+)

diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest
index 6a9a84a03711..416a8a8c6ee1 100644
--- a/app-text/dos2unix/Manifest
+++ b/app-text/dos2unix/Manifest
@@ -1 +1,2 @@
 DIST dos2unix-7.4.3.tar.gz 788278 BLAKE2B 
da959b06e583bbf27a2cb2ce5b1f1a41380722aa09ac75b3d31260e92fd6f1203d87266d3a12201b036a69796b4aa4f23718741036e20fe686801bb368fbde22
 SHA512 
1c6d81348de8aca451174794141d0802685487cf6847fa91f7de745d89bcf2af864fc2ec549b9af72031891d4efcb9731fe823ce05da36d1f9e9890ff2cb60fb
+DIST dos2unix-7.4.4.tar.gz 914647 BLAKE2B 
eb8d33344780bb15201eed571d7a6a21db0bc13e8e94388c70e1daea84cc0d1dfb9f16b7ed1cd216bb31ffd84dee706e7f2fb46050a299602f7c67c53915ded9
 SHA512 
e7a6b1d90bf0a32aa53b22caa1660dcf58c5874d02a45e80f4cc811cae9bd7b0cb8144301fb6808798100a057c03210925da1d8461e380dff1059f6bee086f55

diff --git a/app-text/dos2unix/dos2unix-7.4.4.ebuild 
b/app-text/dos2unix/dos2unix-7.4.4.ebuild
new file mode 100644
index ..5c0b6d2870e4
--- /dev/null
+++ b/app-text/dos2unix/dos2unix-7.4.4.ebuild
@@ -0,0 +1,90 @@
+# Copyright 1999-2023 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://www.xs4all.nl/~waterlan/dos2unix.html 
https://sourceforge.net/projects/dos2unix/;
+SRC_URI="
+   https://www.xs4all.nl/~waterlan/${PN}/${P/_/-}.tar.gz
+   mirror://sourceforge/${PN}/${P/_/-}.tar.gz
+"
+S="${WORKDIR}/${P/_/-}"
+
+LICENSE="BSD-2"
+SLOT="0"
+[[ "${PV}" == *_beta* ]] || \
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~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; }
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2022-08-17 Thread Matt Turner
commit: d4b2acc650a82e974022fbd8f8bfe45598218fa9
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Aug 17 13:49:08 2022 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Aug 17 16:21:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4b2acc6

app-text/dos2unix: Drop old versions

Signed-off-by: Matt Turner  gentoo.org>

 app-text/dos2unix/Manifest  |  1 -
 app-text/dos2unix/dos2unix-7.4.2.ebuild | 90 -
 2 files changed, 91 deletions(-)

diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest
index a7860f087875..6a9a84a03711 100644
--- a/app-text/dos2unix/Manifest
+++ b/app-text/dos2unix/Manifest
@@ -1,2 +1 @@
-DIST dos2unix-7.4.2.tar.gz 727429 BLAKE2B 
5ba8aecfe3a79dfe9f4d7d69453fdcdd573c8889b41240c6bce5fea1b7e9e8213454af98f768cb2d199c85684a7d48192ba4bf856a92b867594b52a2209d5e04
 SHA512 
3fb77561596bafd83f3f7807ce967e58d5a96e5235afe3a4074ae7112297445690b2586bf652eb0b5bd1984fd41a79478355f6df8244561b4167a8a09593110d
 DIST dos2unix-7.4.3.tar.gz 788278 BLAKE2B 
da959b06e583bbf27a2cb2ce5b1f1a41380722aa09ac75b3d31260e92fd6f1203d87266d3a12201b036a69796b4aa4f23718741036e20fe686801bb368fbde22
 SHA512 
1c6d81348de8aca451174794141d0802685487cf6847fa91f7de745d89bcf2af864fc2ec549b9af72031891d4efcb9731fe823ce05da36d1f9e9890ff2cb60fb

diff --git a/app-text/dos2unix/dos2unix-7.4.2.ebuild 
b/app-text/dos2unix/dos2unix-7.4.2.ebuild
deleted file mode 100644
index 47f57b19bcd1..
--- a/app-text/dos2unix/dos2unix-7.4.2.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2022 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 plocale 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 arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~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 )"
-
-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; }
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2022-08-02 Thread Agostino Sarubbo
commit: 5bbe51fe77a841c4cd457306d7be36d0281f5ac4
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Aug  2 06:52:15 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Aug  2 06:52:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bbe51fe

app-text/dos2unix: x86 stable wrt bug #862151

Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-text/dos2unix/dos2unix-7.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.4.3.ebuild 
b/app-text/dos2unix/dos2unix-7.4.3.ebuild
index 56475fb3f1be..bc7cc8179d7a 100644
--- a/app-text/dos2unix/dos2unix-7.4.3.ebuild
+++ b/app-text/dos2unix/dos2unix-7.4.3.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${P/_/-}"
 LICENSE="BSD-2"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || \
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2022-08-01 Thread Agostino Sarubbo
commit: c336266d8134efe7db75f1e0ca9180079c5f9e2c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Aug  1 08:04:32 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Aug  1 08:04:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c336266d

app-text/dos2unix: sparc stable wrt bug #862151

Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-text/dos2unix/dos2unix-7.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.4.3.ebuild 
b/app-text/dos2unix/dos2unix-7.4.3.ebuild
index 292b01d2d99c..56475fb3f1be 100644
--- a/app-text/dos2unix/dos2unix-7.4.3.ebuild
+++ b/app-text/dos2unix/dos2unix-7.4.3.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${P/_/-}"
 LICENSE="BSD-2"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || \
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2022-08-01 Thread Agostino Sarubbo
commit: 36066bab7115d81e8b778d2f7774098ba05ca289
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Aug  1 08:00:06 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Aug  1 08:01:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36066bab

app-text/dos2unix: amd64 stable wrt bug #862151

Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-text/dos2unix/dos2unix-7.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.4.3.ebuild 
b/app-text/dos2unix/dos2unix-7.4.3.ebuild
index 93fa261dd1be..292b01d2d99c 100644
--- a/app-text/dos2unix/dos2unix-7.4.3.ebuild
+++ b/app-text/dos2unix/dos2unix-7.4.3.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${P/_/-}"
 LICENSE="BSD-2"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || \
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2022-07-31 Thread Arthur Zamarin
commit: 4293176357a8edf2ff209070ec8588d6a565b2f6
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Jul 31 20:17:06 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Jul 31 20:17:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42931763

app-text/dos2unix: Stabilize 7.4.3 arm64, #862151

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-text/dos2unix/dos2unix-7.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.4.3.ebuild 
b/app-text/dos2unix/dos2unix-7.4.3.ebuild
index 46669cc33d54..93fa261dd1be 100644
--- a/app-text/dos2unix/dos2unix-7.4.3.ebuild
+++ b/app-text/dos2unix/dos2unix-7.4.3.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${P/_/-}"
 LICENSE="BSD-2"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || \
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2022-07-31 Thread Arthur Zamarin
commit: 0d9de360bdc16094958523736fb73b035a58282a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Jul 31 20:16:45 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Jul 31 20:16:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d9de360

app-text/dos2unix: Stabilize 7.4.3 arm, #862151

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-text/dos2unix/dos2unix-7.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.4.3.ebuild 
b/app-text/dos2unix/dos2unix-7.4.3.ebuild
index a0a4e32a37a2..46669cc33d54 100644
--- a/app-text/dos2unix/dos2unix-7.4.3.ebuild
+++ b/app-text/dos2unix/dos2unix-7.4.3.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${P/_/-}"
 LICENSE="BSD-2"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || \
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2022-07-31 Thread Arthur Zamarin
commit: 64481f9cea8ab78ce8801a3bcfc66b1ca9618154
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Jul 31 17:12:27 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Jul 31 17:12:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64481f9c

app-text/dos2unix: Stabilize 7.4.3 ppc, #862151

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-text/dos2unix/dos2unix-7.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.4.3.ebuild 
b/app-text/dos2unix/dos2unix-7.4.3.ebuild
index 4b4b3b4eb64a..a0a4e32a37a2 100644
--- a/app-text/dos2unix/dos2unix-7.4.3.ebuild
+++ b/app-text/dos2unix/dos2unix-7.4.3.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${P/_/-}"
 LICENSE="BSD-2"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || \
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2022-07-31 Thread Arthur Zamarin
commit: fd2ac18b1660737d305d6c318ef51c9de0009023
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Jul 31 17:12:26 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Jul 31 17:12:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd2ac18b

app-text/dos2unix: Stabilize 7.4.3 ppc64, #862151

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-text/dos2unix/dos2unix-7.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.4.3.ebuild 
b/app-text/dos2unix/dos2unix-7.4.3.ebuild
index 65a984556454..4b4b3b4eb64a 100644
--- a/app-text/dos2unix/dos2unix-7.4.3.ebuild
+++ b/app-text/dos2unix/dos2unix-7.4.3.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${P/_/-}"
 LICENSE="BSD-2"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || \
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris 
~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2022-06-05 Thread Sam James
commit: 7b2394d840807c6c06bbd25b16b91953a82d864b
Author: Sam James  gentoo  org>
AuthorDate: Mon Jun  6 01:20:22 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jun  6 01:20:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b2394d8

app-text/dos2unix: add 7.4.3

Signed-off-by: Sam James  gentoo.org>

 app-text/dos2unix/Manifest  |  1 +
 app-text/dos2unix/dos2unix-7.4.3.ebuild | 89 +
 2 files changed, 90 insertions(+)

diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest
index 72471086c178..a7860f087875 100644
--- a/app-text/dos2unix/Manifest
+++ b/app-text/dos2unix/Manifest
@@ -1 +1,2 @@
 DIST dos2unix-7.4.2.tar.gz 727429 BLAKE2B 
5ba8aecfe3a79dfe9f4d7d69453fdcdd573c8889b41240c6bce5fea1b7e9e8213454af98f768cb2d199c85684a7d48192ba4bf856a92b867594b52a2209d5e04
 SHA512 
3fb77561596bafd83f3f7807ce967e58d5a96e5235afe3a4074ae7112297445690b2586bf652eb0b5bd1984fd41a79478355f6df8244561b4167a8a09593110d
+DIST dos2unix-7.4.3.tar.gz 788278 BLAKE2B 
da959b06e583bbf27a2cb2ce5b1f1a41380722aa09ac75b3d31260e92fd6f1203d87266d3a12201b036a69796b4aa4f23718741036e20fe686801bb368fbde22
 SHA512 
1c6d81348de8aca451174794141d0802685487cf6847fa91f7de745d89bcf2af864fc2ec549b9af72031891d4efcb9731fe823ce05da36d1f9e9890ff2cb60fb

diff --git a/app-text/dos2unix/dos2unix-7.4.3.ebuild 
b/app-text/dos2unix/dos2unix-7.4.3.ebuild
new file mode 100644
index ..65a984556454
--- /dev/null
+++ b/app-text/dos2unix/dos2unix-7.4.3.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PLOCALES="da de eo es fr fur hu ja nb nl pl pt_BR 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="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"
+S="${WORKDIR}/${P/_/-}"
+
+LICENSE="BSD-2"
+SLOT="0"
+[[ "${PV}" == *_beta* ]] || \
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~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; }
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2021-04-19 Thread Sam James
commit: ed2cc72bd05e680c241bc8aa4edec7cee871743b
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 19 17:19:41 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 19 19:12:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed2cc72b

app-text/dos2unix: drop 7.3.5, 7.4.1

Signed-off-by: Sam James  gentoo.org>

 app-text/dos2unix/Manifest  |  2 -
 app-text/dos2unix/dos2unix-7.3.5.ebuild | 84 ---
 app-text/dos2unix/dos2unix-7.4.1.ebuild | 87 -
 3 files changed, 173 deletions(-)

diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest
index d930e9f2e5e..72471086c17 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 21b83510afa..000
--- 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 3b359905bb7..000
--- 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"

[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2021-02-14 Thread Sam James
commit: 5b51155502b246e3bacccd3df2a6a9422a332585
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 14 14:52:52 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 14 14:52:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b511555

app-text/dos2unix: Stabilize 7.4.2 arm64, #769650

Signed-off-by: Sam James  gentoo.org>

 app-text/dos2unix/dos2unix-7.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.4.2.ebuild 
b/app-text/dos2unix/dos2unix-7.4.2.ebuild
index 79eb12cc146..23c78b39056 100644
--- a/app-text/dos2unix/dos2unix-7.4.2.ebuild
+++ b/app-text/dos2unix/dos2unix-7.4.2.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 LICENSE="BSD-2"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || \
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris"
+KEYWORDS="~alpha amd64 arm arm64 ~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="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2021-01-05 Thread Sam James
commit: 79557e337e5df1fb573d40f47af94e7b4d48f8ad
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan  5 20:49:32 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan  5 20:49:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79557e33

app-text/dos2unix: Stabilize 7.4.2 x86, #762119

Signed-off-by: Sam James  gentoo.org>

 app-text/dos2unix/dos2unix-7.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.4.2.ebuild 
b/app-text/dos2unix/dos2unix-7.4.2.ebuild
index 10779a08c0c..c53f8dace23 100644
--- a/app-text/dos2unix/dos2unix-7.4.2.ebuild
+++ b/app-text/dos2unix/dos2unix-7.4.2.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 LICENSE="BSD-2"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || \
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="~alpha amd64 arm ~arm64 ~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="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2021-01-03 Thread Sergei Trofimovich
commit: 42508d9ab4b84f13ecdbd658c4f2e7a347e4c63e
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Jan  3 11:54:44 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jan  3 12:09:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42508d9a

app-text/dos2unix: stable 7.4.2 for ppc64

stable wrt bug #762119

Package-Manager: Portage-3.0.12, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 app-text/dos2unix/dos2unix-7.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.4.2.ebuild 
b/app-text/dos2unix/dos2unix-7.4.2.ebuild
index 20771e8c7ae..10779a08c0c 100644
--- a/app-text/dos2unix/dos2unix-7.4.2.ebuild
+++ b/app-text/dos2unix/dos2unix-7.4.2.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 LICENSE="BSD-2"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || \
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="~alpha amd64 arm ~arm64 ~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="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2021-01-03 Thread Sergei Trofimovich
commit: 1b38c03f55a55af9bbba7c37c201c0694f47a5f3
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Jan  3 11:43:58 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jan  3 11:43:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b38c03f

app-text/dos2unix: stable 7.4.2 for ppc

stable wrt bug #762119

Package-Manager: Portage-3.0.12, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 app-text/dos2unix/dos2unix-7.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.4.2.ebuild 
b/app-text/dos2unix/dos2unix-7.4.2.ebuild
index bb1805dc310..20771e8c7ae 100644
--- a/app-text/dos2unix/dos2unix-7.4.2.ebuild
+++ b/app-text/dos2unix/dos2unix-7.4.2.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 LICENSE="BSD-2"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || \
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="~alpha amd64 arm ~arm64 ~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="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2021-01-02 Thread Sam James
commit: 896d034bbe212819976bbbfdac26bcb255d0b904
Author: Sam James  gentoo  org>
AuthorDate: Sun Jan  3 01:17:22 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jan  3 01:17:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=896d034b

app-text/dos2unix: Stabilize 7.4.2 amd64, #762119

Signed-off-by: Sam James  gentoo.org>

 app-text/dos2unix/dos2unix-7.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.4.2.ebuild 
b/app-text/dos2unix/dos2unix-7.4.2.ebuild
index 45a0999b5fc..bb1805dc310 100644
--- a/app-text/dos2unix/dos2unix-7.4.2.ebuild
+++ b/app-text/dos2unix/dos2unix-7.4.2.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 LICENSE="BSD-2"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || \
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="~alpha amd64 arm ~arm64 ~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="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2021-01-01 Thread Sergei Trofimovich
commit: af79fb5bb7b4055782b2b8f4ee49856c218bb961
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Fri Jan  1 11:06:51 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Jan  1 11:20:55 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af79fb5b

app-text/dos2unix: stable 7.4.2 for sparc, bug #762119

Package-Manager: Portage-3.0.9, Repoman-3.0.2
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 app-text/dos2unix/dos2unix-7.4.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-text/dos2unix/dos2unix-7.4.2.ebuild 
b/app-text/dos2unix/dos2unix-7.4.2.ebuild
index 5fbecf258d1..45a0999b5fc 100644
--- a/app-text/dos2unix/dos2unix-7.4.2.ebuild
+++ b/app-text/dos2unix/dos2unix-7.4.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ SRC_URI="
 LICENSE="BSD-2"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || \
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~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="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2020-12-29 Thread Sam James
commit: 2e6b4ae5286654fb65240db55b3a4165db35a7ac
Author: Sam James  gentoo  org>
AuthorDate: Tue Dec 29 20:37:25 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Dec 29 20:37:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e6b4ae5

app-text/dos2unix: Stabilize 7.4.2 arm, #762119

Signed-off-by: Sam James  gentoo.org>

 app-text/dos2unix/dos2unix-7.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.4.2.ebuild 
b/app-text/dos2unix/dos2unix-7.4.2.ebuild
index 6edbea3b26f..5fbecf258d1 100644
--- a/app-text/dos2unix/dos2unix-7.4.2.ebuild
+++ b/app-text/dos2unix/dos2unix-7.4.2.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 LICENSE="BSD-2"
 SLOT="0"
 [[ "${PV}" == *_beta* ]] || \
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~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="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2020-10-13 Thread Lars Wendler
commit: f9b95d184e750b1b0ee4ce4e703d46f203777a58
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Oct 13 14:17:42 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Oct 13 14:19:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9b95d18

app-text/dos2unix: Bump to version 7.4.2. Removed old

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Lars Wendler  gentoo.org>

 app-text/dos2unix/Manifest  | 2 +-
 .../dos2unix/{dos2unix-7.4.2_beta1.ebuild => dos2unix-7.4.2.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest
index ad56d4802a2..d930e9f2e5e 100644
--- a/app-text/dos2unix/Manifest
+++ b/app-text/dos2unix/Manifest
@@ -1,3 +1,3 @@
 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

diff --git a/app-text/dos2unix/dos2unix-7.4.2_beta1.ebuild 
b/app-text/dos2unix/dos2unix-7.4.2.ebuild
similarity index 96%
rename from app-text/dos2unix/dos2unix-7.4.2_beta1.ebuild
rename to app-text/dos2unix/dos2unix-7.4.2.ebuild
index 21a971f34ce..591c044b478 100644
--- a/app-text/dos2unix/dos2unix-7.4.2_beta1.ebuild
+++ b/app-text/dos2unix/dos2unix-7.4.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PLOCALES="da de eo es fr hu ja nb nl pl pt_BR ru sr sv uk vi zh_CN zh_TW"
+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
 



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2019-11-04 Thread Lars Wendler
commit: 981809b8d0aa95b20027695a04ef6f66337e447b
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Nov  4 08:49:31 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Nov  4 08:49:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=981809b8

app-text/dos2unix: Silence stupid QA warning

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Lars Wendler  gentoo.org>

 app-text/dos2unix/dos2unix-7.3.5.ebuild   | 4 +++-
 app-text/dos2unix/dos2unix-7.4.1.ebuild   | 3 +++
 app-text/dos2unix/dos2unix-7.4.2_beta1.ebuild | 3 +++
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.3.5.ebuild 
b/app-text/dos2unix/dos2unix-7.3.5.ebuild
index d871ca54b25..1df77cff620 100644
--- a/app-text/dos2unix/dos2unix-7.3.5.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -28,6 +28,8 @@ DEPEND="
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

diff --git a/app-text/dos2unix/dos2unix-7.4.1.ebuild 
b/app-text/dos2unix/dos2unix-7.4.1.ebuild
index 09270293006..d57d4c02b28 100644
--- a/app-text/dos2unix/dos2unix-7.4.1.ebuild
+++ b/app-text/dos2unix/dos2unix-7.4.1.ebuild
@@ -30,6 +30,9 @@ 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

diff --git a/app-text/dos2unix/dos2unix-7.4.2_beta1.ebuild 
b/app-text/dos2unix/dos2unix-7.4.2_beta1.ebuild
index fa947c87eca..6338a7ec381 100644
--- a/app-text/dos2unix/dos2unix-7.4.2_beta1.ebuild
+++ b/app-text/dos2unix/dos2unix-7.4.2_beta1.ebuild
@@ -31,6 +31,9 @@ BDEPEND="
dev-lang/perl
nls? ( sys-devel/gettext )
 "
+
+RESTRICT="!test? ( test )"
+
 S="${WORKDIR}/${P/_/-}"
 
 handle_locales() {



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2019-11-04 Thread Lars Wendler
commit: 09ffb07ea9a34be7bbf663ad7df0d15bfc7c9bb9
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Nov  4 08:12:34 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Nov  4 08:13:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09ffb07e

app-text/dos2unix: Bump to version 7.4.2_beta1

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Lars Wendler  gentoo.org>

 app-text/dos2unix/Manifest|  1 +
 app-text/dos2unix/dos2unix-7.4.2_beta1.ebuild | 87 +++
 2 files changed, 88 insertions(+)

diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest
index fa2eb801851..dafb60296f1 100644
--- a/app-text/dos2unix/Manifest
+++ b/app-text/dos2unix/Manifest
@@ -1,3 +1,4 @@
 DIST dos2unix-7.3.5.tar.gz 662133 BLAKE2B 
e24f77d92fe0c5931f9ca762b79a1713b14cc39b7566f78d55c4fd58bb7d3c0de1f2a8add8ffd6c3fa26a6bae73c412572fc71701e26b7b52f15b51b0de0d294
 SHA512 
beafefa715d894ec51bd808b18485bcf413f93b888203486e659f7e30b922b32b2f1da2305ef9ae85e54085ba3819bd512957bb872b529fe4728000cec7d3e58
 DIST dos2unix-7.4.0.tar.gz 710339 BLAKE2B 
629c4a410f0cbb0b5b0fdb89c03fbec1965759a747309ad8a4459820bf2151d1861f4040d67ce6934ca27cfc3b6d0495eccd0966045803f065b10520808d9686
 SHA512 
41be6b0c747f4a8e316eccecd468c8250aa6791962485569eb9496def60818ae434d619b5cfb5f80f15f8d17800314f5aefe229dc5d37faaa34e1270575175e9
 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

diff --git a/app-text/dos2unix/dos2unix-7.4.2_beta1.ebuild 
b/app-text/dos2unix/dos2unix-7.4.2_beta1.ebuild
new file mode 100644
index 000..fa947c87eca
--- /dev/null
+++ b/app-text/dos2unix/dos2unix-7.4.2_beta1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2019 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 ~sh ~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 )
+"
+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
+}



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2019-11-04 Thread Lars Wendler
commit: 56e1b2ae3fa7a84a93143730b85b4d7b2553a872
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Nov  4 08:13:07 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Nov  4 08:13:35 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56e1b2ae

app-text/dos2unix: Removed old

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Lars Wendler  gentoo.org>

 app-text/dos2unix/Manifest  |  1 -
 app-text/dos2unix/dos2unix-7.4.0.ebuild | 82 -
 2 files changed, 83 deletions(-)

diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest
index dafb60296f1..ad56d4802a2 100644
--- a/app-text/dos2unix/Manifest
+++ b/app-text/dos2unix/Manifest
@@ -1,4 +1,3 @@
 DIST dos2unix-7.3.5.tar.gz 662133 BLAKE2B 
e24f77d92fe0c5931f9ca762b79a1713b14cc39b7566f78d55c4fd58bb7d3c0de1f2a8add8ffd6c3fa26a6bae73c412572fc71701e26b7b52f15b51b0de0d294
 SHA512 
beafefa715d894ec51bd808b18485bcf413f93b888203486e659f7e30b922b32b2f1da2305ef9ae85e54085ba3819bd512957bb872b529fe4728000cec7d3e58
-DIST dos2unix-7.4.0.tar.gz 710339 BLAKE2B 
629c4a410f0cbb0b5b0fdb89c03fbec1965759a747309ad8a4459820bf2151d1861f4040d67ce6934ca27cfc3b6d0495eccd0966045803f065b10520808d9686
 SHA512 
41be6b0c747f4a8e316eccecd468c8250aa6791962485569eb9496def60818ae434d619b5cfb5f80f15f8d17800314f5aefe229dc5d37faaa34e1270575175e9
 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

diff --git a/app-text/dos2unix/dos2unix-7.4.0.ebuild 
b/app-text/dos2unix/dos2unix-7.4.0.ebuild
deleted file mode 100644
index 7e09f7d15be..000
--- a/app-text/dos2unix/dos2unix-7.4.0.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# 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 ~sh ~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}
-   nls? ( sys-devel/gettext )
-   test? ( virtual/perl-Test-Simple )
-   dev-lang/perl"
-
-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
-}



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2019-09-25 Thread Lars Wendler
commit: bf19d3a349bdf0c6ba0e7216882faf97723fd64f
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Sep 25 22:25:16 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Sep 25 22:38:33 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf19d3a3

papp-text/dos2unix: Bump to version 7.4.1

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Lars Wendler  gentoo.org>

 app-text/dos2unix/Manifest  |  1 +
 app-text/dos2unix/dos2unix-7.4.1.ebuild | 84 +
 2 files changed, 85 insertions(+)

diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest
index 67741b66764..fa2eb801851 100644
--- a/app-text/dos2unix/Manifest
+++ b/app-text/dos2unix/Manifest
@@ -1,2 +1,3 @@
 DIST dos2unix-7.3.5.tar.gz 662133 BLAKE2B 
e24f77d92fe0c5931f9ca762b79a1713b14cc39b7566f78d55c4fd58bb7d3c0de1f2a8add8ffd6c3fa26a6bae73c412572fc71701e26b7b52f15b51b0de0d294
 SHA512 
beafefa715d894ec51bd808b18485bcf413f93b888203486e659f7e30b922b32b2f1da2305ef9ae85e54085ba3819bd512957bb872b529fe4728000cec7d3e58
 DIST dos2unix-7.4.0.tar.gz 710339 BLAKE2B 
629c4a410f0cbb0b5b0fdb89c03fbec1965759a747309ad8a4459820bf2151d1861f4040d67ce6934ca27cfc3b6d0495eccd0966045803f065b10520808d9686
 SHA512 
41be6b0c747f4a8e316eccecd468c8250aa6791962485569eb9496def60818ae434d619b5cfb5f80f15f8d17800314f5aefe229dc5d37faaa34e1270575175e9
+DIST dos2unix-7.4.1.tar.gz 711570 BLAKE2B 
3dbe33007aa3e2ef47ec3dc0c3165987986955fffd7ae1435725014d52ba716626e7891911afe11674beec11fa62a12983c8dfc28cff682ca0c3e798449a9b0f
 SHA512 
81e7cff82d95b298fb218b073f54d17fa851a7507fbd54b3cd9af7c1efa6a7bd3cf59f7a84ffbaf395403bf458650763e1755944451b24f708878a9c62316dc4

diff --git a/app-text/dos2unix/dos2unix-7.4.1.ebuild 
b/app-text/dos2unix/dos2unix-7.4.1.ebuild
new file mode 100644
index 000..09270293006
--- /dev/null
+++ b/app-text/dos2unix/dos2unix-7.4.1.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2019 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 ~sh ~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 )
+"
+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
+}



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2017-12-17 Thread Patrice Clement
commit: 2ceb3ccbf63bde9785112fd5f436752d40cafd2c
Author: Patrice Clement  gentoo  org>
AuthorDate: Sun Dec 17 15:55:27 2017 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Sun Dec 17 15:55:43 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ceb3ccb

app-text/dos2unix: clean up old.

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 app-text/dos2unix/Manifest  |  1 -
 app-text/dos2unix/dos2unix-7.3.4.ebuild | 82 -
 2 files changed, 83 deletions(-)

diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest
index 5e63aacf110..67741b66764 100644
--- a/app-text/dos2unix/Manifest
+++ b/app-text/dos2unix/Manifest
@@ -1,3 +1,2 @@
-DIST dos2unix-7.3.4.tar.gz 640991 BLAKE2B 
143ba62d859105147a0095732dd83f76cfe6a0e2ebcdd6753d8ea3ce47dcbb8372c0006da8be4c4e4efc2af93ba365a4a8d8bc8d451cc562944cec0251e523fd
 SHA512 
29958a2c702acc112b10f3fcb43fbff3b860c6d1f725c153af9a52dc20736755604f77bec37299dc88923a9e9b2ad73b994e9bc6f42f2757fe1819dd9873d710
 DIST dos2unix-7.3.5.tar.gz 662133 BLAKE2B 
e24f77d92fe0c5931f9ca762b79a1713b14cc39b7566f78d55c4fd58bb7d3c0de1f2a8add8ffd6c3fa26a6bae73c412572fc71701e26b7b52f15b51b0de0d294
 SHA512 
beafefa715d894ec51bd808b18485bcf413f93b888203486e659f7e30b922b32b2f1da2305ef9ae85e54085ba3819bd512957bb872b529fe4728000cec7d3e58
 DIST dos2unix-7.4.0.tar.gz 710339 BLAKE2B 
629c4a410f0cbb0b5b0fdb89c03fbec1965759a747309ad8a4459820bf2151d1861f4040d67ce6934ca27cfc3b6d0495eccd0966045803f065b10520808d9686
 SHA512 
41be6b0c747f4a8e316eccecd468c8250aa6791962485569eb9496def60818ae434d619b5cfb5f80f15f8d17800314f5aefe229dc5d37faaa34e1270575175e9

diff --git a/app-text/dos2unix/dos2unix-7.3.4.ebuild 
b/app-text/dos2unix/dos2unix-7.3.4.ebuild
deleted file mode 100644
index 3b4310036b0..000
--- a/app-text/dos2unix/dos2unix-7.3.4.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# 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 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-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"
-
-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
-}



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2017-12-04 Thread Markus Meier
commit: d5c9eb563098537edbfcbc123e664aa111e39755
Author: Markus Meier  gentoo  org>
AuthorDate: Tue Dec  5 05:41:43 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Tue Dec  5 05:41:43 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5c9eb56

app-text/dos2unix: arm stable, bug #633996

Package-Manager: Portage-2.3.13, Repoman-2.3.3
RepoMan-Options: --include-arches="arm"

 app-text/dos2unix/Manifest  | 4 ++--
 app-text/dos2unix/dos2unix-7.3.5.ebuild | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest
index e2168bbec5e..b03a1a38c08 100644
--- a/app-text/dos2unix/Manifest
+++ b/app-text/dos2unix/Manifest
@@ -1,3 +1,3 @@
-DIST dos2unix-7.3.4.tar.gz 640991 SHA256 
8ccda7bbc5a2f903dafd95900abb5bf5e77a769b572ef25150fde4056c5f30c5 SHA512 
29958a2c702acc112b10f3fcb43fbff3b860c6d1f725c153af9a52dc20736755604f77bec37299dc88923a9e9b2ad73b994e9bc6f42f2757fe1819dd9873d710
 WHIRLPOOL 
46c771c63572d0d0301db5bde4734297df037654cbc71e5a8f93003fbf503399ec5026bc53fea3b3b10e346e2b59d24bdcd6d9139342354cdb1b8a6e240deaeb
-DIST dos2unix-7.3.5.tar.gz 662133 SHA256 
a72caa2fb5cb739403315472fe522eda41aabab2a02ad6f5589639330af262e5 SHA512 
beafefa715d894ec51bd808b18485bcf413f93b888203486e659f7e30b922b32b2f1da2305ef9ae85e54085ba3819bd512957bb872b529fe4728000cec7d3e58
 WHIRLPOOL 
e1cda793c7e9a2b0fc61f5c4b9a48db37d41020af14e253b838768e81b0e94ea7a0666be712f79f89b05e5a6f72a1bf8516a01822f5da39062cc0bedf01f
+DIST dos2unix-7.3.4.tar.gz 640991 BLAKE2B 
143ba62d859105147a0095732dd83f76cfe6a0e2ebcdd6753d8ea3ce47dcbb8372c0006da8be4c4e4efc2af93ba365a4a8d8bc8d451cc562944cec0251e523fd
 SHA512 
29958a2c702acc112b10f3fcb43fbff3b860c6d1f725c153af9a52dc20736755604f77bec37299dc88923a9e9b2ad73b994e9bc6f42f2757fe1819dd9873d710
+DIST dos2unix-7.3.5.tar.gz 662133 BLAKE2B 
e24f77d92fe0c5931f9ca762b79a1713b14cc39b7566f78d55c4fd58bb7d3c0de1f2a8add8ffd6c3fa26a6bae73c412572fc71701e26b7b52f15b51b0de0d294
 SHA512 
beafefa715d894ec51bd808b18485bcf413f93b888203486e659f7e30b922b32b2f1da2305ef9ae85e54085ba3819bd512957bb872b529fe4728000cec7d3e58
 DIST dos2unix-7.4.0.tar.gz 710339 SHA256 
bac765abdbd95cdd87a71989d4382c32cf3cbfeee2153f0086cb9cf18261048a SHA512 
41be6b0c747f4a8e316eccecd468c8250aa6791962485569eb9496def60818ae434d619b5cfb5f80f15f8d17800314f5aefe229dc5d37faaa34e1270575175e9
 WHIRLPOOL 
89f093ff96aadbe64f5fb448d2be337464a0059cee3009cd513dbd0315b486c012efe53273467774dc9f884dfe5b1a4ee65903b94c2c5dd8c062ed3e41eed94a

diff --git a/app-text/dos2unix/dos2unix-7.3.5.ebuild 
b/app-text/dos2unix/dos2unix-7.3.5.ebuild
index 1f097e87f84..d871ca54b25 100644
--- a/app-text/dos2unix/dos2unix-7.3.5.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3.5.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2017-10-22 Thread Tobias Klausmann
commit: c1dc2396d749f892f6754df6c451727917da3b85
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Sun Oct 22 21:41:36 2017 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Sun Oct 22 21:41:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1dc2396

app-text/dos2unix-7.3.5-r0: alpha stable

Gentoo-Bug: http://bugs.gentoo.org/633996

 app-text/dos2unix/dos2unix-7.3.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.3.5.ebuild 
b/app-text/dos2unix/dos2unix-7.3.5.ebuild
index d6307cab189..1f097e87f84 100644
--- a/app-text/dos2unix/dos2unix-7.3.5.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3.5.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2017-10-14 Thread Sergei Trofimovich
commit: fbafe0157b7f0475d563e4ff7632797cbd81320b
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Oct 14 17:19:11 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Oct 14 17:20:06 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbafe015

app-text/dos2unix: stable 7.3.5 for ppc/ppc64, bug #633996

Package-Manager: Portage-2.3.10, Repoman-2.3.3
RepoMan-Options: --include-arches="ppc ppc64"

 app-text/dos2unix/dos2unix-7.3.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.3.5.ebuild 
b/app-text/dos2unix/dos2unix-7.3.5.ebuild
index 825339eaa92..d6307cab189 100644
--- a/app-text/dos2unix/dos2unix-7.3.5.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3.5.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="~alpha amd64 ~arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2017-10-13 Thread Thomas Deutschmann
commit: a0af1e5f6983633fbb676b60cc95c6d10927ea7e
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Oct 13 14:17:41 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Oct 13 14:31:18 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0af1e5f

app-text/dos2unix: x86 stable (bug #633996)

Package-Manager: Portage-2.3.10, Repoman-2.3.3

 app-text/dos2unix/dos2unix-7.3.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.3.5.ebuild 
b/app-text/dos2unix/dos2unix-7.3.5.ebuild
index ad3f17b2e70..825339eaa92 100644
--- a/app-text/dos2unix/dos2unix-7.3.5.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3.5.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="~alpha amd64 ~arm hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2017-10-12 Thread Sergei Trofimovich
commit: 9189989731ed2de603639f2501fa9b736d0ebc50
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Oct 12 21:02:18 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Oct 13 00:13:02 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91899897

app-text/dos2unix: stable 7.3.5 for ia64, bug #633996

Package-Manager: Portage-2.3.10, Repoman-2.3.3
RepoMan-Options: --include-arches="ia64"

 app-text/dos2unix/dos2unix-7.3.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.3.5.ebuild 
b/app-text/dos2unix/dos2unix-7.3.5.ebuild
index e7ed026a27f..ad3f17b2e70 100644
--- a/app-text/dos2unix/dos2unix-7.3.5.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3.5.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="~alpha amd64 ~arm hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2017-10-12 Thread Manuel Rüger
commit: 914145c6e7a99a12b58578f6fe3748b3cdf193f4
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Oct 12 19:22:53 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Oct 12 19:22:53 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=914145c6

app-text/dos2unix: Stable on amd64

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 app-text/dos2unix/dos2unix-7.3.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.3.5.ebuild 
b/app-text/dos2unix/dos2unix-7.3.5.ebuild
index 3ed4ddaa73a..e7ed026a27f 100644
--- a/app-text/dos2unix/dos2unix-7.3.5.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3.5.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2017-10-11 Thread Sergei Trofimovich
commit: 72369a80685e559a3bf5914ce6a3eb130cc852d8
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Wed Oct 11 14:41:29 2017 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Oct 11 14:41:49 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72369a80

app-text/dos2unix: stable 7.3.5 for hppa/sparc, bug #633996 (thanks to Rolf 
Eike Beer)

Package-Manager: Portage-2.3.10, Repoman-2.3.3
RepoMan-Options: --include-arches="hppa sparc"

 app-text/dos2unix/dos2unix-7.3.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.3.5.ebuild 
b/app-text/dos2unix/dos2unix-7.3.5.ebuild
index 7e09f7d15be..3ed4ddaa73a 100644
--- a/app-text/dos2unix/dos2unix-7.3.5.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3.5.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2017-10-11 Thread Lars Wendler
commit: 7925fdcbac69de3e5ed6db62fc01b08a8ba3f5e9
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Oct 11 07:16:58 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Oct 11 07:47:02 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7925fdcb

app-text/dos2unix: Bump to version 7.4.0

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 app-text/dos2unix/Manifest  |  1 +
 app-text/dos2unix/dos2unix-7.4.0.ebuild | 82 +
 2 files changed, 83 insertions(+)

diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest
index 325cbd78f8f..e2168bbec5e 100644
--- a/app-text/dos2unix/Manifest
+++ b/app-text/dos2unix/Manifest
@@ -1,2 +1,3 @@
 DIST dos2unix-7.3.4.tar.gz 640991 SHA256 
8ccda7bbc5a2f903dafd95900abb5bf5e77a769b572ef25150fde4056c5f30c5 SHA512 
29958a2c702acc112b10f3fcb43fbff3b860c6d1f725c153af9a52dc20736755604f77bec37299dc88923a9e9b2ad73b994e9bc6f42f2757fe1819dd9873d710
 WHIRLPOOL 
46c771c63572d0d0301db5bde4734297df037654cbc71e5a8f93003fbf503399ec5026bc53fea3b3b10e346e2b59d24bdcd6d9139342354cdb1b8a6e240deaeb
 DIST dos2unix-7.3.5.tar.gz 662133 SHA256 
a72caa2fb5cb739403315472fe522eda41aabab2a02ad6f5589639330af262e5 SHA512 
beafefa715d894ec51bd808b18485bcf413f93b888203486e659f7e30b922b32b2f1da2305ef9ae85e54085ba3819bd512957bb872b529fe4728000cec7d3e58
 WHIRLPOOL 
e1cda793c7e9a2b0fc61f5c4b9a48db37d41020af14e253b838768e81b0e94ea7a0666be712f79f89b05e5a6f72a1bf8516a01822f5da39062cc0bedf01f
+DIST dos2unix-7.4.0.tar.gz 710339 SHA256 
bac765abdbd95cdd87a71989d4382c32cf3cbfeee2153f0086cb9cf18261048a SHA512 
41be6b0c747f4a8e316eccecd468c8250aa6791962485569eb9496def60818ae434d619b5cfb5f80f15f8d17800314f5aefe229dc5d37faaa34e1270575175e9
 WHIRLPOOL 
89f093ff96aadbe64f5fb448d2be337464a0059cee3009cd513dbd0315b486c012efe53273467774dc9f884dfe5b1a4ee65903b94c2c5dd8c062ed3e41eed94a

diff --git a/app-text/dos2unix/dos2unix-7.4.0.ebuild 
b/app-text/dos2unix/dos2unix-7.4.0.ebuild
new file mode 100644
index 000..7e09f7d15be
--- /dev/null
+++ b/app-text/dos2unix/dos2unix-7.4.0.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2017 Gentoo Foundation
+# 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 ~sh ~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}
+   nls? ( sys-devel/gettext )
+   test? ( virtual/perl-Test-Simple )
+   dev-lang/perl"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2017-07-27 Thread Fabian Groffen
commit: 69fcef6c23c86c91dd6a1ec4e7799a8bacecd7d1
Author: Fabian Groffen  gentoo  org>
AuthorDate: Thu Jul 27 10:36:55 2017 +
Commit: Fabian Groffen  gentoo  org>
CommitDate: Thu Jul 27 10:37:31 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69fcef6c

app-text/dos2unix: marked ~x64-macos, bug #569772

Package-Manager: Portage-2.3.6-prefix, Repoman-2.3.3

 app-text/dos2unix/dos2unix-7.3.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.3.5.ebuild 
b/app-text/dos2unix/dos2unix-7.3.5.ebuild
index 5ae2e2d762f..7e09f7d15be 100644
--- a/app-text/dos2unix/dos2unix-7.3.5.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3.5.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2017-07-05 Thread Lars Wendler
commit: 49f81205cb36b861dfde432e9bfea4ba9dc06c1d
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Jul  5 07:26:18 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Jul  5 07:26:18 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49f81205

app-text/dos2unix: Bump to version 7.3.5

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 app-text/dos2unix/Manifest  |  1 +
 app-text/dos2unix/dos2unix-7.3.5.ebuild | 82 +
 2 files changed, 83 insertions(+)

diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest
index 96f90334121..325cbd78f8f 100644
--- a/app-text/dos2unix/Manifest
+++ b/app-text/dos2unix/Manifest
@@ -1 +1,2 @@
 DIST dos2unix-7.3.4.tar.gz 640991 SHA256 
8ccda7bbc5a2f903dafd95900abb5bf5e77a769b572ef25150fde4056c5f30c5 SHA512 
29958a2c702acc112b10f3fcb43fbff3b860c6d1f725c153af9a52dc20736755604f77bec37299dc88923a9e9b2ad73b994e9bc6f42f2757fe1819dd9873d710
 WHIRLPOOL 
46c771c63572d0d0301db5bde4734297df037654cbc71e5a8f93003fbf503399ec5026bc53fea3b3b10e346e2b59d24bdcd6d9139342354cdb1b8a6e240deaeb
+DIST dos2unix-7.3.5.tar.gz 662133 SHA256 
a72caa2fb5cb739403315472fe522eda41aabab2a02ad6f5589639330af262e5 SHA512 
beafefa715d894ec51bd808b18485bcf413f93b888203486e659f7e30b922b32b2f1da2305ef9ae85e54085ba3819bd512957bb872b529fe4728000cec7d3e58
 WHIRLPOOL 
e1cda793c7e9a2b0fc61f5c4b9a48db37d41020af14e253b838768e81b0e94ea7a0666be712f79f89b05e5a6f72a1bf8516a01822f5da39062cc0bedf01f

diff --git a/app-text/dos2unix/dos2unix-7.3.5.ebuild 
b/app-text/dos2unix/dos2unix-7.3.5.ebuild
new file mode 100644
index 000..5ae2e2d762f
--- /dev/null
+++ b/app-text/dos2unix/dos2unix-7.3.5.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2017 Gentoo Foundation
+# 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 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-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"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2017-04-12 Thread Tim Harder
commit: eda190af0c78b6d88eecdffa8bfad7a6656bad54
Author: Tim Harder  gentoo  org>
AuthorDate: Wed Apr 12 10:46:46 2017 +
Commit: Tim Harder  gentoo  org>
CommitDate: Wed Apr 12 10:46:46 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eda190af

app-text/dos2unix: remove old

 app-text/dos2unix/Manifest   |  2 -
 app-text/dos2unix/dos2unix-7.3-r1.ebuild | 59 ---
 app-text/dos2unix/dos2unix-7.3.3.ebuild  | 82 
 3 files changed, 143 deletions(-)

diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest
index 88132279dd2..96f90334121 100644
--- a/app-text/dos2unix/Manifest
+++ b/app-text/dos2unix/Manifest
@@ -1,3 +1 @@
-DIST dos2unix-7.3.3.tar.gz 638368 SHA256 
5c910aea2eae96663c67e87627998c4fe3cded403be5819b4c190e56c82ff0fb SHA512 
52218ea17cc63a4b41e1bd12f200dda31e2be65167ca9c913391640c118d7122348aa2e5aec934ee17c8ea77a04cb89a1a572865645a77f6875207295c10e7af
 WHIRLPOOL 
749cabc6d2d57caccf183082689a0d677d7d5b7822c8a92a85a5b2d722284542c95dcd46947ea05a1d2cff1d230351cacf1f0667957f18c7c02c12c6c62f2e16
 DIST dos2unix-7.3.4.tar.gz 640991 SHA256 
8ccda7bbc5a2f903dafd95900abb5bf5e77a769b572ef25150fde4056c5f30c5 SHA512 
29958a2c702acc112b10f3fcb43fbff3b860c6d1f725c153af9a52dc20736755604f77bec37299dc88923a9e9b2ad73b994e9bc6f42f2757fe1819dd9873d710
 WHIRLPOOL 
46c771c63572d0d0301db5bde4734297df037654cbc71e5a8f93003fbf503399ec5026bc53fea3b3b10e346e2b59d24bdcd6d9139342354cdb1b8a6e240deaeb
-DIST dos2unix-7.3.tar.gz 497218 SHA256 
8175f7552a72edaaa8918fdee68ce2cbc982dc25452f33d4dc611d769f4944d1 SHA512 
dc70fc4cf12811794e9b33db7cc44085788450104f7beefacea5ac11af5ca76d909235232be51eb7a32ed5d75a01a86a4c6b064060b945c8a7e7968caeb51cea
 WHIRLPOOL 
55b3990816a122c4bc2219b1f89b5d7f619901693b57349b58222166f5c3e006db08a55a26ce62493009459b9a3c6a091a07ecacabf9450a0a7475fbd9f195ae

diff --git a/app-text/dos2unix/dos2unix-7.3-r1.ebuild 
b/app-text/dos2unix/dos2unix-7.3-r1.ebuild
deleted file mode 100644
index f2198c45e4a..000
--- a/app-text/dos2unix/dos2unix-7.3-r1.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils 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 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-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"
-
-src_prepare() {
-   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 && 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.3.3.ebuild 
b/app-text/dos2unix/dos2unix-7.3.3.ebuild
deleted file mode 100644
index 37598b85e65..000
--- a/app-text/dos2unix/dos2unix-7.3.3.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# 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 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-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"
-
-handle_locales() {
-   # 

[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2017-01-14 Thread Jeroen Roovers
commit: 026f04a562262dae546a3690a7c82071e1502543
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Jan 14 13:11:08 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Jan 14 13:11:08 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=026f04a5

app-text/dos2unix: Stable for HPPA (bug #602080).

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --ignore-arches

 app-text/dos2unix/dos2unix-7.3.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-text/dos2unix/dos2unix-7.3.4.ebuild 
b/app-text/dos2unix/dos2unix-7.3.4.ebuild
index 4989c81..76f73ca 100644
--- a/app-text/dos2unix/dos2unix-7.3.4.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -16,7 +16,7 @@ SRC_URI="
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2016-12-24 Thread Agostino Sarubbo
commit: 41bfed0c3b5891e47e7ca833adbd6b75b747b118
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Dec 24 10:24:43 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Dec 24 10:24:43 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41bfed0c

app-text/dos2unix: arm stable wrt bug #602080

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-text/dos2unix/dos2unix-7.3.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.3.4.ebuild 
b/app-text/dos2unix/dos2unix-7.3.4.ebuild
index 098ef01..4989c81 100644
--- a/app-text/dos2unix/dos2unix-7.3.4.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3.4.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
+KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2016-12-22 Thread Agostino Sarubbo
commit: 58a65f7cf0ca7fde861ffd6347d17a9d7ee88476
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Dec 22 09:31:34 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Dec 22 09:34:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58a65f7c

app-text/dos2unix: ppc64 stable wrt bug #602080

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-text/dos2unix/dos2unix-7.3.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.3.4.ebuild 
b/app-text/dos2unix/dos2unix-7.3.4.ebuild
index bff5d4d..098ef01 100644
--- a/app-text/dos2unix/dos2unix-7.3.4.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3.4.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
+KEYWORDS="alpha amd64 ~arm ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2016-12-20 Thread Agostino Sarubbo
commit: c65bf02e4e3dfb795e10e4f81933547eb4310730
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Dec 20 09:40:31 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Dec 20 09:44:15 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c65bf02e

app-text/dos2unix: ppc stable wrt bug #602080

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-text/dos2unix/dos2unix-7.3.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.3.4.ebuild 
b/app-text/dos2unix/dos2unix-7.3.4.ebuild
index 8935a4e..bff5d4d 100644
--- a/app-text/dos2unix/dos2unix-7.3.4.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3.4.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
+KEYWORDS="alpha amd64 ~arm ~hppa ia64 ~mips ppc ~ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2016-12-19 Thread Agostino Sarubbo
commit: 2850d178a79bb885f5f1d1e790653e42383eb3e0
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Dec 19 15:10:14 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Dec 19 15:12:10 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2850d178

app-text/dos2unix: ia64 stable wrt bug #602080

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-text/dos2unix/dos2unix-7.3.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.3.4.ebuild 
b/app-text/dos2unix/dos2unix-7.3.4.ebuild
index 2c330b1..8935a4e 100644
--- a/app-text/dos2unix/dos2unix-7.3.4.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3.4.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
+KEYWORDS="alpha amd64 ~arm ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2016-12-19 Thread Agostino Sarubbo
commit: 6f87f0bb08771fd4a2e27c6d6f48cff9bc4372a9
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Dec 19 14:32:49 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Dec 19 14:32:49 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f87f0bb

app-text/dos2unix: sparc stable wrt bug #602080

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-text/dos2unix/dos2unix-7.3.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.3.4.ebuild 
b/app-text/dos2unix/dos2unix-7.3.4.ebuild
index 98557ae..2c330b1 100644
--- a/app-text/dos2unix/dos2unix-7.3.4.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3.4.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
+KEYWORDS="alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2016-12-18 Thread Agostino Sarubbo
commit: 2e9e8bc17ee8e63027b79cfc317853eb6e165da9
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Dec 18 15:55:27 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Dec 18 15:55:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e9e8bc1

app-text/dos2unix: x86 stable wrt bug #602080

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-text/dos2unix/dos2unix-7.3.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.3.4.ebuild 
b/app-text/dos2unix/dos2unix-7.3.4.ebuild
index bee9714..98557ae 100644
--- a/app-text/dos2unix/dos2unix-7.3.4.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3.4.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
+KEYWORDS="alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2016-12-17 Thread Aaron Bauman
commit: bab1a0b16bc23320c7839df3f1df28354e4e2ab7
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sat Dec 17 12:19:54 2016 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Dec 17 12:20:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bab1a0b1

app-text/dos2unix: amd64 stable wrt bug #602080

 app-text/dos2unix/dos2unix-7.3.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.3.4.ebuild 
b/app-text/dos2unix/dos2unix-7.3.4.ebuild
index 456f413..bee9714 100644
--- a/app-text/dos2unix/dos2unix-7.3.4.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3.4.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2016-12-14 Thread Tobias Klausmann
commit: 023291a6c703c94ad5df857308e8c5cee0b536ef
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Wed Dec 14 09:02:43 2016 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Wed Dec 14 09:02:43 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=023291a6

app-text/dos2unix-7.3.4-r0: stable on alpha

Gentoo-Bug: 602080

 app-text/dos2unix/dos2unix-7.3.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.3.4.ebuild 
b/app-text/dos2unix/dos2unix-7.3.4.ebuild
index 17b1fe8..456f413 100644
--- a/app-text/dos2unix/dos2unix-7.3.4.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3.4.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2016-08-15 Thread Anthony G. Basile
commit: 67e8f4d68c8e705d0b164830d896137fee4804d8
Author: Felix Janda  posteo  de>
AuthorDate: Wed Aug 10 17:25:20 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Mon Aug 15 14:15:06 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67e8f4d6

app-text/dos2unix: update libintl check

musl also does not need -lintl.

Gentoo-Bug: https://bugs.gentoo.org/590994

 app-text/dos2unix/dos2unix-7.3.3.ebuild | 2 +-
 app-text/dos2unix/dos2unix-7.3.4.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-text/dos2unix/dos2unix-7.3.3.ebuild 
b/app-text/dos2unix/dos2unix-7.3.3.ebuild
index 4b51d4c..17b1fe8 100644
--- a/app-text/dos2unix/dos2unix-7.3.3.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3.3.ebuild
@@ -69,7 +69,7 @@ src_prepare() {
 
 lintl() {
# same logic as from virtual/libintl
-   use !elibc_glibc && use !elibc_uclibc && echo "-lintl"
+   use !elibc_glibc && use !elibc_uclibc && use !elibc_musl && echo 
"-lintl"
 }
 
 src_compile() {

diff --git a/app-text/dos2unix/dos2unix-7.3.4.ebuild 
b/app-text/dos2unix/dos2unix-7.3.4.ebuild
index 4b51d4c..17b1fe8 100644
--- a/app-text/dos2unix/dos2unix-7.3.4.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3.4.ebuild
@@ -69,7 +69,7 @@ src_prepare() {
 
 lintl() {
# same logic as from virtual/libintl
-   use !elibc_glibc && use !elibc_uclibc && echo "-lintl"
+   use !elibc_glibc && use !elibc_uclibc && use !elibc_musl && echo 
"-lintl"
 }
 
 src_compile() {



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2016-05-25 Thread Lars Wendler
commit: fc1c3a5e8911917b04b05c8e10c47c14bcacd5cd
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed May 25 07:41:43 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed May 25 07:41:43 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc1c3a5e

app-text/dos2unix: Bump to version 7.3.4

Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler  gentoo.org>

 app-text/dos2unix/Manifest  |  1 +
 app-text/dos2unix/dos2unix-7.3.4.ebuild | 83 +
 2 files changed, 84 insertions(+)

diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest
index 905e4db..e31c49e 100644
--- a/app-text/dos2unix/Manifest
+++ b/app-text/dos2unix/Manifest
@@ -1,3 +1,4 @@
 DIST dos2unix-7.3.2.tar.gz 601642 SHA256 
c7e8ee0bb3e001cc25a4a908d9a81ac52d124133d6a524a59f995bc90d438689 SHA512 
3d042e720c9854ae42ef72d1acf78ff8ff1cbf3c259d2c8bdba0a0b9cbf754fbe2dee9994cb9513cf1df24f26a857a13e828f0c88dc2e50f91e1c33a122eb385
 WHIRLPOOL 
48652bae9b247f68d9d246ad6e1c9758c04f61de3816126b89bd928bb1e50435b384d05c63a070b851d02657c698d7fbb6de61c1998a9b3d8ed32e0a3354e7ab
 DIST dos2unix-7.3.3.tar.gz 638368 SHA256 
5c910aea2eae96663c67e87627998c4fe3cded403be5819b4c190e56c82ff0fb SHA512 
52218ea17cc63a4b41e1bd12f200dda31e2be65167ca9c913391640c118d7122348aa2e5aec934ee17c8ea77a04cb89a1a572865645a77f6875207295c10e7af
 WHIRLPOOL 
749cabc6d2d57caccf183082689a0d677d7d5b7822c8a92a85a5b2d722284542c95dcd46947ea05a1d2cff1d230351cacf1f0667957f18c7c02c12c6c62f2e16
+DIST dos2unix-7.3.4.tar.gz 640991 SHA256 
8ccda7bbc5a2f903dafd95900abb5bf5e77a769b572ef25150fde4056c5f30c5 SHA512 
29958a2c702acc112b10f3fcb43fbff3b860c6d1f725c153af9a52dc20736755604f77bec37299dc88923a9e9b2ad73b994e9bc6f42f2757fe1819dd9873d710
 WHIRLPOOL 
46c771c63572d0d0301db5bde4734297df037654cbc71e5a8f93003fbf503399ec5026bc53fea3b3b10e346e2b59d24bdcd6d9139342354cdb1b8a6e240deaeb
 DIST dos2unix-7.3.tar.gz 497218 SHA256 
8175f7552a72edaaa8918fdee68ce2cbc982dc25452f33d4dc611d769f4944d1 SHA512 
dc70fc4cf12811794e9b33db7cc44085788450104f7beefacea5ac11af5ca76d909235232be51eb7a32ed5d75a01a86a4c6b064060b945c8a7e7968caeb51cea
 WHIRLPOOL 
55b3990816a122c4bc2219b1f89b5d7f619901693b57349b58222166f5c3e006db08a55a26ce62493009459b9a3c6a091a07ecacabf9450a0a7475fbd9f195ae

diff --git a/app-text/dos2unix/dos2unix-7.3.4.ebuild 
b/app-text/dos2unix/dos2unix-7.3.4.ebuild
new file mode 100644
index 000..5d49f87
--- /dev/null
+++ b/app-text/dos2unix/dos2unix-7.3.4.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 
http://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 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-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"
+
+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 && 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
+}



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2016-03-28 Thread Mike Frysinger
commit: 34056a95fa0636621ef6f7b85e398e21b4cdf1e9
Author: Mike Frysinger  gentoo  org>
AuthorDate: Mon Mar 28 21:56:39 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Mon Mar 28 22:03:45 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34056a95

app-text/dos2unix: respect LINGUAS via l10n.eclass

 app-text/dos2unix/dos2unix-7.3.3.ebuild | 23 ++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.3.3.ebuild 
b/app-text/dos2unix/dos2unix-7.3.3.ebuild
index 97a70f0..5d49f87 100644
--- a/app-text/dos2unix/dos2unix-7.3.3.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3.3.ebuild
@@ -4,7 +4,9 @@
 
 EAPI=6
 
-inherit toolchain-funcs
+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 
http://sourceforge.net/projects/dos2unix/;
@@ -27,9 +29,28 @@ DEPEND="
test? ( virtual/perl-Test-Simple )
dev-lang/perl"
 
+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' \



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2016-02-14 Thread Lars Wendler
commit: 4f76b6c5b94b84339960f46394b9eaf83e18500d
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Feb 14 13:42:23 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Feb 14 13:42:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f76b6c5

app-text/dos2unix: Removed old.

Package-Manager: portage-2.2.27
Signed-off-by: Lars Wendler  gentoo.org>

 app-text/dos2unix/Manifest  |  1 -
 app-text/dos2unix/dos2unix-7.3.1.ebuild | 60 -
 2 files changed, 61 deletions(-)

diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest
index 2f7d1a5..905e4db 100644
--- a/app-text/dos2unix/Manifest
+++ b/app-text/dos2unix/Manifest
@@ -1,4 +1,3 @@
-DIST dos2unix-7.3.1.tar.gz 552530 SHA256 
f4d5df24d181c2efecf7631aab6e894489012396092cf206829f1f9a98556b94 SHA512 
8bfe2ed739f5b28ceddbcd33e8a214b1cbc4b02ddab6f0528d050c411754365b6b7314a857a45cefaf13f719ad86a1fe7c18841e63f851f7f4c9e586cfa4f0fd
 WHIRLPOOL 
5eae8985f5aeabe82230cf9451509469323a3c97e9a256bb6a31e82b77e9d2ac74c88d87147e6feeff9f088a48b9df910f900f9f952bf17809f07ee7478ce060
 DIST dos2unix-7.3.2.tar.gz 601642 SHA256 
c7e8ee0bb3e001cc25a4a908d9a81ac52d124133d6a524a59f995bc90d438689 SHA512 
3d042e720c9854ae42ef72d1acf78ff8ff1cbf3c259d2c8bdba0a0b9cbf754fbe2dee9994cb9513cf1df24f26a857a13e828f0c88dc2e50f91e1c33a122eb385
 WHIRLPOOL 
48652bae9b247f68d9d246ad6e1c9758c04f61de3816126b89bd928bb1e50435b384d05c63a070b851d02657c698d7fbb6de61c1998a9b3d8ed32e0a3354e7ab
 DIST dos2unix-7.3.3.tar.gz 638368 SHA256 
5c910aea2eae96663c67e87627998c4fe3cded403be5819b4c190e56c82ff0fb SHA512 
52218ea17cc63a4b41e1bd12f200dda31e2be65167ca9c913391640c118d7122348aa2e5aec934ee17c8ea77a04cb89a1a572865645a77f6875207295c10e7af
 WHIRLPOOL 
749cabc6d2d57caccf183082689a0d677d7d5b7822c8a92a85a5b2d722284542c95dcd46947ea05a1d2cff1d230351cacf1f0667957f18c7c02c12c6c62f2e16
 DIST dos2unix-7.3.tar.gz 497218 SHA256 
8175f7552a72edaaa8918fdee68ce2cbc982dc25452f33d4dc611d769f4944d1 SHA512 
dc70fc4cf12811794e9b33db7cc44085788450104f7beefacea5ac11af5ca76d909235232be51eb7a32ed5d75a01a86a4c6b064060b945c8a7e7968caeb51cea
 WHIRLPOOL 
55b3990816a122c4bc2219b1f89b5d7f619901693b57349b58222166f5c3e006db08a55a26ce62493009459b9a3c6a091a07ecacabf9450a0a7475fbd9f195ae

diff --git a/app-text/dos2unix/dos2unix-7.3.1.ebuild 
b/app-text/dos2unix/dos2unix-7.3.1.ebuild
deleted file mode 100644
index d8a8be9..000
--- a/app-text/dos2unix/dos2unix-7.3.1.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Convert DOS or MAC text files to UNIX format or vice versa"
-HOMEPAGE="http://www.xs4all.nl/~waterlan/dos2unix.html 
http://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 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-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"
-
-src_prepare() {
-   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 && 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
-}



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2016-02-14 Thread Lars Wendler
commit: 68d298f7a430271376f3dc918f3ba7af79361c3e
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Feb 14 13:41:49 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Feb 14 13:41:49 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68d298f7

app-text/dos2unix: Bump to version 7.3.3

Package-Manager: portage-2.2.27
Signed-off-by: Lars Wendler  gentoo.org>

 app-text/dos2unix/Manifest  |  1 +
 app-text/dos2unix/dos2unix-7.3.3.ebuild | 62 +
 2 files changed, 63 insertions(+)

diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest
index b349a7e..2f7d1a5 100644
--- a/app-text/dos2unix/Manifest
+++ b/app-text/dos2unix/Manifest
@@ -1,3 +1,4 @@
 DIST dos2unix-7.3.1.tar.gz 552530 SHA256 
f4d5df24d181c2efecf7631aab6e894489012396092cf206829f1f9a98556b94 SHA512 
8bfe2ed739f5b28ceddbcd33e8a214b1cbc4b02ddab6f0528d050c411754365b6b7314a857a45cefaf13f719ad86a1fe7c18841e63f851f7f4c9e586cfa4f0fd
 WHIRLPOOL 
5eae8985f5aeabe82230cf9451509469323a3c97e9a256bb6a31e82b77e9d2ac74c88d87147e6feeff9f088a48b9df910f900f9f952bf17809f07ee7478ce060
 DIST dos2unix-7.3.2.tar.gz 601642 SHA256 
c7e8ee0bb3e001cc25a4a908d9a81ac52d124133d6a524a59f995bc90d438689 SHA512 
3d042e720c9854ae42ef72d1acf78ff8ff1cbf3c259d2c8bdba0a0b9cbf754fbe2dee9994cb9513cf1df24f26a857a13e828f0c88dc2e50f91e1c33a122eb385
 WHIRLPOOL 
48652bae9b247f68d9d246ad6e1c9758c04f61de3816126b89bd928bb1e50435b384d05c63a070b851d02657c698d7fbb6de61c1998a9b3d8ed32e0a3354e7ab
+DIST dos2unix-7.3.3.tar.gz 638368 SHA256 
5c910aea2eae96663c67e87627998c4fe3cded403be5819b4c190e56c82ff0fb SHA512 
52218ea17cc63a4b41e1bd12f200dda31e2be65167ca9c913391640c118d7122348aa2e5aec934ee17c8ea77a04cb89a1a572865645a77f6875207295c10e7af
 WHIRLPOOL 
749cabc6d2d57caccf183082689a0d677d7d5b7822c8a92a85a5b2d722284542c95dcd46947ea05a1d2cff1d230351cacf1f0667957f18c7c02c12c6c62f2e16
 DIST dos2unix-7.3.tar.gz 497218 SHA256 
8175f7552a72edaaa8918fdee68ce2cbc982dc25452f33d4dc611d769f4944d1 SHA512 
dc70fc4cf12811794e9b33db7cc44085788450104f7beefacea5ac11af5ca76d909235232be51eb7a32ed5d75a01a86a4c6b064060b945c8a7e7968caeb51cea
 WHIRLPOOL 
55b3990816a122c4bc2219b1f89b5d7f619901693b57349b58222166f5c3e006db08a55a26ce62493009459b9a3c6a091a07ecacabf9450a0a7475fbd9f195ae

diff --git a/app-text/dos2unix/dos2unix-7.3.3.ebuild 
b/app-text/dos2unix/dos2unix-7.3.3.ebuild
new file mode 100644
index 000..97a70f0
--- /dev/null
+++ b/app-text/dos2unix/dos2unix-7.3.3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Convert DOS or MAC text files to UNIX format or vice versa"
+HOMEPAGE="http://www.xs4all.nl/~waterlan/dos2unix.html 
http://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 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-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"
+
+src_prepare() {
+   default
+
+   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 && 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
+}



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2015-11-21 Thread Lars Wendler
commit: c8bd4dc9066cf103527ea52cf39d59ade865d203
Author: Lars Wendler  gentoo  org>
AuthorDate: Sat Nov 21 09:14:40 2015 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat Nov 21 09:14:40 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8bd4dc9

app-text/dos2unix: Bump to version 7.3.2

Package-Manager: portage-2.2.25
Signed-off-by: Lars Wendler  gentoo.org>

 app-text/dos2unix/Manifest  |  1 +
 app-text/dos2unix/dos2unix-7.3.2.ebuild | 60 +
 2 files changed, 61 insertions(+)

diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest
index 71d1edf..b349a7e 100644
--- a/app-text/dos2unix/Manifest
+++ b/app-text/dos2unix/Manifest
@@ -1,2 +1,3 @@
 DIST dos2unix-7.3.1.tar.gz 552530 SHA256 
f4d5df24d181c2efecf7631aab6e894489012396092cf206829f1f9a98556b94 SHA512 
8bfe2ed739f5b28ceddbcd33e8a214b1cbc4b02ddab6f0528d050c411754365b6b7314a857a45cefaf13f719ad86a1fe7c18841e63f851f7f4c9e586cfa4f0fd
 WHIRLPOOL 
5eae8985f5aeabe82230cf9451509469323a3c97e9a256bb6a31e82b77e9d2ac74c88d87147e6feeff9f088a48b9df910f900f9f952bf17809f07ee7478ce060
+DIST dos2unix-7.3.2.tar.gz 601642 SHA256 
c7e8ee0bb3e001cc25a4a908d9a81ac52d124133d6a524a59f995bc90d438689 SHA512 
3d042e720c9854ae42ef72d1acf78ff8ff1cbf3c259d2c8bdba0a0b9cbf754fbe2dee9994cb9513cf1df24f26a857a13e828f0c88dc2e50f91e1c33a122eb385
 WHIRLPOOL 
48652bae9b247f68d9d246ad6e1c9758c04f61de3816126b89bd928bb1e50435b384d05c63a070b851d02657c698d7fbb6de61c1998a9b3d8ed32e0a3354e7ab
 DIST dos2unix-7.3.tar.gz 497218 SHA256 
8175f7552a72edaaa8918fdee68ce2cbc982dc25452f33d4dc611d769f4944d1 SHA512 
dc70fc4cf12811794e9b33db7cc44085788450104f7beefacea5ac11af5ca76d909235232be51eb7a32ed5d75a01a86a4c6b064060b945c8a7e7968caeb51cea
 WHIRLPOOL 
55b3990816a122c4bc2219b1f89b5d7f619901693b57349b58222166f5c3e006db08a55a26ce62493009459b9a3c6a091a07ecacabf9450a0a7475fbd9f195ae

diff --git a/app-text/dos2unix/dos2unix-7.3.2.ebuild 
b/app-text/dos2unix/dos2unix-7.3.2.ebuild
new file mode 100644
index 000..d8a8be9
--- /dev/null
+++ b/app-text/dos2unix/dos2unix-7.3.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Convert DOS or MAC text files to UNIX format or vice versa"
+HOMEPAGE="http://www.xs4all.nl/~waterlan/dos2unix.html 
http://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 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-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"
+
+src_prepare() {
+   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 && 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
+}



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2015-11-12 Thread Agostino Sarubbo
commit: 58fca4877ec741cdd29540986e8bc2c033a01a92
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Nov 12 10:50:44 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Nov 12 10:50:44 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58fca487

app-text/dos2unix: ppc stable wrt bug #525826

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="ppc"

 app-text/dos2unix/dos2unix-7.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.3-r1.ebuild 
b/app-text/dos2unix/dos2unix-7.3-r1.ebuild
index c83ff99..775d647 100644
--- a/app-text/dos2unix/dos2unix-7.3-r1.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ~ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2015-11-12 Thread Justin Lecher
commit: 9d5ce1a40e56c8db996ad29985dc754b5ee8
Author: Justin Lecher  gentoo  org>
AuthorDate: Thu Nov 12 11:04:24 2015 +
Commit: Justin Lecher  gentoo  org>
CommitDate: Thu Nov 12 11:20:58 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d5ce1a4

app-text/dos2unix: Drop old

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher  gentoo.org>

 app-text/dos2unix/Manifest  |  1 -
 app-text/dos2unix/dos2unix-6.0.6.ebuild | 59 -
 2 files changed, 60 deletions(-)

diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest
index b7a100a..71d1edf 100644
--- a/app-text/dos2unix/Manifest
+++ b/app-text/dos2unix/Manifest
@@ -1,3 +1,2 @@
-DIST dos2unix-6.0.6.tar.gz 339149 SHA256 
8abbd4e9a630ef649f5ff359df10786c50b302c1b6515cf99bd787adea23d276 SHA512 
6affdcdc34b1f0c8b1bab46ed63af73a62abf80d64b44e951e354d05b420dbdf32a918a1bca5b427120927e1ec3fe5553cf9b7bf000de30d955ff760b6b66e45
 WHIRLPOOL 
dbdf70a0c7dc4b5714184f333c49e438dda22f20cfc8a65ad9dcc662ccc8c01c928097a10e7932d98f398deb408d6168286b86dc550f77c6540806e3e0302d65
 DIST dos2unix-7.3.1.tar.gz 552530 SHA256 
f4d5df24d181c2efecf7631aab6e894489012396092cf206829f1f9a98556b94 SHA512 
8bfe2ed739f5b28ceddbcd33e8a214b1cbc4b02ddab6f0528d050c411754365b6b7314a857a45cefaf13f719ad86a1fe7c18841e63f851f7f4c9e586cfa4f0fd
 WHIRLPOOL 
5eae8985f5aeabe82230cf9451509469323a3c97e9a256bb6a31e82b77e9d2ac74c88d87147e6feeff9f088a48b9df910f900f9f952bf17809f07ee7478ce060
 DIST dos2unix-7.3.tar.gz 497218 SHA256 
8175f7552a72edaaa8918fdee68ce2cbc982dc25452f33d4dc611d769f4944d1 SHA512 
dc70fc4cf12811794e9b33db7cc44085788450104f7beefacea5ac11af5ca76d909235232be51eb7a32ed5d75a01a86a4c6b064060b945c8a7e7968caeb51cea
 WHIRLPOOL 
55b3990816a122c4bc2219b1f89b5d7f619901693b57349b58222166f5c3e006db08a55a26ce62493009459b9a3c6a091a07ecacabf9450a0a7475fbd9f195ae

diff --git a/app-text/dos2unix/dos2unix-6.0.6.ebuild 
b/app-text/dos2unix/dos2unix-6.0.6.ebuild
deleted file mode 100644
index b1c7721..000
--- a/app-text/dos2unix/dos2unix-6.0.6.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Convert DOS or MAC text files to UNIX format or vice versa"
-HOMEPAGE="http://www.xs4all.nl/~waterlan/dos2unix.html 
http://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 sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
-IUSE="debug nls"
-
-RDEPEND="
-   !app-text/hd2u
-   !app-text/unix2dos
-   virtual/libintl"
-DEPEND="
-   ${RDEPEND}
-   nls? ( sys-devel/gettext )
-   dev-lang/perl"
-
-src_prepare() {
-   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 && 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
-}



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2015-11-05 Thread Markus Meier
commit: 971f24b926a3540d764101e8cec42c175d4645fb
Author: Markus Meier  gentoo  org>
AuthorDate: Thu Nov  5 21:01:30 2015 +
Commit: Markus Meier  gentoo  org>
CommitDate: Thu Nov  5 21:01:30 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=971f24b9

app-text/dos2unix: arm stable, bug #525826

Package-Manager: portage-2.2.23
RepoMan-Options: --include-arches="arm"

 app-text/dos2unix/dos2unix-7.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.3-r1.ebuild 
b/app-text/dos2unix/dos2unix-7.3-r1.ebuild
index 4862896..c83ff99 100644
--- a/app-text/dos2unix/dos2unix-7.3-r1.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ~ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ~ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2015-10-10 Thread Mikle Kolyada
commit: 2cb0c0d328602c61eb5319273f05a559df7a41d2
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Oct 10 15:50:51 2015 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Oct 10 15:50:51 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cb0c0d3

app-text/dos2unix: sparc stable wrt bug #525826

Package-Manager: portage-2.2.20.1

 app-text/dos2unix/dos2unix-7.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.3-r1.ebuild 
b/app-text/dos2unix/dos2unix-7.3-r1.ebuild
index 41d635e..4862896 100644
--- a/app-text/dos2unix/dos2unix-7.3-r1.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
+KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ~ppc ppc64 ~s390 ~sh sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2015-09-30 Thread Lars Wendler
commit: 68ce33dfb0ddf2932f9db993a09063fb953575c6
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Sep 30 22:16:04 2015 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Sep 30 22:16:04 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68ce33df

app-text/dos2unix: Bump to version 7.3.1

Package-Manager: portage-2.2.22
Signed-off-by: Lars Wendler  gentoo.org>

 app-text/dos2unix/Manifest  |  1 +
 app-text/dos2unix/dos2unix-7.3.1.ebuild | 60 +
 2 files changed, 61 insertions(+)

diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest
index f8b4dce..cc2cf35 100644
--- a/app-text/dos2unix/Manifest
+++ b/app-text/dos2unix/Manifest
@@ -1,3 +1,4 @@
 DIST dos2unix-6.0.6.tar.gz 339149 SHA256 
8abbd4e9a630ef649f5ff359df10786c50b302c1b6515cf99bd787adea23d276 SHA512 
6affdcdc34b1f0c8b1bab46ed63af73a62abf80d64b44e951e354d05b420dbdf32a918a1bca5b427120927e1ec3fe5553cf9b7bf000de30d955ff760b6b66e45
 WHIRLPOOL 
dbdf70a0c7dc4b5714184f333c49e438dda22f20cfc8a65ad9dcc662ccc8c01c928097a10e7932d98f398deb408d6168286b86dc550f77c6540806e3e0302d65
 DIST dos2unix-7.2.3.tar.gz 413524 SHA256 
8039ea97a9fc3b0bffed0218099aeb078ebb550127fa6c10e2647aad52669c83 SHA512 
8b999538d99cbcc2e08ceb7bee13f0b6bc382e01c3d769f07c8b7c908398ae43d6ef164e7247aa4193686ff9fecb7fce3be22f53321b4ef06ebf7a1639619b6c
 WHIRLPOOL 
c9fd92b3d3c4e034211bd553402637ce32f05146a04de27e4f21dc3b7e03330d2339b215fb93d10a7478c55b31906b8e16834a72a788bb43d93f48760a830be8
+DIST dos2unix-7.3.1.tar.gz 552530 SHA256 
f4d5df24d181c2efecf7631aab6e894489012396092cf206829f1f9a98556b94 SHA512 
8bfe2ed739f5b28ceddbcd33e8a214b1cbc4b02ddab6f0528d050c411754365b6b7314a857a45cefaf13f719ad86a1fe7c18841e63f851f7f4c9e586cfa4f0fd
 WHIRLPOOL 
5eae8985f5aeabe82230cf9451509469323a3c97e9a256bb6a31e82b77e9d2ac74c88d87147e6feeff9f088a48b9df910f900f9f952bf17809f07ee7478ce060
 DIST dos2unix-7.3.tar.gz 497218 SHA256 
8175f7552a72edaaa8918fdee68ce2cbc982dc25452f33d4dc611d769f4944d1 SHA512 
dc70fc4cf12811794e9b33db7cc44085788450104f7beefacea5ac11af5ca76d909235232be51eb7a32ed5d75a01a86a4c6b064060b945c8a7e7968caeb51cea
 WHIRLPOOL 
55b3990816a122c4bc2219b1f89b5d7f619901693b57349b58222166f5c3e006db08a55a26ce62493009459b9a3c6a091a07ecacabf9450a0a7475fbd9f195ae

diff --git a/app-text/dos2unix/dos2unix-7.3.1.ebuild 
b/app-text/dos2unix/dos2unix-7.3.1.ebuild
new file mode 100644
index 000..d8a8be9
--- /dev/null
+++ b/app-text/dos2unix/dos2unix-7.3.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Convert DOS or MAC text files to UNIX format or vice versa"
+HOMEPAGE="http://www.xs4all.nl/~waterlan/dos2unix.html 
http://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 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-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"
+
+src_prepare() {
+   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 && 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
+}



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2015-09-30 Thread Lars Wendler
commit: 1651740e571e329c934cca8d556cd9d907a59d12
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Sep 30 22:17:15 2015 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Sep 30 22:17:15 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1651740e

app-text/dos2unix: Removed old.

Package-Manager: portage-2.2.22
Signed-off-by: Lars Wendler  gentoo.org>

 app-text/dos2unix/Manifest  |  1 -
 app-text/dos2unix/dos2unix-7.2.3.ebuild | 60 -
 app-text/dos2unix/dos2unix-7.3.ebuild   | 60 -
 3 files changed, 121 deletions(-)

diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest
index cc2cf35..b7a100a 100644
--- a/app-text/dos2unix/Manifest
+++ b/app-text/dos2unix/Manifest
@@ -1,4 +1,3 @@
 DIST dos2unix-6.0.6.tar.gz 339149 SHA256 
8abbd4e9a630ef649f5ff359df10786c50b302c1b6515cf99bd787adea23d276 SHA512 
6affdcdc34b1f0c8b1bab46ed63af73a62abf80d64b44e951e354d05b420dbdf32a918a1bca5b427120927e1ec3fe5553cf9b7bf000de30d955ff760b6b66e45
 WHIRLPOOL 
dbdf70a0c7dc4b5714184f333c49e438dda22f20cfc8a65ad9dcc662ccc8c01c928097a10e7932d98f398deb408d6168286b86dc550f77c6540806e3e0302d65
-DIST dos2unix-7.2.3.tar.gz 413524 SHA256 
8039ea97a9fc3b0bffed0218099aeb078ebb550127fa6c10e2647aad52669c83 SHA512 
8b999538d99cbcc2e08ceb7bee13f0b6bc382e01c3d769f07c8b7c908398ae43d6ef164e7247aa4193686ff9fecb7fce3be22f53321b4ef06ebf7a1639619b6c
 WHIRLPOOL 
c9fd92b3d3c4e034211bd553402637ce32f05146a04de27e4f21dc3b7e03330d2339b215fb93d10a7478c55b31906b8e16834a72a788bb43d93f48760a830be8
 DIST dos2unix-7.3.1.tar.gz 552530 SHA256 
f4d5df24d181c2efecf7631aab6e894489012396092cf206829f1f9a98556b94 SHA512 
8bfe2ed739f5b28ceddbcd33e8a214b1cbc4b02ddab6f0528d050c411754365b6b7314a857a45cefaf13f719ad86a1fe7c18841e63f851f7f4c9e586cfa4f0fd
 WHIRLPOOL 
5eae8985f5aeabe82230cf9451509469323a3c97e9a256bb6a31e82b77e9d2ac74c88d87147e6feeff9f088a48b9df910f900f9f952bf17809f07ee7478ce060
 DIST dos2unix-7.3.tar.gz 497218 SHA256 
8175f7552a72edaaa8918fdee68ce2cbc982dc25452f33d4dc611d769f4944d1 SHA512 
dc70fc4cf12811794e9b33db7cc44085788450104f7beefacea5ac11af5ca76d909235232be51eb7a32ed5d75a01a86a4c6b064060b945c8a7e7968caeb51cea
 WHIRLPOOL 
55b3990816a122c4bc2219b1f89b5d7f619901693b57349b58222166f5c3e006db08a55a26ce62493009459b9a3c6a091a07ecacabf9450a0a7475fbd9f195ae

diff --git a/app-text/dos2unix/dos2unix-7.2.3.ebuild 
b/app-text/dos2unix/dos2unix-7.2.3.ebuild
deleted file mode 100644
index d306a53..000
--- a/app-text/dos2unix/dos2unix-7.2.3.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Convert DOS or MAC text files to UNIX format or vice versa"
-HOMEPAGE="http://www.xs4all.nl/~waterlan/dos2unix.html 
http://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 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
-IUSE="debug nls test"
-
-RDEPEND="
-   !app-text/hd2u
-   !app-text/unix2dos
-   virtual/libintl"
-DEPEND="
-   ${RDEPEND}
-   nls? ( sys-devel/gettext )
-   test? ( virtual/perl-Test-Simple )
-   dev-lang/perl"
-
-src_prepare() {
-   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 && 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.3.ebuild 
b/app-text/dos2unix/dos2unix-7.3.ebuild
deleted file mode 100644
index d306a53..000
--- a/app-text/dos2unix/dos2unix-7.3.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Convert DOS or MAC text files to UNIX format or vice versa"
-HOMEPAGE="http://www.xs4all.nl/~waterlan/dos2unix.html 
http://sourceforge.net/projects/dos2unix/;
-SRC_URI="
-   http://www.xs4all.nl/~waterlan/${PN}/${P}.tar.gz
-   mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="BSD-2"

[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2015-09-28 Thread Tobias Klausmann
commit: 868366880513753de91f7bbbe1191689aa42cac8
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Mon Sep 28 15:30:31 2015 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Mon Sep 28 15:30:43 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86836688

app-text/dos2unix: add alpha keyword

Gentoo-Bug: 525826

Package-Manager: portage-2.2.22

 app-text/dos2unix/dos2unix-7.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.3-r1.ebuild 
b/app-text/dos2unix/dos2unix-7.3-r1.ebuild
index b0ee173..41d635e 100644
--- a/app-text/dos2unix/dos2unix-7.3-r1.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm hppa ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
+KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2015-09-27 Thread Jeroen Roovers
commit: 7a950a0379a41ff507db83d5bf0287e83abfbd64
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Sep 28 04:52:47 2015 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Sep 28 04:53:46 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a950a03

app-text/dos2unix: Stable for PPC64 (bug #525826).

Package-Manager: portage-2.2.20.1
RepoMan-Options: --ignore-arches

 app-text/dos2unix/dos2unix-7.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.3-r1.ebuild 
b/app-text/dos2unix/dos2unix-7.3-r1.ebuild
index 58e7661..b0ee173 100644
--- a/app-text/dos2unix/dos2unix-7.3-r1.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
+KEYWORDS="~alpha amd64 ~arm hppa ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2015-09-26 Thread Mikle Kolyada
commit: c6e378f457f67ac7284c26f64906db8ea3029565
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sat Sep 26 18:16:51 2015 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sat Sep 26 18:18:31 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6e378f4

app-text/dos2unix: ia64 stable wrt bug #525826

Package-Manager: portage-2.2.20.1

 app-text/dos2unix/dos2unix-7.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.3-r1.ebuild 
b/app-text/dos2unix/dos2unix-7.3-r1.ebuild
index da71df2..6c0b711 100644
--- a/app-text/dos2unix/dos2unix-7.3-r1.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
+KEYWORDS="~alpha amd64 ~arm ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2015-09-26 Thread Jeroen Roovers
commit: a0bbe5259fcce73d94d01b00305f65cc3892f337
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Sep 27 05:17:22 2015 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Sep 27 05:17:22 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0bbe525

app-text/dos2unix: Stable for HPPA (bug #525826).

Package-Manager: portage-2.2.20.1
RepoMan-Options: --ignore-arches

 app-text/dos2unix/dos2unix-7.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.3-r1.ebuild 
b/app-text/dos2unix/dos2unix-7.3-r1.ebuild
index 6c0b711..58e7661 100644
--- a/app-text/dos2unix/dos2unix-7.3-r1.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
+KEYWORDS="~alpha amd64 ~arm hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2015-09-25 Thread Agostino Sarubbo
commit: ea4c602e6e18d408c6dafb4fb805e39cef08fe30
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Sep 25 14:29:12 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Sep 25 14:29:12 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea4c602e

app-text/dos2unix: x86 stable wrt bug #525826

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="x86"

 app-text/dos2unix/dos2unix-7.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.3-r1.ebuild 
b/app-text/dos2unix/dos2unix-7.3-r1.ebuild
index b2c758b..da71df2 100644
--- a/app-text/dos2unix/dos2unix-7.3-r1.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2015-09-24 Thread Patrice Clement
commit: 9003c5f46a4b302330a295e1276ba1ab6723c8b9
Author: Patrice Clement  gentoo  org>
AuthorDate: Fri Sep 25 04:14:47 2015 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Fri Sep 25 04:18:22 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9003c5f4

app-text/dos2unix: Remove app-text/unix2dos blocker from DEPEND. Fixes bug 
525826.

Package-Manager: portage-2.2.18
Signed-off-by: Patrice Clement  gentoo.org>

 app-text/dos2unix/dos2unix-7.3-r1.ebuild | 60 
 1 file changed, 60 insertions(+)

diff --git a/app-text/dos2unix/dos2unix-7.3-r1.ebuild 
b/app-text/dos2unix/dos2unix-7.3-r1.ebuild
new file mode 100644
index 000..d8a8be9
--- /dev/null
+++ b/app-text/dos2unix/dos2unix-7.3-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Convert DOS or MAC text files to UNIX format or vice versa"
+HOMEPAGE="http://www.xs4all.nl/~waterlan/dos2unix.html 
http://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 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-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"
+
+src_prepare() {
+   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 && 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
+}



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2015-09-24 Thread Patrice Clement
commit: 236511dcb29bd602c850a3539e7c0ff4bfad751d
Author: Patrice Clement  gentoo  org>
AuthorDate: Fri Sep 25 04:15:43 2015 +
Commit: Patrice Clement  gentoo  org>
CommitDate: Fri Sep 25 04:18:26 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=236511dc

app-text/dos2unix: Stable for amd64. Fixes bug 525826.

Package-Manager: portage-2.2.18
Signed-off-by: Patrice Clement  gentoo.org>

 app-text/dos2unix/dos2unix-7.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/dos2unix-7.3-r1.ebuild 
b/app-text/dos2unix/dos2unix-7.3-r1.ebuild
index d8a8be9..b2c758b 100644
--- a/app-text/dos2unix/dos2unix-7.3-r1.ebuild
+++ b/app-text/dos2unix/dos2unix-7.3-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="
 
 LICENSE="BSD-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris 
~sparc64-solaris"
 IUSE="debug nls test"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-text/dos2unix/

2015-08-24 Thread Lars Wendler
commit: b3d0c548170cfbdd34af3c2b3b2fa75e483246bf
Author: Lars Wendler polynomial-c AT gentoo DOT org
AuthorDate: Mon Aug 24 10:02:58 2015 +
Commit: Lars Wendler polynomial-c AT gentoo DOT org
CommitDate: Mon Aug 24 10:03:17 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3d0c548

app-text/dos2unix: Bump to version 7.3

Removed old.

Package-Manager: portage-2.2.20.1
Signed-off-by: Lars Wendler polynomial-c AT gentoo.org

 app-text/dos2unix/Manifest   | 2 +-
 app-text/dos2unix/{dos2unix-7.2.2.ebuild = dos2unix-7.3.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/dos2unix/Manifest b/app-text/dos2unix/Manifest
index ff51685..f8b4dce 100644
--- a/app-text/dos2unix/Manifest
+++ b/app-text/dos2unix/Manifest
@@ -1,3 +1,3 @@
 DIST dos2unix-6.0.6.tar.gz 339149 SHA256 
8abbd4e9a630ef649f5ff359df10786c50b302c1b6515cf99bd787adea23d276 SHA512 
6affdcdc34b1f0c8b1bab46ed63af73a62abf80d64b44e951e354d05b420dbdf32a918a1bca5b427120927e1ec3fe5553cf9b7bf000de30d955ff760b6b66e45
 WHIRLPOOL 
dbdf70a0c7dc4b5714184f333c49e438dda22f20cfc8a65ad9dcc662ccc8c01c928097a10e7932d98f398deb408d6168286b86dc550f77c6540806e3e0302d65
-DIST dos2unix-7.2.2.tar.gz 411389 SHA256 
9c23907296267fa4ea66e1ee03eb6f6229cf7b64968318d00a77076ae89c2612 SHA512 
7fc985f156884aa29d13652d9adfcf6ee34e7aac49f9d2c1b33eb4d5288faa6bc9491594781f9579335862078303e3bdb0b1531cd46531037f596250fdbefcf8
 WHIRLPOOL 
bd049c5c1fbe46e81280b9fc1f9ccbe070462ee5288190a4d0e22bb0ced891d224b6aaaf827ad4589d19527be5818c1b36cdb60b07d8417f4c40f5b72c108725
 DIST dos2unix-7.2.3.tar.gz 413524 SHA256 
8039ea97a9fc3b0bffed0218099aeb078ebb550127fa6c10e2647aad52669c83 SHA512 
8b999538d99cbcc2e08ceb7bee13f0b6bc382e01c3d769f07c8b7c908398ae43d6ef164e7247aa4193686ff9fecb7fce3be22f53321b4ef06ebf7a1639619b6c
 WHIRLPOOL 
c9fd92b3d3c4e034211bd553402637ce32f05146a04de27e4f21dc3b7e03330d2339b215fb93d10a7478c55b31906b8e16834a72a788bb43d93f48760a830be8
+DIST dos2unix-7.3.tar.gz 497218 SHA256 
8175f7552a72edaaa8918fdee68ce2cbc982dc25452f33d4dc611d769f4944d1 SHA512 
dc70fc4cf12811794e9b33db7cc44085788450104f7beefacea5ac11af5ca76d909235232be51eb7a32ed5d75a01a86a4c6b064060b945c8a7e7968caeb51cea
 WHIRLPOOL 
55b3990816a122c4bc2219b1f89b5d7f619901693b57349b58222166f5c3e006db08a55a26ce62493009459b9a3c6a091a07ecacabf9450a0a7475fbd9f195ae

diff --git a/app-text/dos2unix/dos2unix-7.2.2.ebuild 
b/app-text/dos2unix/dos2unix-7.3.ebuild
similarity index 100%
rename from app-text/dos2unix/dos2unix-7.2.2.ebuild
rename to app-text/dos2unix/dos2unix-7.3.ebuild