[gentoo-commits] repo/gentoo:master commit in: dev-libs/stfl/files/, dev-libs/stfl/

2023-07-25 Thread Sam James
commit: 53868bd0433bed2dc3832b97090d5c9a1c671df6
Author: Violet Purcell  inventati  org>
AuthorDate: Tue Jun 27 20:14:54 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 26 03:00:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53868bd0

dev-libs/stfl: Use correct flags from pkg-config for ncurses widechar

Closes: https://bugs.gentoo.org/895064

Signed-off-by: Violet Purcell  inventati.org>
Closes: https://github.com/gentoo/gentoo/pull/31648
Signed-off-by: Sam James  gentoo.org>

 .../stfl/files/stfl-0.24-ncurses-widechar.patch|  26 +
 dev-libs/stfl/stfl-0.24-r5.ebuild  | 129 +
 2 files changed, 155 insertions(+)

diff --git a/dev-libs/stfl/files/stfl-0.24-ncurses-widechar.patch 
b/dev-libs/stfl/files/stfl-0.24-ncurses-widechar.patch
new file mode 100644
index ..c1690ce67fe4
--- /dev/null
+++ b/dev-libs/stfl/files/stfl-0.24-ncurses-widechar.patch
@@ -0,0 +1,26 @@
+ncurses widechar functions are only available if the correct macros are
+defined. Use CFLAGS and LDFLAGS from pkgconfig to ensure that widechar
+functions are available.
+
+From 9b71952bfb29e036b13c16d621febff76e84e3e4 Mon Sep 17 00:00:00 2001
+From: Violet Purcell 
+Date: Tue, 11 Jul 2023 15:45:05 -0400
+Subject: [PATCH] Use pkg-config for correct ncursesw CFLAGS and LDFLAGS
+
+--- a/Makefile
 b/Makefile
+@@ -21,8 +21,9 @@
+ include Makefile.cfg
+ 
+ export CC = gcc -pthread
+-export CFLAGS += -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC
+-export LDLIBS += -lncursesw
++export PKG_CONFIG ?= pkg-config
++export CFLAGS += -I. -Wall -Os -ggdb -D_GNU_SOURCE -fPIC $(shell 
${PKG_CONFIG} --cflags ncursesw)
++export LDLIBS += $(shell ${PKG_CONFIG} --libs ncursesw)
+ 
+ SONAME  := libstfl.so.0
+ VERSION := 0.24
+-- 
+2.41.0
+

diff --git a/dev-libs/stfl/stfl-0.24-r5.ebuild 
b/dev-libs/stfl/stfl-0.24-r5.ebuild
new file mode 100644
index ..546f1446cd20
--- /dev/null
+++ b/dev-libs/stfl/stfl-0.24-r5.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{10..11} )
+GENTOO_DEPEND_ON_PERL=no
+inherit perl-module python-r1 toolchain-funcs
+
+DESCRIPTION="A library which implements a curses-based widget set for text 
terminals"
+HOMEPAGE="http://www.clifford.at/stfl/";
+SRC_URI="http://www.clifford.at/${PN}/${P}.tar.gz";
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="examples perl python ruby static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+   sys-libs/ncurses:=[unicode(+)]
+   perl? ( dev-lang/perl:= )
+   ruby? ( dev-lang/ruby:* )
+   python? ( ${PYTHON_DEPS} )
+"
+DEPEND="${RDEPEND}
+   perl? ( dev-lang/swig )
+   python? ( >=dev-lang/swig-1.3.40 )
+   ruby? ( dev-lang/swig )
+"
+BDEPEND="virtual/pkgconfig"
+RESTRICT="test"  # Upstream does not provide tests #730112
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.21-python.patch"
+   "${FILESDIR}/${PN}-0.22-soname-symlink.patch"
+   "${FILESDIR}/${PN}-0.22-ruby-sharedlib.patch"
+   "${FILESDIR}/${PN}-0.22-pc-libdir.patch"
+   "${FILESDIR}/${PN}-0.24-ncurses-widechar.patch"
+)
+
+src_prepare() {
+   default_src_prepare
+
+   sed -i \
+   -e 's/-Os -ggdb//' \
+   -e 's/^\(all:.*\) example/\1/' \
+   -e 's/$(CC) -shared/$(CC) $(LDFLAGS) -shared/' \
+   -e 's/ -o $@ $(LDLIBS) $^/ $^ $(LDLIBS) -o $@/' \
+   -e 's/-lncursesw/-lncursesw -pthread/' \
+   -e 's/\/$(AR)/' \
+   -e 's/\/$(RANLIB)/' \
+   Makefile || die "sed failed"
+
+   if ! use static-libs ; then
+   sed -i -e "/install .* libstfl.a/d" Makefile || die
+   fi
+
+   if use perl ; then
+   echo "FOUND_PERL5=1" >> Makefile.cfg
+   else
+   echo "FOUND_PERL5=0" >> Makefile.cfg
+   fi
+
+   if use ruby ; then
+   echo "FOUND_RUBY=1" >> Makefile.cfg
+   else
+   echo "FOUND_RUBY=0" >> Makefile.cfg
+   fi
+
+   echo "FOUND_PYTHON=0" >> Makefile.cfg
+}
+
+src_configure() { :; }
+
+src_compile() {
+   emake CC="$(tc-getCC)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" 
PKG_CONFIG="$(tc-getPKG_CONFIG)"
+
+   if use python ; then
+   local BUILD_DIR="${S}/python"
+   python_copy_sources
+
+   # Based on code from python/Makefile.snippet.
+   building() {
+   pushd "${BUILD_DIR}" &>/dev/null || die
+   echo swig -python -threads stfl.i
+   swig -python -threads stfl.i || die
+   echo "$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -shared 
-pthread -fPIC stfl_wrap.c -I$(python_get_includedir) -I.. ../libstfl.so.${PV} 
-lncursesw -o _stfl.so
+   "$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -shared -pthre

[gentoo-commits] repo/gentoo:master commit in: dev-libs/stfl/

2023-06-08 Thread Pacho Ramos
commit: defdc9b5303eef68a6a400b746f34bb85ee517b4
Author: Pacho Ramos  gentoo  org>
AuthorDate: Thu Jun  8 10:24:57 2023 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Thu Jun  8 10:50:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=defdc9b5

dev-libs/stfl: enable py3.11

Closes: https://bugs.gentoo.org/896730
Signed-off-by: Pacho Ramos  gentoo.org>

 dev-libs/stfl/stfl-0.24-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/stfl/stfl-0.24-r4.ebuild 
b/dev-libs/stfl/stfl-0.24-r4.ebuild
index 66394e8df604..6fc8cd5251c2 100644
--- a/dev-libs/stfl/stfl-0.24-r4.ebuild
+++ b/dev-libs/stfl/stfl-0.24-r4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 GENTOO_DEPEND_ON_PERL=no
 inherit perl-module python-r1 toolchain-funcs
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/stfl/

2022-08-02 Thread John Helmert III
commit: 32be1a7a78c49801376826500d42a13c4eb20c5d
Author: John Helmert III  gentoo  org>
AuthorDate: Wed Aug  3 05:12:33 2022 +
Commit: John Helmert III  gentoo  org>
CommitDate: Wed Aug  3 05:16:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32be1a7a

dev-libs/stfl: keyword 0.24-r4 for ~arm64, #833965

Signed-off-by: John Helmert III  gentoo.org>

 dev-libs/stfl/stfl-0.24-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/stfl/stfl-0.24-r4.ebuild 
b/dev-libs/stfl/stfl-0.24-r4.ebuild
index bb88a64e8efc..941634dd611a 100644
--- a/dev-libs/stfl/stfl-0.24-r4.ebuild
+++ b/dev-libs/stfl/stfl-0.24-r4.ebuild
@@ -13,7 +13,7 @@ SRC_URI="http://www.clifford.at/${PN}/${P}.tar.gz";
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~arm ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86"
 IUSE="examples perl python ruby static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/stfl/

2022-06-21 Thread Cédric Krier
commit: fa3f1df5328bc78937d0f3f11f221d302df5a6c6
Author: Cédric Krier  gentoo  org>
AuthorDate: Tue Jun 21 21:30:58 2022 +
Commit: Cédric Krier  gentoo  org>
CommitDate: Tue Jun 21 21:32:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa3f1df5

dev-libs/stfl: enable py3.10

Closes: https://bugs.gentoo.org/845672
Signed-off-by: Cédric Krier  gentoo.org>

 dev-libs/stfl/stfl-0.24-r4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/stfl/stfl-0.24-r4.ebuild 
b/dev-libs/stfl/stfl-0.24-r4.ebuild
index 5a3ba87236dc..bb88a64e8efc 100644
--- a/dev-libs/stfl/stfl-0.24-r4.ebuild
+++ b/dev-libs/stfl/stfl-0.24-r4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{7..10} )
 GENTOO_DEPEND_ON_PERL=no
 inherit perl-module python-r1 toolchain-funcs
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/stfl/

2021-04-03 Thread Sam James
commit: c395609b8b870c0a6e408862694e5eca9622a3da
Author: Sam James  gentoo  org>
AuthorDate: Sat Apr  3 22:48:38 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr  3 22:48:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c395609b

dev-libs/stfl: eutils--, multilib--

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

 dev-libs/stfl/stfl-0.24-r3.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-libs/stfl/stfl-0.24-r3.ebuild 
b/dev-libs/stfl/stfl-0.24-r3.ebuild
index 33ad5472509..fb1a4eb91c6 100644
--- a/dev-libs/stfl/stfl-0.24-r3.ebuild
+++ b/dev-libs/stfl/stfl-0.24-r3.ebuild
@@ -2,9 +2,10 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 PYTHON_COMPAT=( python3_{7..9} )
 GENTOO_DEPEND_ON_PERL=no
-inherit eutils multilib perl-module python-r1 toolchain-funcs
+inherit perl-module python-r1 toolchain-funcs
 
 DESCRIPTION="A library which implements a curses-based widget set for text 
terminals"
 HOMEPAGE="http://www.clifford.at/stfl/";
@@ -38,6 +39,7 @@ PATCHES=(
 
 src_prepare() {
default_src_prepare
+
sed -i \
-e 's/-Os -ggdb//' \
-e 's/^\(all:.*\) example/\1/' \



[gentoo-commits] repo/gentoo:master commit in: dev-libs/stfl/

2021-03-06 Thread Cédric Krier
commit: 0bb16f522353e68effbb868ef31d92730451af8e
Author: Cédric Krier  gentoo  org>
AuthorDate: Sat Mar  6 09:11:31 2021 +
Commit: Cédric Krier  gentoo  org>
CommitDate: Sat Mar  6 09:11:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bb16f52

dev-libs/stfl: clean old

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Cédric Krier  gentoo.org>

 dev-libs/stfl/stfl-0.24-r2.ebuild | 124 --
 1 file changed, 124 deletions(-)

diff --git a/dev-libs/stfl/stfl-0.24-r2.ebuild 
b/dev-libs/stfl/stfl-0.24-r2.ebuild
deleted file mode 100644
index eba46b9fd2b..000
--- a/dev-libs/stfl/stfl-0.24-r2.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{7..8} )
-GENTOO_DEPEND_ON_PERL=no
-inherit eutils multilib perl-module python-r1 toolchain-funcs
-
-DESCRIPTION="A library which implements a curses-based widget set for text 
terminals"
-HOMEPAGE="http://www.clifford.at/stfl/";
-SRC_URI="http://www.clifford.at/${PN}/${P}.tar.gz";
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~arm ppc ~ppc64 x86"
-IUSE="examples perl python ruby static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
-   sys-libs/ncurses:0=[unicode]
-   perl? ( dev-lang/perl:= )
-   ruby? ( dev-lang/ruby:* )
-   python? ( ${PYTHON_DEPS} )
-"
-DEPEND="${RDEPEND}
-   perl? ( dev-lang/swig )
-   python? ( >=dev-lang/swig-1.3.40 )
-   ruby? ( dev-lang/swig )
-"
-RESTRICT="test"  # Upstream does not provide tests #730112
-
-PATCHES=(
-   "${FILESDIR}/${PN}-0.21-python.patch"
-   "${FILESDIR}/${PN}-0.22-soname-symlink.patch"
-   "${FILESDIR}/${PN}-0.22-ruby-sharedlib.patch"
-)
-
-src_prepare() {
-   default_src_prepare
-   sed -i \
-   -e 's/-Os -ggdb//' \
-   -e 's/^\(all:.*\) example/\1/' \
-   -e 's/$(CC) -shared/$(CC) $(LDFLAGS) -shared/' \
-   -e 's/ -o $@ $(LDLIBS) $^/ $^ $(LDLIBS) -o $@/' \
-   -e 's/-lncursesw/-lncursesw -pthread/' \
-   -e 's/\/$(AR)/' \
-   -e 's/\/$(RANLIB)/' \
-   Makefile || die "sed failed"
-
-   if ! use static-libs ; then
-   sed -i -e "/install .* libstfl.a/d" Makefile || die
-   fi
-
-   if use perl ; then
-   echo "FOUND_PERL5=1" >> Makefile.cfg
-   else
-   echo "FOUND_PERL5=0" >> Makefile.cfg
-   fi
-
-   if use ruby ; then
-   echo "FOUND_RUBY=1" >> Makefile.cfg
-   else
-   echo "FOUND_RUBY=0" >> Makefile.cfg
-   fi
-
-   echo "FOUND_PYTHON=0" >> Makefile.cfg
-}
-
-src_configure() { :; }
-
-src_compile() {
-   emake CC="$(tc-getCC)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)"
-
-   if use python ; then
-   local BUILD_DIR="${S}/python"
-   python_copy_sources
-
-   # Based on code from python/Makefile.snippet.
-   building() {
-   pushd "${BUILD_DIR}" &>/dev/null || die
-   echo swig -python -threads stfl.i
-   swig -python -threads stfl.i || die
-   echo "$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -shared 
-pthread -fPIC stfl_wrap.c -I$(python_get_includedir) -I.. ../libstfl.so.${PV} 
-lncursesw -o _stfl.so
-   "$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -shared -pthread 
-fPIC stfl_wrap.c -I$(python_get_includedir) -I.. ../libstfl.so.${PV} 
-lncursesw -o _stfl.so || die
-   popd &>/dev/null || die
-   }
-   python_foreach_impl building
-   fi
-}
-
-src_install() {
-   emake prefix="/usr" DESTDIR="${D}" libdir="$(get_libdir)" install
-
-   if use python ; then
-   local BUILD_DIR="${S}/python"
-
-   installation() {
-   pushd "${BUILD_DIR}" &>/dev/null || die
-   python_domodule stfl.py _stfl.so
-   popd &>/dev/null || die
-   }
-   python_foreach_impl installation
-   fi
-
-   dodoc README
-
-   local exdir="/usr/share/doc/${PF}/examples"
-   if use examples ; then
-   insinto ${exdir}
-   doins example.{c,stfl}
-   insinto ${exdir}/python
-   doins python/example.py
-   if use perl ; then
-   insinto ${exdir}/perl
-   doins perl5/example.pl
-   fi
-   if use ruby ; then
-   insinto ${exdir}/ruby
-   doins ruby/example.rb
-   fi
-   fi
-
-   perl_delete_localpod
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/stfl/

2021-03-06 Thread Cédric Krier
commit: 2cb73db1757a619001e17433b259c08fcbd667f7
Author: Cédric Krier  gentoo  org>
AuthorDate: Sat Mar  6 09:14:38 2021 +
Commit: Cédric Krier  gentoo  org>
CommitDate: Sat Mar  6 09:14:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cb73db1

dev-libs/stfl: add support for python 3.9

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Cédric Krier  gentoo.org>

 dev-libs/stfl/stfl-0.24-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/stfl/stfl-0.24-r3.ebuild 
b/dev-libs/stfl/stfl-0.24-r3.ebuild
index d2531da8b10..33ad5472509 100644
--- a/dev-libs/stfl/stfl-0.24-r3.ebuild
+++ b/dev-libs/stfl/stfl-0.24-r3.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{7..8} )
+PYTHON_COMPAT=( python3_{7..9} )
 GENTOO_DEPEND_ON_PERL=no
 inherit eutils multilib perl-module python-r1 toolchain-funcs
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/stfl/

2020-11-03 Thread Sam James
commit: e6ee2f5ce46e2a108921450cd3288e1ac4714cdc
Author: Sam James  gentoo  org>
AuthorDate: Tue Nov  3 11:00:41 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Nov  3 11:01:57 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6ee2f5c

dev-libs/stfl: Stabilize 0.24-r3 amd64, #751202

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

 dev-libs/stfl/stfl-0.24-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/stfl/stfl-0.24-r3.ebuild 
b/dev-libs/stfl/stfl-0.24-r3.ebuild
index b6acd271e99..96858d99953 100644
--- a/dev-libs/stfl/stfl-0.24-r3.ebuild
+++ b/dev-libs/stfl/stfl-0.24-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://www.clifford.at/${PN}/${P}.tar.gz";
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm ppc ~ppc64 x86"
 IUSE="examples perl python ruby static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/stfl/

2020-10-26 Thread Sergei Trofimovich
commit: d0549d7245f282c64dfd82b51325bf3d13c80f07
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Mon Oct 26 23:46:00 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Oct 26 23:46:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0549d72

dev-libs/stfl: stable 0.24-r3 for ppc

stable wrt bug #751202

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

 dev-libs/stfl/stfl-0.24-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/stfl/stfl-0.24-r3.ebuild 
b/dev-libs/stfl/stfl-0.24-r3.ebuild
index ae5f798e43b..b6acd271e99 100644
--- a/dev-libs/stfl/stfl-0.24-r3.ebuild
+++ b/dev-libs/stfl/stfl-0.24-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://www.clifford.at/${PN}/${P}.tar.gz";
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 x86"
+KEYWORDS="~amd64 ~arm ppc ~ppc64 x86"
 IUSE="examples perl python ruby static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/stfl/

2020-10-25 Thread Thomas Deutschmann
commit: a3f407bd46be5d5aeb13168cd802ac403ff3ed77
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Oct 25 23:39:14 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Oct 25 23:42:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3f407bd

dev-libs/stfl: x86 stable (bug #751202)

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-libs/stfl/stfl-0.24-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/stfl/stfl-0.24-r3.ebuild 
b/dev-libs/stfl/stfl-0.24-r3.ebuild
index f05ef3b01cb..ae5f798e43b 100644
--- a/dev-libs/stfl/stfl-0.24-r3.ebuild
+++ b/dev-libs/stfl/stfl-0.24-r3.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://www.clifford.at/${PN}/${P}.tar.gz";
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 x86"
 IUSE="examples perl python ruby static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/stfl/, dev-libs/stfl/files/

2020-09-07 Thread Cédric Krier
commit: e140dbe032d48ad70ec979af0a2e02f6df905006
Author: Cédric Krier  gentoo  org>
AuthorDate: Mon Sep  7 12:15:12 2020 +
Commit: Cédric Krier  gentoo  org>
CommitDate: Mon Sep  7 12:17:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e140dbe0

dev-libs/stfl: Remove hardcoded pkg-config libdir

Closes: https://bugs.gentoo.org/740854
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Cédric Krier  gentoo.org>

 dev-libs/stfl/files/stfl-0.22-pc-libdir.patch |  24 +
 dev-libs/stfl/stfl-0.24-r3.ebuild | 125 ++
 2 files changed, 149 insertions(+)

diff --git a/dev-libs/stfl/files/stfl-0.22-pc-libdir.patch 
b/dev-libs/stfl/files/stfl-0.22-pc-libdir.patch
new file mode 100644
index 000..82a9529c957
--- /dev/null
+++ b/dev-libs/stfl/files/stfl-0.22-pc-libdir.patch
@@ -0,0 +1,24 @@
+diff -ru stfl-0.24.orig/Makefile stfl-0.24/Makefile
+--- stfl-0.24.orig/Makefile2015-02-12 14:14:33.0 +0100
 stfl-0.24/Makefile 2020-09-07 14:08:04.125833347 +0200
+@@ -67,7 +67,7 @@
+   ln -fs libstfl.so.$(VERSION) $(DESTDIR)$(prefix)/$(libdir)/libstfl.so
+ 
+ stfl.pc: stfl.pc.in
+-  sed 's,@VERSION@,$(VERSION),g' < $< | sed 's,@PREFIX@,$(prefix),g' > $@
++  sed 's,@VERSION@,$(VERSION),g' < $< | sed 's,@PREFIX@,$(prefix),g' | 
sed 's,@LIBDIR@,${libdir},g' > $@
+ 
+ ifeq ($(FOUND_SPL),1)
+ include spl/Makefile.snippet
+diff -ru stfl-0.24.orig/stfl.pc.in stfl-0.24/stfl.pc.in
+--- stfl-0.24.orig/stfl.pc.in  2009-03-30 20:33:37.0 +0200
 stfl-0.24/stfl.pc.in   2020-09-07 14:08:07.784854088 +0200
+@@ -2,7 +2,7 @@
+ 
+ prefix=@PREFIX@
+ exec_prefix=${prefix}
+-libdir=${exec_prefix}/lib
++libdir=${exec_prefix}/@LIBDIR@
+ includedir=${prefix}/include
+ 
+ Name: STFL

diff --git a/dev-libs/stfl/stfl-0.24-r3.ebuild 
b/dev-libs/stfl/stfl-0.24-r3.ebuild
new file mode 100644
index 000..f05ef3b01cb
--- /dev/null
+++ b/dev-libs/stfl/stfl-0.24-r3.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6..8} )
+GENTOO_DEPEND_ON_PERL=no
+inherit eutils multilib perl-module python-r1 toolchain-funcs
+
+DESCRIPTION="A library which implements a curses-based widget set for text 
terminals"
+HOMEPAGE="http://www.clifford.at/stfl/";
+SRC_URI="http://www.clifford.at/${PN}/${P}.tar.gz";
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE="examples perl python ruby static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+   sys-libs/ncurses:0=[unicode]
+   perl? ( dev-lang/perl:= )
+   ruby? ( dev-lang/ruby:* )
+   python? ( ${PYTHON_DEPS} )
+"
+DEPEND="${RDEPEND}
+   perl? ( dev-lang/swig )
+   python? ( >=dev-lang/swig-1.3.40 )
+   ruby? ( dev-lang/swig )
+"
+RESTRICT="test"  # Upstream does not provide tests #730112
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.21-python.patch"
+   "${FILESDIR}/${PN}-0.22-soname-symlink.patch"
+   "${FILESDIR}/${PN}-0.22-ruby-sharedlib.patch"
+   "${FILESDIR}/${PN}-0.22-pc-libdir.patch"
+)
+
+src_prepare() {
+   default_src_prepare
+   sed -i \
+   -e 's/-Os -ggdb//' \
+   -e 's/^\(all:.*\) example/\1/' \
+   -e 's/$(CC) -shared/$(CC) $(LDFLAGS) -shared/' \
+   -e 's/ -o $@ $(LDLIBS) $^/ $^ $(LDLIBS) -o $@/' \
+   -e 's/-lncursesw/-lncursesw -pthread/' \
+   -e 's/\/$(AR)/' \
+   -e 's/\/$(RANLIB)/' \
+   Makefile || die "sed failed"
+
+   if ! use static-libs ; then
+   sed -i -e "/install .* libstfl.a/d" Makefile || die
+   fi
+
+   if use perl ; then
+   echo "FOUND_PERL5=1" >> Makefile.cfg
+   else
+   echo "FOUND_PERL5=0" >> Makefile.cfg
+   fi
+
+   if use ruby ; then
+   echo "FOUND_RUBY=1" >> Makefile.cfg
+   else
+   echo "FOUND_RUBY=0" >> Makefile.cfg
+   fi
+
+   echo "FOUND_PYTHON=0" >> Makefile.cfg
+}
+
+src_configure() { :; }
+
+src_compile() {
+   emake CC="$(tc-getCC)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)"
+
+   if use python ; then
+   local BUILD_DIR="${S}/python"
+   python_copy_sources
+
+   # Based on code from python/Makefile.snippet.
+   building() {
+   pushd "${BUILD_DIR}" &>/dev/null || die
+   echo swig -python -threads stfl.i
+   swig -python -threads stfl.i || die
+   echo "$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -shared 
-pthread -fPIC stfl_wrap.c -I$(python_get_includedir) -I.. ../libstfl.so.${PV} 
-lncursesw -o _stfl.so
+   "$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -shared -pthread 
-fPIC stfl_wrap.c -I$(python_get_includedir) -I.. ../libstfl.so.${PV} 
-lncursesw -o _stfl.so || die
+   popd 

[gentoo-commits] repo/gentoo:master commit in: dev-libs/stfl/

2020-09-07 Thread Cédric Krier
commit: 43e03cc46c2154bf3be0923c17dff7f41eebfa0a
Author: Cédric Krier  gentoo  org>
AuthorDate: Mon Sep  7 12:16:39 2020 +
Commit: Cédric Krier  gentoo  org>
CommitDate: Mon Sep  7 12:17:04 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43e03cc4

dev-libs/stfl: clean old

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Cédric Krier  gentoo.org>

 dev-libs/stfl/stfl-0.24.ebuild | 123 -
 1 file changed, 123 deletions(-)

diff --git a/dev-libs/stfl/stfl-0.24.ebuild b/dev-libs/stfl/stfl-0.24.ebuild
deleted file mode 100644
index 063edf019c5..000
--- a/dev-libs/stfl/stfl-0.24.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{6..8} )
-GENTOO_DEPEND_ON_PERL=no
-inherit eutils multilib perl-module python-r1 toolchain-funcs
-
-DESCRIPTION="A library which implements a curses-based widget set for text 
terminals"
-HOMEPAGE="http://www.clifford.at/stfl/";
-SRC_URI="http://www.clifford.at/${PN}/${P}.tar.gz";
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="amd64 ppc ~ppc64 x86"
-IUSE="examples perl python ruby static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
-   sys-libs/ncurses:0=[unicode]
-   perl? ( dev-lang/perl:= )
-   ruby? ( dev-lang/ruby:* )
-   python? ( ${PYTHON_DEPS} )
-"
-DEPEND="${RDEPEND}
-   perl? ( dev-lang/swig )
-   python? ( >=dev-lang/swig-1.3.40 )
-   ruby? ( dev-lang/swig )
-"
-RESTRICT="test"  # Upstream does not provide tests #730112
-
-PATCHES=(
-   "${FILESDIR}/${PN}-0.21-python.patch"
-   "${FILESDIR}/${PN}-0.22-soname-symlink.patch"
-   "${FILESDIR}/${PN}-0.22-ruby-sharedlib.patch"
-)
-
-src_prepare() {
-   sed -i \
-   -e 's/-Os -ggdb//' \
-   -e 's/^\(all:.*\) example/\1/' \
-   -e 's/$(CC) -shared/$(CC) $(LDFLAGS) -shared/' \
-   -e 's/ -o $@ $(LDLIBS) $^/ $^ $(LDLIBS) -o $@/' \
-   -e 's/-lncursesw/-lncursesw -pthread/' \
-   Makefile || die "sed failed"
-
-   if ! use static-libs ; then
-   sed -i -e "/install .* libstfl.a/d" Makefile || die
-   fi
-
-   eapply_user
-
-   if use perl ; then
-   echo "FOUND_PERL5=1" >> Makefile.cfg
-   else
-   echo "FOUND_PERL5=0" >> Makefile.cfg
-   fi
-
-   if use ruby ; then
-   echo "FOUND_RUBY=1" >> Makefile.cfg
-   else
-   echo "FOUND_RUBY=0" >> Makefile.cfg
-   fi
-
-   echo "FOUND_PYTHON=0" >> Makefile.cfg
-}
-
-src_configure() { :; }
-
-src_compile() {
-   emake CC="$(tc-getCC)"
-
-   if use python ; then
-   local BUILD_DIR="${S}/python"
-   python_copy_sources
-
-   # Based on code from python/Makefile.snippet.
-   building() {
-   pushd "${BUILD_DIR}" &>/dev/null || die
-   echo swig -python -threads stfl.i
-   swig -python -threads stfl.i || die
-   echo "$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -shared 
-pthread -fPIC stfl_wrap.c -I$(python_get_includedir) -I.. ../libstfl.so.${PV} 
-lncursesw -o _stfl.so
-   "$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -shared -pthread 
-fPIC stfl_wrap.c -I$(python_get_includedir) -I.. ../libstfl.so.${PV} 
-lncursesw -o _stfl.so || die
-   popd &>/dev/null || die
-   }
-   python_foreach_impl building
-   fi
-}
-
-src_install() {
-   emake prefix="/usr" DESTDIR="${D}" libdir="$(get_libdir)" install
-
-   if use python ; then
-   local BUILD_DIR="${S}/python"
-
-   installation() {
-   pushd "${BUILD_DIR}" &>/dev/null || die
-   python_domodule stfl.py _stfl.so
-   popd &>/dev/null || die
-   }
-   python_foreach_impl installation
-   fi
-
-   dodoc README
-
-   local exdir="/usr/share/doc/${PF}/examples"
-   if use examples ; then
-   insinto ${exdir}
-   doins example.{c,stfl}
-   insinto ${exdir}/python
-   doins python/example.py
-   if use perl ; then
-   insinto ${exdir}/perl
-   doins perl5/example.pl
-   fi
-   if use ruby ; then
-   insinto ${exdir}/ruby
-   doins ruby/example.rb
-   fi
-   fi
-
-   perl_delete_localpod
-}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/stfl/

2020-07-01 Thread Agostino Sarubbo
commit: 19282d51b1de750cbeb36997f288f15711e44ecc
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jul  2 06:30:07 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jul  2 06:30:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19282d51

dev-libs/stfl: ppc stable wrt bug #729818

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/stfl/stfl-0.24-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/stfl/stfl-0.24-r2.ebuild 
b/dev-libs/stfl/stfl-0.24-r2.ebuild
index b60bf167027..3ef9c009a55 100644
--- a/dev-libs/stfl/stfl-0.24-r2.ebuild
+++ b/dev-libs/stfl/stfl-0.24-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://www.clifford.at/${PN}/${P}.tar.gz";
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm ppc ~ppc64 x86"
 IUSE="examples perl python ruby static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/stfl/

2020-07-01 Thread Michał Górny
commit: 3d8cb4941db7756631f90f3daa4c0a84f971d079
Author: Sam James (sam_c)  cmpct  info>
AuthorDate: Wed Jul  1 03:49:30 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jul  1 12:21:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d8cb494

dev-libs/stfl: arm keyworded (bug #677018)

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c)  cmpct.info>
Signed-off-by: Michał Górny  gentoo.org>

 dev-libs/stfl/stfl-0.24-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/stfl/stfl-0.24-r2.ebuild 
b/dev-libs/stfl/stfl-0.24-r2.ebuild
index 2ac5a52674a..b60bf167027 100644
--- a/dev-libs/stfl/stfl-0.24-r2.ebuild
+++ b/dev-libs/stfl/stfl-0.24-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://www.clifford.at/${PN}/${P}.tar.gz";
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86"
 IUSE="examples perl python ruby static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/stfl/

2020-06-29 Thread Agostino Sarubbo
commit: 0ecf0458b7fae75fb5146f555dd9b82711c9ef0a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jun 30 06:33:30 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jun 30 06:33:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ecf0458

dev-libs/stfl: x86 stable wrt bug #729818

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/stfl/stfl-0.24-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/stfl/stfl-0.24-r2.ebuild 
b/dev-libs/stfl/stfl-0.24-r2.ebuild
index 6d453e897e7..2ac5a52674a 100644
--- a/dev-libs/stfl/stfl-0.24-r2.ebuild
+++ b/dev-libs/stfl/stfl-0.24-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://www.clifford.at/${PN}/${P}.tar.gz";
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc ~ppc64 x86"
 IUSE="examples perl python ruby static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/stfl/

2020-06-29 Thread Agostino Sarubbo
commit: a84202e5089f6846f86b0e9561ed13a73708e6a2
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jun 29 13:34:37 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jun 29 13:34:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a84202e5

dev-libs/stfl: amd64 stable wrt bug #729818

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-libs/stfl/stfl-0.24-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/stfl/stfl-0.24-r2.ebuild 
b/dev-libs/stfl/stfl-0.24-r2.ebuild
index ea2ac59c66c..6d453e897e7 100644
--- a/dev-libs/stfl/stfl-0.24-r2.ebuild
+++ b/dev-libs/stfl/stfl-0.24-r2.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://www.clifford.at/${PN}/${P}.tar.gz";
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~ppc ~ppc64 ~x86"
 IUSE="examples perl python ruby static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/stfl/

2020-06-29 Thread Cédric Krier
commit: 202863be87d8561cc232f62283e5074be69d113f
Author: Cédric Krier  gentoo  org>
AuthorDate: Mon Jun 29 09:07:07 2020 +
Commit: Cédric Krier  gentoo  org>
CommitDate: Mon Jun 29 09:07:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=202863be

dev-libs/stfl: disable test

Upstream does not provide any test but perl-module eclass runs
"emake test" which has no rule.

Closes: https://bugs.gentoo.org/730112
Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Cédric Krier  gentoo.org>

 dev-libs/stfl/stfl-0.24-r2.ebuild | 1 +
 dev-libs/stfl/stfl-0.24.ebuild| 1 +
 2 files changed, 2 insertions(+)

diff --git a/dev-libs/stfl/stfl-0.24-r2.ebuild 
b/dev-libs/stfl/stfl-0.24-r2.ebuild
index 97e5592ed6e..ea2ac59c66c 100644
--- a/dev-libs/stfl/stfl-0.24-r2.ebuild
+++ b/dev-libs/stfl/stfl-0.24-r2.ebuild
@@ -27,6 +27,7 @@ DEPEND="${RDEPEND}
python? ( >=dev-lang/swig-1.3.40 )
ruby? ( dev-lang/swig )
 "
+RESTRICT="test"  # Upstream does not provide tests #730112
 
 PATCHES=(
"${FILESDIR}/${PN}-0.21-python.patch"

diff --git a/dev-libs/stfl/stfl-0.24.ebuild b/dev-libs/stfl/stfl-0.24.ebuild
index bdce7f3941f..063edf019c5 100644
--- a/dev-libs/stfl/stfl-0.24.ebuild
+++ b/dev-libs/stfl/stfl-0.24.ebuild
@@ -27,6 +27,7 @@ DEPEND="${RDEPEND}
python? ( >=dev-lang/swig-1.3.40 )
ruby? ( dev-lang/swig )
 "
+RESTRICT="test"  # Upstream does not provide tests #730112
 
 PATCHES=(
"${FILESDIR}/${PN}-0.21-python.patch"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/stfl/

2020-05-24 Thread Cédric Krier
commit: 319dcf7cca07d9a6663245a459ab49062be730c6
Author: Cédric Krier  gentoo  org>
AuthorDate: Sun May 24 09:56:55 2020 +
Commit: Cédric Krier  gentoo  org>
CommitDate: Sun May 24 09:57:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=319dcf7c

dev-libs/stfl: respects AR and RANLIB

Closes: https://bugs.gentoo.org/723138
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Cédric Krier  gentoo.org>

 dev-libs/stfl/{stfl-0.24-r1.ebuild => stfl-0.24-r2.ebuild} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-libs/stfl/stfl-0.24-r1.ebuild 
b/dev-libs/stfl/stfl-0.24-r2.ebuild
similarity index 95%
rename from dev-libs/stfl/stfl-0.24-r1.ebuild
rename to dev-libs/stfl/stfl-0.24-r2.ebuild
index 1dc128d1c53..97e5592ed6e 100644
--- a/dev-libs/stfl/stfl-0.24-r1.ebuild
+++ b/dev-libs/stfl/stfl-0.24-r2.ebuild
@@ -42,6 +42,8 @@ src_prepare() {
-e 's/$(CC) -shared/$(CC) $(LDFLAGS) -shared/' \
-e 's/ -o $@ $(LDLIBS) $^/ $^ $(LDLIBS) -o $@/' \
-e 's/-lncursesw/-lncursesw -pthread/' \
+   -e 's/\/$(AR)/' \
+   -e 's/\/$(RANLIB)/' \
Makefile || die "sed failed"
 
if ! use static-libs ; then
@@ -66,7 +68,7 @@ src_prepare() {
 src_configure() { :; }
 
 src_compile() {
-   emake CC="$(tc-getCC)"
+   emake CC="$(tc-getCC)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)"
 
if use python ; then
local BUILD_DIR="${S}/python"



[gentoo-commits] repo/gentoo:master commit in: dev-libs/stfl/

2020-05-23 Thread Cédric Krier
commit: 4c94181f4abbdede6813fc6f8308107a4ca5343c
Author: Cédric Krier  gentoo  org>
AuthorDate: Sat May 23 16:57:43 2020 +
Commit: Cédric Krier  gentoo  org>
CommitDate: Sat May 23 16:57:43 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c94181f

dev-libs/stfl: Add missing call default_src_prepare

Closes: https://bugs.gentoo.org/719452
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Cédric Krier  gentoo.org>

 dev-libs/stfl/stfl-0.24-r1.ebuild | 121 ++
 1 file changed, 121 insertions(+)

diff --git a/dev-libs/stfl/stfl-0.24-r1.ebuild 
b/dev-libs/stfl/stfl-0.24-r1.ebuild
new file mode 100644
index 000..1dc128d1c53
--- /dev/null
+++ b/dev-libs/stfl/stfl-0.24-r1.ebuild
@@ -0,0 +1,121 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6..8} )
+GENTOO_DEPEND_ON_PERL=no
+inherit eutils multilib perl-module python-r1 toolchain-funcs
+
+DESCRIPTION="A library which implements a curses-based widget set for text 
terminals"
+HOMEPAGE="http://www.clifford.at/stfl/";
+SRC_URI="http://www.clifford.at/${PN}/${P}.tar.gz";
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="examples perl python ruby static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+   sys-libs/ncurses:0=[unicode]
+   perl? ( dev-lang/perl:= )
+   ruby? ( dev-lang/ruby:* )
+   python? ( ${PYTHON_DEPS} )
+"
+DEPEND="${RDEPEND}
+   perl? ( dev-lang/swig )
+   python? ( >=dev-lang/swig-1.3.40 )
+   ruby? ( dev-lang/swig )
+"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-0.21-python.patch"
+   "${FILESDIR}/${PN}-0.22-soname-symlink.patch"
+   "${FILESDIR}/${PN}-0.22-ruby-sharedlib.patch"
+)
+
+src_prepare() {
+   default_src_prepare
+   sed -i \
+   -e 's/-Os -ggdb//' \
+   -e 's/^\(all:.*\) example/\1/' \
+   -e 's/$(CC) -shared/$(CC) $(LDFLAGS) -shared/' \
+   -e 's/ -o $@ $(LDLIBS) $^/ $^ $(LDLIBS) -o $@/' \
+   -e 's/-lncursesw/-lncursesw -pthread/' \
+   Makefile || die "sed failed"
+
+   if ! use static-libs ; then
+   sed -i -e "/install .* libstfl.a/d" Makefile || die
+   fi
+
+   if use perl ; then
+   echo "FOUND_PERL5=1" >> Makefile.cfg
+   else
+   echo "FOUND_PERL5=0" >> Makefile.cfg
+   fi
+
+   if use ruby ; then
+   echo "FOUND_RUBY=1" >> Makefile.cfg
+   else
+   echo "FOUND_RUBY=0" >> Makefile.cfg
+   fi
+
+   echo "FOUND_PYTHON=0" >> Makefile.cfg
+}
+
+src_configure() { :; }
+
+src_compile() {
+   emake CC="$(tc-getCC)"
+
+   if use python ; then
+   local BUILD_DIR="${S}/python"
+   python_copy_sources
+
+   # Based on code from python/Makefile.snippet.
+   building() {
+   pushd "${BUILD_DIR}" &>/dev/null || die
+   echo swig -python -threads stfl.i
+   swig -python -threads stfl.i || die
+   echo "$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -shared 
-pthread -fPIC stfl_wrap.c -I$(python_get_includedir) -I.. ../libstfl.so.${PV} 
-lncursesw -o _stfl.so
+   "$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -shared -pthread 
-fPIC stfl_wrap.c -I$(python_get_includedir) -I.. ../libstfl.so.${PV} 
-lncursesw -o _stfl.so || die
+   popd &>/dev/null || die
+   }
+   python_foreach_impl building
+   fi
+}
+
+src_install() {
+   emake prefix="/usr" DESTDIR="${D}" libdir="$(get_libdir)" install
+
+   if use python ; then
+   local BUILD_DIR="${S}/python"
+
+   installation() {
+   pushd "${BUILD_DIR}" &>/dev/null || die
+   python_domodule stfl.py _stfl.so
+   popd &>/dev/null || die
+   }
+   python_foreach_impl installation
+   fi
+
+   dodoc README
+
+   local exdir="/usr/share/doc/${PF}/examples"
+   if use examples ; then
+   insinto ${exdir}
+   doins example.{c,stfl}
+   insinto ${exdir}/python
+   doins python/example.py
+   if use perl ; then
+   insinto ${exdir}/perl
+   doins perl5/example.pl
+   fi
+   if use ruby ; then
+   insinto ${exdir}/ruby
+   doins ruby/example.rb
+   fi
+   fi
+
+   perl_delete_localpod
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/stfl/

2020-04-25 Thread Cédric Krier
commit: 88164fe5d860b3db66db1deb71d35f1dc37cd7c1
Author: Cédric Krier  gentoo  org>
AuthorDate: Sat Apr 25 13:40:57 2020 +
Commit: Cédric Krier  gentoo  org>
CommitDate: Sat Apr 25 14:14:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88164fe5

dev-libs/stfl: Add support for python 3.7 and 3.8

Bug: https://bugs.gentoo.org/718286
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Cédric Krier  gentoo.org>

 dev-libs/stfl/metadata.xml |  4 +++-
 dev-libs/stfl/stfl-0.24.ebuild | 14 +-
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/dev-libs/stfl/metadata.xml b/dev-libs/stfl/metadata.xml
index 43428f619e9..203592b97a7 100644
--- a/dev-libs/stfl/metadata.xml
+++ b/dev-libs/stfl/metadata.xml
@@ -1,7 +1,9 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
+   
+   c...@gentoo.org
+   

STFL is a library which implements a curses-based widget set 
for text
terminals.

diff --git a/dev-libs/stfl/stfl-0.24.ebuild b/dev-libs/stfl/stfl-0.24.ebuild
index 66d866317e5..bdce7f3941f 100644
--- a/dev-libs/stfl/stfl-0.24.ebuild
+++ b/dev-libs/stfl/stfl-0.24.ebuild
@@ -1,8 +1,8 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-PYTHON_COMPAT=( python3_6 )
+EAPI=7
+PYTHON_COMPAT=( python3_{6..8} )
 GENTOO_DEPEND_ON_PERL=no
 inherit eutils multilib perl-module python-r1 toolchain-funcs
 
@@ -28,6 +28,12 @@ DEPEND="${RDEPEND}
ruby? ( dev-lang/swig )
 "
 
+PATCHES=(
+   "${FILESDIR}/${PN}-0.21-python.patch"
+   "${FILESDIR}/${PN}-0.22-soname-symlink.patch"
+   "${FILESDIR}/${PN}-0.22-ruby-sharedlib.patch"
+)
+
 src_prepare() {
sed -i \
-e 's/-Os -ggdb//' \
@@ -41,9 +47,7 @@ src_prepare() {
sed -i -e "/install .* libstfl.a/d" Makefile || die
fi
 
-   epatch "${FILESDIR}"/${PN}-0.21-python.patch
-   epatch "${FILESDIR}"/${PN}-0.22-soname-symlink.patch
-   epatch "${FILESDIR}"/${PN}-0.22-ruby-sharedlib.patch
+   eapply_user
 
if use perl ; then
echo "FOUND_PERL5=1" >> Makefile.cfg



[gentoo-commits] repo/gentoo:master commit in: dev-libs/stfl/

2020-02-10 Thread Michał Górny
commit: 6abb9f0cc355f017f5bff01d5f93316c58ffd190
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Feb 10 20:46:59 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Feb 10 21:00:04 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6abb9f0c

dev-libs/stfl: Remove py2

Signed-off-by: Michał Górny  gentoo.org>

 dev-libs/stfl/stfl-0.24.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/stfl/stfl-0.24.ebuild b/dev-libs/stfl/stfl-0.24.ebuild
index df27aa0aff9..66d866317e5 100644
--- a/dev-libs/stfl/stfl-0.24.ebuild
+++ b/dev-libs/stfl/stfl-0.24.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-PYTHON_COMPAT=( python{2_7,3_6} )
+PYTHON_COMPAT=( python3_6 )
 GENTOO_DEPEND_ON_PERL=no
 inherit eutils multilib perl-module python-r1 toolchain-funcs
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/stfl/

2019-12-27 Thread Georgy Yakovlev
commit: c174e7faf7580acba6bb67ec872761cc97552774
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Fri Dec 27 23:09:18 2019 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Fri Dec 27 23:18:18 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c174e7fa

dev-libs/stfl: keyword on ~ppc64

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev  gentoo.org>

 dev-libs/stfl/stfl-0.24.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/stfl/stfl-0.24.ebuild b/dev-libs/stfl/stfl-0.24.ebuild
index 18f86be116d..8608c2693aa 100644
--- a/dev-libs/stfl/stfl-0.24.ebuild
+++ b/dev-libs/stfl/stfl-0.24.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://www.clifford.at/${PN}/${P}.tar.gz";
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="amd64 ppc x86"
+KEYWORDS="amd64 ppc ~ppc64 x86"
 IUSE="examples perl python ruby static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/stfl/

2019-11-17 Thread Tim Harder
commit: fd7bbf6eca4132decb93675edc8c908c18af05ee
Author: Tim Harder  gentoo  org>
AuthorDate: Sun Nov 17 22:39:31 2019 +
Commit: Tim Harder  gentoo  org>
CommitDate: Sun Nov 17 22:40:32 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd7bbf6e

dev-libs/stfl: drop myself as a maintainer

Signed-off-by: Tim Harder  gentoo.org>

 dev-libs/stfl/metadata.xml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dev-libs/stfl/metadata.xml b/dev-libs/stfl/metadata.xml
index abb4b8f2540..43428f619e9 100644
--- a/dev-libs/stfl/metadata.xml
+++ b/dev-libs/stfl/metadata.xml
@@ -1,10 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   radher...@gentoo.org
-   Tim Harder
-   
+   

STFL is a library which implements a curses-based widget set 
for text
terminals.



[gentoo-commits] repo/gentoo:master commit in: dev-libs/stfl/

2017-09-21 Thread Tim Harder
commit: e78ab16073e836300ad095ae935823ee6b159e40
Author: Tim Harder  gentoo  org>
AuthorDate: Fri Sep 22 05:38:43 2017 +
Commit: Tim Harder  gentoo  org>
CommitDate: Fri Sep 22 05:38:43 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e78ab160

dev-libs/stfl: remove old

 dev-libs/stfl/Manifest |   1 -
 dev-libs/stfl/stfl-0.23.ebuild | 118 -
 2 files changed, 119 deletions(-)

diff --git a/dev-libs/stfl/Manifest b/dev-libs/stfl/Manifest
index 285d8a9567e..5de8895a917 100644
--- a/dev-libs/stfl/Manifest
+++ b/dev-libs/stfl/Manifest
@@ -1,2 +1 @@
-DIST stfl-0.23.tar.gz 43941 SHA256 
e75ed8427905ad50faf43ed5fefd0cf7b16ee0c1ca87e15d33e360bb92aedfde SHA512 
02a7323740364acac4063d002775d04358bc9f98d8df4d83ec9dcdc9d9f46840be1cab0d2526c8cdc7a441784ec95100792edd1bbd1fa2365ce20ef4141a0e6e
 WHIRLPOOL 
6331623402ae5a7df97df6c135b043e8c9b327de78ab2916e122489bdf1108871aef7772c016b5f567f8a00dca1f4274fce4add3d2d9a625f5aca911301c9730
 DIST stfl-0.24.tar.gz 45585 SHA256 
d4a7aa181a475aaf8a8914a8ccb2a7ff28919d4c8c0f8a061e17a0c36869c090 SHA512 
95df4574b1bc32d795751156dc5b93afbca3ba241607a3a55210c89dda61b9a26ad574bb5f729a0158c9052235dbf63d6c58b38e7f1061d14ab7062af6150fa0
 WHIRLPOOL 
76545f41802a5f019ee44598368958a13551c3ed70747f45da88d61bc9ba882e514659b3c8f47805a7c199229078abc22ac5a79680b803244bfe8e29a081f10e

diff --git a/dev-libs/stfl/stfl-0.23.ebuild b/dev-libs/stfl/stfl-0.23.ebuild
deleted file mode 100644
index 212ff7317c5..000
--- a/dev-libs/stfl/stfl-0.23.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4} )
-GENTOO_DEPEND_ON_PERL=no
-inherit eutils multilib perl-module python-r1 toolchain-funcs
-
-DESCRIPTION="A library which implements a curses-based widget set for text 
terminals"
-HOMEPAGE="http://www.clifford.at/stfl/";
-SRC_URI="http://www.clifford.at/${PN}/${P}.tar.gz";
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="examples perl python ruby static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
-   sys-libs/ncurses:0=[unicode]
-   perl? ( dev-lang/perl:= )
-   ruby? ( dev-lang/ruby:* )
-   python? ( ${PYTHON_DEPS} )
-"
-DEPEND="${RDEPEND}
-   perl? ( dev-lang/swig )
-   python? ( >=dev-lang/swig-1.3.40 )
-   ruby? ( dev-lang/swig )
-"
-
-src_prepare() {
-   sed -i \
-   -e 's/-Os -ggdb//' \
-   -e 's/^\(all:.*\) example/\1/' \
-   -e 's/$(CC) -shared/$(CC) $(LDFLAGS) -shared/' \
-   -e 's/ -o $@ $(LDLIBS) $^/ $^ $(LDLIBS) -o $@/' \
-   -e 's/-lncursesw/-lncursesw -pthread/' \
-   Makefile || die "sed failed"
-
-   if ! use static-libs ; then
-   sed -i -e "/install .* libstfl.a/d" Makefile || die
-   fi
-
-   epatch "${FILESDIR}"/${PN}-0.21-python.patch
-   epatch "${FILESDIR}"/${PN}-0.22-soname-symlink.patch
-   epatch "${FILESDIR}"/${PN}-0.22-ruby-sharedlib.patch
-
-   if use perl ; then
-   echo "FOUND_PERL5=1" >> Makefile.cfg
-   else
-   echo "FOUND_PERL5=0" >> Makefile.cfg
-   fi
-
-   if use ruby ; then
-   echo "FOUND_RUBY=1" >> Makefile.cfg
-   else
-   echo "FOUND_RUBY=0" >> Makefile.cfg
-   fi
-
-   echo "FOUND_PYTHON=0" >> Makefile.cfg
-}
-
-src_configure() { :; }
-
-src_compile() {
-   emake CC="$(tc-getCC)"
-
-   if use python ; then
-   local BUILD_DIR="${S}/python"
-   python_copy_sources
-
-   # Based on code from python/Makefile.snippet.
-   building() {
-   pushd "${BUILD_DIR}" &>/dev/null || die
-   echo swig -python -threads stfl.i
-   swig -python -threads stfl.i || die
-   echo "$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -shared 
-pthread -fPIC stfl_wrap.c -I$(python_get_includedir) -I.. ../libstfl.so.${PV} 
-lncursesw -o _stfl.so
-   "$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -shared -pthread 
-fPIC stfl_wrap.c -I$(python_get_includedir) -I.. ../libstfl.so.${PV} 
-lncursesw -o _stfl.so || die
-   popd &>/dev/null || die
-   }
-   python_foreach_impl building
-   fi
-}
-
-src_install() {
-   emake prefix="/usr" DESTDIR="${D}" libdir="$(get_libdir)" install
-
-   if use python ; then
-   local BUILD_DIR="${S}/python"
-
-   installation() {
-   pushd "${BUILD_DIR}" &>/dev/null || die
-   python_domodule stfl.py _stfl.so
-   popd &>/dev/null || die
-   }
-   python_foreach_impl installation
-   fi
-
-   dodoc README
-
-   local exdir="/usr/share/doc/${PF}/examples"
-   if use examples ; then
-   

[gentoo-commits] repo/gentoo:master commit in: dev-libs/stfl/

2017-09-12 Thread Matt Turner
commit: 33b21b64b4992e5f2be808e704f03a56b6bf19ab
Author: Matt Turner  gentoo  org>
AuthorDate: Tue Sep 12 23:02:34 2017 +
Commit: Matt Turner  gentoo  org>
CommitDate: Tue Sep 12 23:02:34 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33b21b64

dev-libs/stfl-0.24: ppc stable, bug 624946

 dev-libs/stfl/stfl-0.24.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/stfl/stfl-0.24.ebuild b/dev-libs/stfl/stfl-0.24.ebuild
index 9a9b57f19ef..87e3ee820f4 100644
--- a/dev-libs/stfl/stfl-0.24.ebuild
+++ b/dev-libs/stfl/stfl-0.24.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://www.clifford.at/${PN}/${P}.tar.gz";
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
+KEYWORDS="amd64 ppc x86"
 IUSE="examples perl python ruby static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/stfl/

2017-07-26 Thread Pacho Ramos
commit: 576dcf859f4f99d7fedf55c4a73e65e6d92bfa35
Author: Pacho Ramos  gentoo  org>
AuthorDate: Wed Jul 26 09:26:51 2017 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Wed Jul 26 09:39:10 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=576dcf85

dev-libs/stfl: amd64/x86 stable, bug #624946

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-libs/stfl/stfl-0.24.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/stfl/stfl-0.24.ebuild b/dev-libs/stfl/stfl-0.24.ebuild
index c23d831e722..9a9b57f19ef 100644
--- a/dev-libs/stfl/stfl-0.24.ebuild
+++ b/dev-libs/stfl/stfl-0.24.ebuild
@@ -12,7 +12,7 @@ SRC_URI="http://www.clifford.at/${PN}/${P}.tar.gz";
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc x86"
 IUSE="examples perl python ruby static-libs"
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/stfl/

2017-07-07 Thread Pacho Ramos
commit: c274e5f2db4afb869bdfd07f9a3a7fb8aa48b0b3
Author: Pacho Ramos  gentoo  org>
AuthorDate: Fri Jul  7 09:15:29 2017 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Fri Jul  7 09:20:09 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c274e5f2

dev-libs/stfl: Support newer python

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-libs/stfl/stfl-0.24.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/stfl/stfl-0.24.ebuild b/dev-libs/stfl/stfl-0.24.ebuild
index d768aac0714..c23d831e722 100644
--- a/dev-libs/stfl/stfl-0.24.ebuild
+++ b/dev-libs/stfl/stfl-0.24.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4} )
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
 GENTOO_DEPEND_ON_PERL=no
 inherit eutils multilib perl-module python-r1 toolchain-funcs
 



[gentoo-commits] repo/gentoo:master commit in: dev-libs/stfl/

2016-10-18 Thread Pacho Ramos
commit: 0c25084f548e26d7db341e833eeaf2c554b0221d
Author: Pacho Ramos  gentoo  org>
AuthorDate: Tue Oct 18 19:22:31 2016 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Tue Oct 18 19:26:32 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c25084f

dev-libs/stfl: Drop old

Package-Manager: portage-2.3.1

 dev-libs/stfl/Manifest|   1 -
 dev-libs/stfl/stfl-0.22-r2.ebuild | 126 --
 2 files changed, 127 deletions(-)

diff --git a/dev-libs/stfl/Manifest b/dev-libs/stfl/Manifest
index 68089c4..285d8a9 100644
--- a/dev-libs/stfl/Manifest
+++ b/dev-libs/stfl/Manifest
@@ -1,3 +1,2 @@
-DIST stfl-0.22.tar.gz 41412 SHA256 
2dddafd331e61ad04baf1251ccecb3a69feaf99880dd75155be8423c1cc55418 SHA512 
dab2335ef00b65d00abda2a51fb5c667b48864b02ee82abee049f15fd9e2f272f21ec80d4a6cdbb5fc5882239ba28964912e4c0b641b2e83a7ab3bd7f94415bb
 WHIRLPOOL 
e1fdd9754f8d6bed3c43a8d19e128565efac36ead413836fe02ee97cb6ba9c3ac5ca2a2e5c7784389e0e8671dbf49286d2a3c746f31b406e511bf6942efce39e
 DIST stfl-0.23.tar.gz 43941 SHA256 
e75ed8427905ad50faf43ed5fefd0cf7b16ee0c1ca87e15d33e360bb92aedfde SHA512 
02a7323740364acac4063d002775d04358bc9f98d8df4d83ec9dcdc9d9f46840be1cab0d2526c8cdc7a441784ec95100792edd1bbd1fa2365ce20ef4141a0e6e
 WHIRLPOOL 
6331623402ae5a7df97df6c135b043e8c9b327de78ab2916e122489bdf1108871aef7772c016b5f567f8a00dca1f4274fce4add3d2d9a625f5aca911301c9730
 DIST stfl-0.24.tar.gz 45585 SHA256 
d4a7aa181a475aaf8a8914a8ccb2a7ff28919d4c8c0f8a061e17a0c36869c090 SHA512 
95df4574b1bc32d795751156dc5b93afbca3ba241607a3a55210c89dda61b9a26ad574bb5f729a0158c9052235dbf63d6c58b38e7f1061d14ab7062af6150fa0
 WHIRLPOOL 
76545f41802a5f019ee44598368958a13551c3ed70747f45da88d61bc9ba882e514659b3c8f47805a7c199229078abc22ac5a79680b803244bfe8e29a081f10e

diff --git a/dev-libs/stfl/stfl-0.22-r2.ebuild 
b/dev-libs/stfl/stfl-0.22-r2.ebuild
deleted file mode 100644
index 13b6d88..
--- a/dev-libs/stfl/stfl-0.22-r2.ebuild
+++ /dev/null
@@ -1,126 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="5"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="*-jython"
-
-inherit eutils multilib perl-module python toolchain-funcs
-
-DESCRIPTION="A library which implements a curses-based widget set for text 
terminals"
-HOMEPAGE="http://www.clifford.at/stfl/";
-SRC_URI="http://www.clifford.at/${PN}/${P}.tar.gz";
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-
-IUSE="examples perl python ruby static-libs"
-
-COMMON_DEPEND="sys-libs/ncurses[unicode]
-   perl? ( dev-lang/perl )
-   ruby? ( dev-lang/ruby )
-   python? ( dev-lang/python )"
-
-DEPEND="${COMMON_DEPEND}
-   perl? ( dev-lang/swig )
-   python? ( >=dev-lang/swig-1.3.40 )
-   ruby? ( dev-lang/swig )"
-
-RDEPEND="${COMMON_DEPEND}"
-
-pkg_setup() {
-   use python && python_pkg_setup
-}
-
-src_prepare() {
-   sed -i \
-   -e 's/-Os -ggdb//' \
-   -e 's/^\(all:.*\) example/\1/' \
-   -e 's/$(CC) -shared/$(CC) $(LDFLAGS) -shared/' \
-   -e 's/ -o $@ $(LDLIBS) $^/ $^ $(LDLIBS) -o $@/' \
-   -e 's/-lncursesw/-lncursesw -pthread/' \
-   Makefile || die "sed failed"
-
-   if ! use static-libs ; then
-   sed -i -e "/install .* libstfl.a/d" Makefile || die
-   fi
-
-   epatch "${FILESDIR}"/${PN}-0.21-python.patch
-   epatch "${FILESDIR}"/${P}-soname-symlink.patch
-   epatch "${FILESDIR}"/${P}-ruby-sharedlib.patch
-
-   if use perl ; then
-   echo "FOUND_PERL5=1" >> Makefile.cfg
-   else
-   echo "FOUND_PERL5=0" >> Makefile.cfg
-   fi
-
-   if use ruby ; then
-   echo "FOUND_RUBY=1" >> Makefile.cfg
-   else
-   echo "FOUND_RUBY=0" >> Makefile.cfg
-   fi
-
-   echo "FOUND_PYTHON=0" >> Makefile.cfg
-}
-
-src_configure() { :; }
-
-src_compile() {
-   emake CC="$(tc-getCC)"
-
-   if use python ; then
-   python_copy_sources python
-
-   # Based on code from python/Makefile.snippet.
-   building() {
-   echo swig -python -threads stfl.i
-   swig -python -threads stfl.i
-   echo "$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -shared 
-pthread -fPIC stfl_wrap.c -I$(python_get_includedir) -I.. ../libstfl.so.${PV} 
-lncursesw -o _stfl.so
-   "$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -shared -pthread 
-fPIC stfl_wrap.c -I$(python_get_includedir) -I.. ../libstfl.so.${PV} 
-lncursesw -o _stfl.so
-   }
-   python_execute_function -s --source-dir python building
-   fi
-}
-
-src_install() {
-   emake prefix="/usr" DESTDIR="${D}" libdir="$(get_libdir)" install
-
-   if use python ; then
-   installation() {
-   insinto $(python_get_sitedir)
-   doins stfl.py _stfl.so
-