[gentoo-commits] repo/gentoo:master commit in: net-mail/eps/, net-mail/eps/files/

2020-12-28 Thread David Seifert
commit: 6796db127fbf907abf5cf22f7a14954811cd3926
Author: Jakov Smolic  sartura  hr>
AuthorDate: Mon Dec 28 15:17:07 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Dec 28 15:17:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6796db12

net-mail/eps: Port to EAPI 7

Closes: https://bugs.gentoo.org/727836
Package-Manager: Portage-3.0.9, Repoman-3.0.1
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 net-mail/eps/eps-1.7-r1.ebuild   |  8 +++-
 net-mail/eps/files/eps-1.7-static-libs.patch | 22 ++
 2 files changed, 25 insertions(+), 5 deletions(-)

diff --git a/net-mail/eps/eps-1.7-r1.ebuild b/net-mail/eps/eps-1.7-r1.ebuild
index 92434d568c0..40d368deccd 100644
--- a/net-mail/eps/eps-1.7-r1.ebuild
+++ b/net-mail/eps/eps-1.7-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit toolchain-funcs
 
@@ -12,10 +12,8 @@ SRC_URI="http://www.inter7.com/eps/${P}.tar.gz";
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ppc x86"
-IUSE=""
 
-DEPEND="sys-apps/sed"
-RDEPEND=""
+PATCHES=( "${FILESDIR}"/${P}-static-libs.patch )
 
 src_prepare() {
sed -i -e 's:/usr:$(DESTDIR)$(prefix):g' \

diff --git a/net-mail/eps/files/eps-1.7-static-libs.patch 
b/net-mail/eps/files/eps-1.7-static-libs.patch
new file mode 100644
index 000..06fa8bc8255
--- /dev/null
+++ b/net-mail/eps/files/eps-1.7-static-libs.patch
@@ -0,0 +1,22 @@
+--- a/Makefile
 b/Makefile
+@@ -1,7 +1,7 @@
+ CC = gcc
+ AR = ar
+ STRIP = strip
+-LIB = libeps.a libeps.so
++LIB = libeps.so
+ 
+ AROPTS = -cru
+ RANLIB = ranlib
+@@ -20,10 +20,6 @@ DEFS = -Wall -I.
+ 
+ all: $(LIB)
+ 
+-libeps.a: $(OBJS)
+-  $(AR) $(AROPTS) libeps.a $(OBJS)
+-  $(RANLIB) libeps.a
+-
+ libeps.so: $(OBJS)
+   $(CC) -shared -o libeps.so $(OBJS)
+ 



[gentoo-commits] repo/gentoo:master commit in: net-mail/eps/

2017-12-17 Thread Mikle Kolyada
commit: 936a763092c3a57567917368576e51b639564dc9
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Dec 17 15:20:15 2017 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Dec 17 15:21:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=936a7630

net-mail/eps: ppc stable wrt bug #639486

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 net-mail/eps/eps-1.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/eps/eps-1.7-r1.ebuild b/net-mail/eps/eps-1.7-r1.ebuild
index 74a62e1dc09..92434d568c0 100644
--- a/net-mail/eps/eps-1.7-r1.ebuild
+++ b/net-mail/eps/eps-1.7-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.inter7.com/eps/${P}.tar.gz";
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc x86"
+KEYWORDS="~amd64 ppc x86"
 IUSE=""
 
 DEPEND="sys-apps/sed"



[gentoo-commits] repo/gentoo:master commit in: net-mail/eps/

2017-12-17 Thread Mikle Kolyada
commit: 12bc5d60ba7b5b3d4326eb10799ecd9402b437d1
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Dec 17 15:21:07 2017 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Dec 17 15:21:40 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12bc5d60

net-mail/eps: Drop old

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 net-mail/eps/eps-1.7.ebuild | 37 -
 1 file changed, 37 deletions(-)

diff --git a/net-mail/eps/eps-1.7.ebuild b/net-mail/eps/eps-1.7.ebuild
deleted file mode 100644
index c938746bdb4..000
--- a/net-mail/eps/eps-1.7.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=3
-
-inherit toolchain-funcs multilib
-
-DESCRIPTION="Inter7 Email Processing and mht System library"
-HOMEPAGE="http://www.inter7.com/eps";
-SRC_URI="http://www.inter7.com/eps/${P}.tar.gz";
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ppc x86"
-IUSE=""
-
-DEPEND="sys-apps/sed"
-RDEPEND=""
-
-src_prepare() {
-   sed -i -e 's:/usr:$(DESTDIR)$(prefix):g' \
-   -e 's:\(DEFS.*\):\1 $(CFLAGS):' \
-   -e 's:$(DEFS):$(DEFS) -fPIC:' \
-   -e 's:-shared:-shared -Wl,-soname,libeps.so $(LDFLAGS):' \
-   -e 's:cp -pf:cp -f:g' \
-   Makefile
-}
-
-src_compile() {
-   emake CC="$(tc-getCC)" AR="$(tc-getAR)" || die "emake failed"
-}
-
-src_install() {
-   emake prefix=/usr DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" 
install \
-   || die "emake install failed"
-   dodoc ChangeLog TODO doc/*
-}



[gentoo-commits] repo/gentoo:master commit in: net-mail/eps/

2017-12-12 Thread Thomas Deutschmann
commit: 111fc6d00258165fd20b5052c6dcc23402c5a272
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue Dec 12 16:23:11 2017 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Dec 12 16:23:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=111fc6d0

net-mail/eps: x86 stable (bug #639486)

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 net-mail/eps/eps-1.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-mail/eps/eps-1.7-r1.ebuild b/net-mail/eps/eps-1.7-r1.ebuild
index f0109531933..74a62e1dc09 100644
--- a/net-mail/eps/eps-1.7-r1.ebuild
+++ b/net-mail/eps/eps-1.7-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://www.inter7.com/eps/${P}.tar.gz";
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ~ppc x86"
 IUSE=""
 
 DEPEND="sys-apps/sed"



[gentoo-commits] repo/gentoo:master commit in: net-mail/eps/

2017-06-26 Thread Andreas Hüttel
commit: 19659988b457fe2c56776bd57840647c9aa6b6ec
Author: Andreas K. Hüttel  gentoo  org>
AuthorDate: Sun Jun 25 22:23:24 2017 +
Commit: Andreas Hüttel  gentoo  org>
CommitDate: Mon Jun 26 19:39:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19659988

net-mail/eps: EAPI bump, bug 605728

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 net-mail/eps/eps-1.7-r1.ebuild | 37 +
 1 file changed, 37 insertions(+)

diff --git a/net-mail/eps/eps-1.7-r1.ebuild b/net-mail/eps/eps-1.7-r1.ebuild
new file mode 100644
index 000..f0109531933
--- /dev/null
+++ b/net-mail/eps/eps-1.7-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="Inter7 Email Processing and mht System library"
+HOMEPAGE="http://www.inter7.com/eps";
+SRC_URI="http://www.inter7.com/eps/${P}.tar.gz";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="sys-apps/sed"
+RDEPEND=""
+
+src_prepare() {
+   sed -i -e 's:/usr:$(DESTDIR)$(prefix):g' \
+   -e 's:\(DEFS.*\):\1 $(CFLAGS):' \
+   -e 's:$(DEFS):$(DEFS) -fPIC:' \
+   -e 's:-shared:-shared -Wl,-soname,libeps.so $(LDFLAGS):' \
+   -e 's:cp -pf:cp -f:g' \
+   Makefile || die
+   default
+}
+
+src_compile() {
+   emake CC="$(tc-getCC)" AR="$(tc-getAR)"
+}
+
+src_install() {
+   emake prefix=/usr DESTDIR="${D}" LIBDIR="${D}/usr/$(get_libdir)" install
+   dodoc ChangeLog TODO doc/*
+}