* [gentoo-commits] repo/gentoo:master commit in: app-text/hyperestraier/
@ 2017-04-07 12:14 Akinori Hattori
0 siblings, 0 replies; 17+ messages in thread
From: Akinori Hattori @ 2017-04-07 12:14 UTC (permalink / raw
To: gentoo-commits
commit: b03e5c7d97e99057adf2243b100543ed3325c5a5
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 7 12:03:02 2017 +0000
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Fri Apr 7 12:03:02 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b03e5c7d
app-text/hyperestraier: update to EAPI 6
Package-Manager: Portage-2.3.3, Repoman-2.3.1
app-text/hyperestraier/hyperestraier-1.4.13.ebuild | 148 ++++++++++-----------
app-text/hyperestraier/metadata.xml | 21 ++-
2 files changed, 81 insertions(+), 88 deletions(-)
diff --git a/app-text/hyperestraier/hyperestraier-1.4.13.ebuild b/app-text/hyperestraier/hyperestraier-1.4.13.ebuild
index 8142e3bd774..921b3192dcd 100644
--- a/app-text/hyperestraier/hyperestraier-1.4.13.ebuild
+++ b/app-text/hyperestraier/hyperestraier-1.4.13.ebuild
@@ -1,9 +1,11 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-inherit java-pkg-opt-2 multilib
+EAPI="6"
-IUSE="debug java mecab ruby"
+inherit java-pkg-opt-2
+
+IUSE="bzip2 debug java lzo mecab ruby +zlib"
DESCRIPTION="a full-text search system for communities"
HOMEPAGE="http://fallabs.com/hyperestraier/"
@@ -13,100 +15,92 @@ LICENSE="LGPL-2.1"
KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd"
SLOT="0"
-RDEPEND=">=dev-db/qdbm-1.8.75
- sys-libs/zlib
- java? ( >=virtual/jre-1.4 )
+RDEPEND="dev-db/qdbm
+ bzip2? ( app-arch/bzip2 )
+ java? ( >=virtual/jre-1.4:* )
+ lzo? ( dev-libs/lzo )
mecab? ( app-text/mecab )
- ruby? ( dev-lang/ruby )"
+ ruby? ( dev-lang/ruby:= )
+ zlib? ( sys-libs/zlib )"
DEPEND="${RDEPEND}
- java? ( >=virtual/jdk-1.4 )"
-
-src_unpack() {
-
- unpack ${A}
- cd "${S}"
-
- # fix for insecure runpath warning.
- sed -i \
- -e "/^LDENV/d" \
- -e "/^CFLAGS/s/$/ ${CFLAGS}/" \
- Makefile.in \
- || die
- sed -i "/^JAVACFLAGS/s/$/ ${JAVACFLAGS}/" java*/Makefile.in || die
-
-}
-
-src_compile() {
+ virtual/pkgconfig
+ java? ( >=virtual/jdk-1.4:* )"
- econf \
- $(use_enable debug) \
- $(use_enable mecab) \
- || die
- emake || die
+HTML_DOCS=( doc/. )
+he_foreach_api() {
local u d
-
for u in java ruby; do
- if ! use ${u}; then
+ if ! use "${u}"; then
continue
fi
-
for d in ${u}native ${u}pure; do
- cd ${d}
- econf || die
- emake || die
- cd -
+ einfo "${EBUILD_PHASE} ${d}"
+ cd "${d}"
+ case "${EBUILD_PHASE}" in
+ configure)
+ econf
+ ;;
+ compile)
+ emake
+ ;;
+ test)
+ if [[ "${d}" == "${u}native" ]]; then
+ emake check
+ fi
+ ;;
+ install)
+ if [[ "${u}" != "java" ]]; then
+ emake DESTDIR="${D}" install
+ else
+ java-pkg_dojar *.jar
+ if [[ "${d}" == "${u}native" ]]; then
+ dolib.so lib*.so*
+ fi
+ fi
+ ;;
+ esac
+ cd - >/dev/null
done
done
-
}
-src_test() {
-
- emake -j1 check || die
+src_prepare() {
+ default
+ java-pkg-opt-2_src_prepare
- local u d
+ sed -i \
+ -e "/^CFLAGS/s|$| ${CFLAGS}|" \
+ -e "/^JAVACFLAGS/s|$| ${JAVACFLAGS}|" \
+ -e '/^LDENV/d' \
+ -e 's/make\( \|$\)/$(MAKE)\1/g' \
+ Makefile.in {java,ruby}*/Makefile.in
+}
- for u in java ruby; do
- if ! use ${u}; then
- continue
- fi
+src_configure() {
+ econf \
+ $(use_enable bzip2 bzip) \
+ $(use_enable debug) \
+ $(use_enable lzo) \
+ $(use_enable mecab) \
+ $(use_enable zlib)
+ he_foreach_api
+}
- for d in ${u}native; do
- cd ${d}
- emake -j1 check || die
- cd -
- done
- done
+src_compile() {
+ default
+ he_foreach_api
+}
+src_test() {
+ default
+ he_foreach_api
}
src_install() {
-
- emake DESTDIR="${D}" MYDOCS= install || die
- dodoc ChangeLog README* THANKS
- dohtml doc/{*.html,*.png}
-
- local u d
-
- for u in java ruby; do
- if ! use ${u}; then
- continue
- fi
-
- for d in ${u}native ${u}pure; do
- cd ${d}
- emake DESTDIR="${D}" install || die
- cd -
- dohtml -r doc/${d}api
- done
- done
-
- if use java; then
- java-pkg_dojar "${D}"/usr/$(get_libdir)/*.jar
- rm -f "${D}"/usr/$(get_libdir)/*.jar
- fi
+ emake DESTDIR="${D}" MYDOCS= install
+ einstalldocs
+ he_foreach_api
rm -f "${D}"/usr/bin/*test
-
}
diff --git a/app-text/hyperestraier/metadata.xml b/app-text/hyperestraier/metadata.xml
index b0ca0a70fd1..63e7b3c8bb4 100644
--- a/app-text/hyperestraier/metadata.xml
+++ b/app-text/hyperestraier/metadata.xml
@@ -1,15 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="person">
- <email>hattya@gentoo.org</email>
-</maintainer>
-<maintainer type="project">
- <email>cjk@gentoo.org</email>
- <name>Cjk</name>
-</maintainer>
-<use>
- <flag name="mecab">Enable <pkg>app-text/mecab</pkg> support
- for Estraier</flag>
-</use>
+ <maintainer type="person">
+ <email>hattya@gentoo.org</email>
+ </maintainer>
+ <maintainer type="project">
+ <email>cjk@gentoo.org</email>
+ <name>Cjk</name>
+ </maintainer>
+ <use>
+ <flag name="mecab">Enable <pkg>app-text/mecab</pkg> support for Estraier</flag>
+ </use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-text/hyperestraier/
@ 2017-04-07 12:29 Akinori Hattori
0 siblings, 0 replies; 17+ messages in thread
From: Akinori Hattori @ 2017-04-07 12:29 UTC (permalink / raw
To: gentoo-commits
commit: 2c2200f97c9774df23133d0c700246c4ec773f8a
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 7 12:28:51 2017 +0000
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Fri Apr 7 12:28:51 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c2200f9
app-text/hyperestraier: use ruby-ng eclass
Package-Manager: Portage-2.3.3, Repoman-2.3.1
app-text/hyperestraier/hyperestraier-1.4.13.ebuild | 138 ++++++++++++++++-----
1 file changed, 104 insertions(+), 34 deletions(-)
diff --git a/app-text/hyperestraier/hyperestraier-1.4.13.ebuild b/app-text/hyperestraier/hyperestraier-1.4.13.ebuild
index 8d57b0e5812..a31998f2222 100644
--- a/app-text/hyperestraier/hyperestraier-1.4.13.ebuild
+++ b/app-text/hyperestraier/hyperestraier-1.4.13.ebuild
@@ -2,8 +2,10 @@
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+RUBY_OPTIONAL="yes"
-inherit autotools java-pkg-opt-2 perl-functions
+inherit autotools java-pkg-opt-2 perl-functions ruby-ng
IUSE="bzip2 debug java lzo mecab perl ruby +zlib"
@@ -21,11 +23,12 @@ RDEPEND="dev-db/qdbm
lzo? ( dev-libs/lzo )
mecab? ( app-text/mecab )
perl? ( dev-lang/perl )
- ruby? ( dev-lang/ruby:= )
+ ruby? ( $(ruby_implementations_depend) )
zlib? ( sys-libs/zlib )"
DEPEND="${RDEPEND}
virtual/pkgconfig
java? ( >=virtual/jdk-1.4:* )"
+S="${WORKDIR}/all/${P}"
PATCHES=(
"${FILESDIR}"/${PN}-configure.patch
@@ -36,47 +39,89 @@ HTML_DOCS=( doc/. )
AT_NOELIBTOOLIZE="yes"
+pkg_setup() {
+ java-pkg-opt-2_pkg_setup
+ use ruby && ruby-ng_pkg_setup
+}
+
he_foreach_api() {
local u d
for u in java perl ruby; do
if ! use "${u}"; then
continue
fi
- for d in ${u}native ${u}pure; do
- if [[ ! -d "${d}" ]]; then
- continue
- fi
- einfo "${EBUILD_PHASE} ${d}"
- cd "${d}"
- case "${EBUILD_PHASE}" in
- prepare)
- mv configure.{in,ac}
- eautoreconf
- ;;
- configure)
- econf
- ;;
- compile)
- emake
- ;;
- test)
- if [[ "${d}" == "${u}native" ]]; then
- emake check
+ if [[ "${u}" != "ruby" ]]; then
+ for d in ${u}native ${u}pure; do
+ if [[ ! -d "${d}" ]]; then
+ continue
fi
- ;;
- install)
- if [[ "${u}" != "java" ]]; then
- emake DESTDIR="${D}" install
- else
- java-pkg_dojar *.jar
+ einfo "${EBUILD_PHASE} ${d}"
+ cd "${d}"
+ case "${EBUILD_PHASE}" in
+ prepare)
+ mv configure.{in,ac}
+ eautoreconf
+ ;;
+ configure)
+ econf
+ ;;
+ compile)
+ emake
+ ;;
+ test)
if [[ "${d}" == "${u}native" ]]; then
- dolib.so lib*.so*
+ emake check
fi
- fi
- ;;
- esac
- cd - >/dev/null
- done
+ ;;
+ install)
+ if [[ "${u}" != "java" ]]; then
+ emake DESTDIR="${D}" install
+ else
+ java-pkg_dojar *.jar
+ if [[ "${d}" == "${u}native" ]]; then
+ dolib.so lib*.so*
+ fi
+ fi
+ ;;
+ esac
+ cd - >/dev/null
+ done
+ else
+ PATCHES= ruby-ng_src_${EBUILD_PHASE}
+ fi
+ done
+}
+
+he_foreach_ruby_api() {
+ local d
+ for d in rubynative rubypure; do
+ cd "${d}"
+ case "${EBUILD_PHASE}" in
+ prepare)
+ sed -i \
+ -e "/RUBY=/cRUBY=\"${RUBY}\"" \
+ -e "/=\`.*ruby/s|ruby|${RUBY}|" \
+ configure.in
+
+ mv configure.{in,ac}
+ eautoreconf
+ ;;
+ configure)
+ econf
+ ;;
+ compile)
+ emake
+ ;;
+ test)
+ if [[ "${d}" == "${u}native" ]]; then
+ emake check
+ fi
+ ;;
+ install)
+ emake DESTDIR="${D}" install
+ ;;
+ esac
+ cd - >/dev/null
done
}
@@ -96,6 +141,15 @@ src_prepare() {
he_foreach_api # prepare
}
+all_ruby_prepare() {
+ sed -i "/^RUNENV /s|\.\.|${WORKDIR}/all/${P}|" ruby*/Makefile.in
+ sed -i "s|\.\./\.\.|${WORKDIR}/all/${P}|" rubynative/src/extconf.rb
+}
+
+each_ruby_prepare() {
+ he_foreach_ruby_api
+}
+
src_configure() {
econf \
$(use_enable bzip2 bzip) \
@@ -106,16 +160,28 @@ src_configure() {
he_foreach_api
}
+each_ruby_configure() {
+ he_foreach_ruby_api
+}
+
src_compile() {
default
he_foreach_api
}
+each_ruby_compile() {
+ he_foreach_ruby_api
+}
+
src_test() {
default
he_foreach_api
}
+each_ruby_test() {
+ he_foreach_ruby_api
+}
+
src_install() {
emake DESTDIR="${D}" MYDOCS= install
einstalldocs
@@ -128,3 +194,7 @@ src_install() {
rm -f "${D}"/usr/bin/*test
}
+
+each_ruby_install() {
+ he_foreach_ruby_api
+}
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-text/hyperestraier/
@ 2019-10-19 5:28 Hans de Graaff
0 siblings, 0 replies; 17+ messages in thread
From: Hans de Graaff @ 2019-10-19 5:28 UTC (permalink / raw
To: gentoo-commits
commit: 5430bf43ee6b06c0eb9ef66cd1bd668a4f5e591b
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 18 10:35:44 2019 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Oct 19 05:28:55 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5430bf43
app-text/hyperestraier: add ruby25
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
app-text/hyperestraier/hyperestraier-1.4.13.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-text/hyperestraier/hyperestraier-1.4.13.ebuild b/app-text/hyperestraier/hyperestraier-1.4.13.ebuild
index 533097cd25a..283cffc0303 100644
--- a/app-text/hyperestraier/hyperestraier-1.4.13.ebuild
+++ b/app-text/hyperestraier/hyperestraier-1.4.13.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
-USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+USE_RUBY="ruby24 ruby25"
RUBY_OPTIONAL="yes"
inherit autotools java-pkg-opt-2 perl-functions ruby-ng
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-text/hyperestraier/
@ 2020-05-02 5:18 Hans de Graaff
0 siblings, 0 replies; 17+ messages in thread
From: Hans de Graaff @ 2020-05-02 5:18 UTC (permalink / raw
To: gentoo-commits
commit: 4e356916cc0ef7be30d7f6a28cd7551d216eb1dc
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat May 2 05:16:22 2020 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat May 2 05:17:38 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e356916
app-text/hyperestraier: add ruby26
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
app-text/hyperestraier/hyperestraier-1.4.13.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-text/hyperestraier/hyperestraier-1.4.13.ebuild b/app-text/hyperestraier/hyperestraier-1.4.13.ebuild
index 2d53618faab..a0570280c75 100644
--- a/app-text/hyperestraier/hyperestraier-1.4.13.ebuild
+++ b/app-text/hyperestraier/hyperestraier-1.4.13.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
-USE_RUBY="ruby24 ruby25"
+USE_RUBY="ruby24 ruby25 ruby26"
RUBY_OPTIONAL="yes"
inherit autotools java-pkg-opt-2 perl-functions ruby-ng
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-text/hyperestraier/
@ 2020-05-12 13:21 Akinori Hattori
0 siblings, 0 replies; 17+ messages in thread
From: Akinori Hattori @ 2020-05-12 13:21 UTC (permalink / raw
To: gentoo-commits
commit: 501459f3872fba64b6e23bc5a0106701c6e78fef
Author: Alexey Sokolov <sokolov <AT> google <DOT> com>
AuthorDate: Fri May 8 00:52:42 2020 +0000
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Tue May 12 13:21:32 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=501459f3
app-text/hyperestraier: update homepage
Closes: https://github.com/gentoo/gentoo/pull/15700
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alexey Sokolov <sokolov <AT> google.com>
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>
app-text/hyperestraier/hyperestraier-1.4.13.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-text/hyperestraier/hyperestraier-1.4.13.ebuild b/app-text/hyperestraier/hyperestraier-1.4.13.ebuild
index a0570280c75..f7e68032d6b 100644
--- a/app-text/hyperestraier/hyperestraier-1.4.13.ebuild
+++ b/app-text/hyperestraier/hyperestraier-1.4.13.ebuild
@@ -10,8 +10,8 @@ inherit autotools java-pkg-opt-2 perl-functions ruby-ng
IUSE="bzip2 debug java lzo mecab perl ruby +zlib"
DESCRIPTION="a full-text search system for communities"
-HOMEPAGE="http://fallabs.com/hyperestraier/"
-SRC_URI="http://fallabs.com/hyperestraier/${P}.tar.gz"
+HOMEPAGE="https://fallabs.com/hyperestraier/"
+SRC_URI="https://fallabs.com/hyperestraier/${P}.tar.gz"
LICENSE="LGPL-2.1"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ppc ppc64 sparc x86"
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-text/hyperestraier/
@ 2020-05-12 13:56 Akinori Hattori
0 siblings, 0 replies; 17+ messages in thread
From: Akinori Hattori @ 2020-05-12 13:56 UTC (permalink / raw
To: gentoo-commits
commit: a4ba1e97a51b7bc93687e014f0cde76ada117c01
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Tue May 12 13:51:45 2020 +0000
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Tue May 12 13:55:02 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4ba1e97
app-text/hyperestraier: update to EAPI 7
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>
app-text/hyperestraier/hyperestraier-1.4.13.ebuild | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/app-text/hyperestraier/hyperestraier-1.4.13.ebuild b/app-text/hyperestraier/hyperestraier-1.4.13.ebuild
index f7e68032d6b..d2a6c023842 100644
--- a/app-text/hyperestraier/hyperestraier-1.4.13.ebuild
+++ b/app-text/hyperestraier/hyperestraier-1.4.13.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
+EAPI="7"
USE_RUBY="ruby24 ruby25 ruby26"
RUBY_OPTIONAL="yes"
@@ -11,7 +11,7 @@ IUSE="bzip2 debug java lzo mecab perl ruby +zlib"
DESCRIPTION="a full-text search system for communities"
HOMEPAGE="https://fallabs.com/hyperestraier/"
-SRC_URI="https://fallabs.com/hyperestraier/${P}.tar.gz"
+SRC_URI="https://fallabs.com/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ppc ppc64 sparc x86"
@@ -25,8 +25,8 @@ RDEPEND="dev-db/qdbm
perl? ( dev-lang/perl )
ruby? ( $(ruby_implementations_depend) )
zlib? ( sys-libs/zlib )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig
java? ( >=virtual/jdk-1.4:* )"
S="${WORKDIR}/all/${P}"
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-text/hyperestraier/
@ 2020-06-16 14:47 Akinori Hattori
0 siblings, 0 replies; 17+ messages in thread
From: Akinori Hattori @ 2020-06-16 14:47 UTC (permalink / raw
To: gentoo-commits
commit: 06d47ca80acfe6ce027e7b1688b0788f19e1bebc
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 16 14:47:31 2020 +0000
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Tue Jun 16 14:47:31 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06d47ca8
app-text/hyperestraier: add static-libs USE flag
Closes: https://bugs.gentoo.org/726706
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>
app-text/hyperestraier/hyperestraier-1.4.13.ebuild | 4 ++--
app-text/hyperestraier/metadata.xml | 21 +++++++++++----------
2 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/app-text/hyperestraier/hyperestraier-1.4.13.ebuild b/app-text/hyperestraier/hyperestraier-1.4.13.ebuild
index d2a6c023842..9393122cd47 100644
--- a/app-text/hyperestraier/hyperestraier-1.4.13.ebuild
+++ b/app-text/hyperestraier/hyperestraier-1.4.13.ebuild
@@ -7,8 +7,6 @@ RUBY_OPTIONAL="yes"
inherit autotools java-pkg-opt-2 perl-functions ruby-ng
-IUSE="bzip2 debug java lzo mecab perl ruby +zlib"
-
DESCRIPTION="a full-text search system for communities"
HOMEPAGE="https://fallabs.com/hyperestraier/"
SRC_URI="https://fallabs.com/${PN}/${P}.tar.gz"
@@ -16,6 +14,7 @@ SRC_URI="https://fallabs.com/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ppc ppc64 sparc x86"
SLOT="0"
+IUSE="bzip2 debug java lzo mecab perl ruby static-libs +zlib"
RDEPEND="dev-db/qdbm
bzip2? ( app-arch/bzip2 )
@@ -186,6 +185,7 @@ src_install() {
emake DESTDIR="${D}" MYDOCS= install
einstalldocs
he_foreach_api
+ use static-libs || find "${ED}" -name '*.a' -delete || die
if use perl; then
perl_delete_module_manpages
diff --git a/app-text/hyperestraier/metadata.xml b/app-text/hyperestraier/metadata.xml
index 63e7b3c8bb4..e89da165177 100644
--- a/app-text/hyperestraier/metadata.xml
+++ b/app-text/hyperestraier/metadata.xml
@@ -1,14 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>hattya@gentoo.org</email>
- </maintainer>
- <maintainer type="project">
- <email>cjk@gentoo.org</email>
- <name>Cjk</name>
- </maintainer>
- <use>
- <flag name="mecab">Enable <pkg>app-text/mecab</pkg> support for Estraier</flag>
- </use>
+ <maintainer type="person">
+ <email>hattya@gentoo.org</email>
+ <name>Akinori Hattori</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>cjk@gentoo.org</email>
+ <name>Cjk</name>
+ </maintainer>
+ <use>
+ <flag name="mecab">Enable <pkg>app-text/mecab</pkg> support for Estraier</flag>
+ </use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-text/hyperestraier/
@ 2021-07-07 19:15 Hans de Graaff
0 siblings, 0 replies; 17+ messages in thread
From: Hans de Graaff @ 2021-07-07 19:15 UTC (permalink / raw
To: gentoo-commits
commit: e22878f1b47ceae6c0b0b5f3f0fbea97d8139662
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 7 18:18:25 2021 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Jul 7 19:15:14 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e22878f1
app-text/hyperestraier: add ruby27, ruby30
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
app-text/hyperestraier/hyperestraier-1.4.13.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-text/hyperestraier/hyperestraier-1.4.13.ebuild b/app-text/hyperestraier/hyperestraier-1.4.13.ebuild
index dbacdc014ac..f759094eb85 100644
--- a/app-text/hyperestraier/hyperestraier-1.4.13.ebuild
+++ b/app-text/hyperestraier/hyperestraier-1.4.13.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"
-USE_RUBY="ruby24 ruby25 ruby26"
+USE_RUBY="ruby25 ruby26 ruby27 ruby30"
RUBY_OPTIONAL="yes"
inherit autotools java-pkg-opt-2 perl-functions ruby-ng
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-text/hyperestraier/
@ 2021-08-14 14:32 Akinori Hattori
0 siblings, 0 replies; 17+ messages in thread
From: Akinori Hattori @ 2021-08-14 14:32 UTC (permalink / raw
To: gentoo-commits
commit: 5ade4a02c74af562637b99024fc9724cebd74190
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 14 14:31:59 2021 +0000
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sat Aug 14 14:31:59 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ade4a02
app-text/hyperestraier: fix build with USE=java
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>
app-text/hyperestraier/hyperestraier-1.4.13.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-text/hyperestraier/hyperestraier-1.4.13.ebuild b/app-text/hyperestraier/hyperestraier-1.4.13.ebuild
index f759094eb85..0556785a6ca 100644
--- a/app-text/hyperestraier/hyperestraier-1.4.13.ebuild
+++ b/app-text/hyperestraier/hyperestraier-1.4.13.ebuild
@@ -24,9 +24,9 @@ RDEPEND="dev-db/qdbm
perl? ( dev-lang/perl )
ruby? ( $(ruby_implementations_depend) )
zlib? ( sys-libs/zlib )"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig
+DEPEND="${RDEPEND}
java? ( >=virtual/jdk-1.4:* )"
+BDEPEND="virtual/pkgconfig"
S="${WORKDIR}/all/${P}"
PATCHES=(
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-text/hyperestraier/
@ 2021-08-14 14:32 Akinori Hattori
0 siblings, 0 replies; 17+ messages in thread
From: Akinori Hattori @ 2021-08-14 14:32 UTC (permalink / raw
To: gentoo-commits
commit: 9384074572538aefc918ba89f70ec88e6d457311
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Sat Jul 3 08:00:09 2021 +0000
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sat Aug 14 14:28:28 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93840745
app-text/hyperestraier: min java 1.8:*
Closes: https://bugs.gentoo.org/787335
Closes: https://bugs.gentoo.org/792207
Closes: https://bugs.gentoo.org/794787
Closes: https://github.com/gentoo/gentoo/pull/21312
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>
.../hyperestraier/hyperestraier-1.4.13-r1.ebuild | 200 +++++++++++++++++++++
1 file changed, 200 insertions(+)
diff --git a/app-text/hyperestraier/hyperestraier-1.4.13-r1.ebuild b/app-text/hyperestraier/hyperestraier-1.4.13-r1.ebuild
new file mode 100644
index 00000000000..3b15a1cb6a0
--- /dev/null
+++ b/app-text/hyperestraier/hyperestraier-1.4.13-r1.ebuild
@@ -0,0 +1,200 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+USE_RUBY="ruby25 ruby26 ruby27 ruby30"
+RUBY_OPTIONAL="yes"
+
+inherit autotools java-pkg-opt-2 perl-functions ruby-ng
+
+DESCRIPTION="a full-text search system for communities"
+HOMEPAGE="https://fallabs.com/hyperestraier/"
+SRC_URI="https://fallabs.com/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+SLOT="0"
+IUSE="bzip2 debug java lzo mecab perl ruby static-libs +zlib"
+
+RDEPEND="dev-db/qdbm
+ bzip2? ( app-arch/bzip2 )
+ java? ( >=virtual/jre-1.8:* )
+ lzo? ( dev-libs/lzo )
+ mecab? ( app-text/mecab )
+ perl? ( dev-lang/perl )
+ ruby? ( $(ruby_implementations_depend) )
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ java? ( >=virtual/jdk-1.8:* )"
+BDEPEND="virtual/pkgconfig"
+S="${WORKDIR}/all/${P}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-configure.patch
+ "${FILESDIR}"/${PN}-perl.patch
+ "${FILESDIR}"/${PN}-ruby19.patch
+)
+HTML_DOCS=( doc/. )
+
+AT_NOELIBTOOLIZE="yes"
+
+pkg_setup() {
+ java-pkg-opt-2_pkg_setup
+ use ruby && ruby-ng_pkg_setup
+}
+
+he_foreach_api() {
+ local u d
+ for u in java perl ruby; do
+ if ! use "${u}"; then
+ continue
+ fi
+ if [[ "${u}" != "ruby" ]]; then
+ for d in ${u}native ${u}pure; do
+ if [[ ! -d "${d}" ]]; then
+ continue
+ fi
+ einfo "${EBUILD_PHASE} ${d}"
+ cd "${d}"
+ case "${EBUILD_PHASE}" in
+ prepare)
+ mv configure.{in,ac}
+ eautoreconf
+ ;;
+ configure)
+ econf
+ ;;
+ compile)
+ emake
+ ;;
+ test)
+ if [[ "${d}" == "${u}native" ]]; then
+ emake check
+ fi
+ ;;
+ install)
+ if [[ "${u}" != "java" ]]; then
+ emake DESTDIR="${D}" install
+ else
+ java-pkg_dojar *.jar
+ if [[ "${d}" == "${u}native" ]]; then
+ dolib.so lib*.so*
+ fi
+ fi
+ ;;
+ esac
+ cd - >/dev/null
+ done
+ else
+ PATCHES= ruby-ng_src_${EBUILD_PHASE}
+ fi
+ done
+}
+
+he_foreach_ruby_api() {
+ local d
+ for d in rubynative rubypure; do
+ cd "${d}"
+ case "${EBUILD_PHASE}" in
+ prepare)
+ sed -i \
+ -e "/RUBY=/cRUBY=\"${RUBY}\"" \
+ -e "/=\`.*ruby/s|ruby|${RUBY}|" \
+ configure.in
+
+ mv configure.{in,ac}
+ eautoreconf
+ ;;
+ configure)
+ econf
+ ;;
+ compile)
+ emake
+ ;;
+ test)
+ if [[ "${d}" == "${u}native" ]]; then
+ emake check
+ fi
+ ;;
+ install)
+ emake DESTDIR="${D}" install
+ ;;
+ esac
+ cd - >/dev/null
+ done
+}
+
+src_prepare() {
+ default
+ java-pkg-opt-2_src_prepare
+
+ sed -i \
+ -e "/^CFLAGS/s|$| ${CFLAGS}|" \
+ -e "/^JAVACFLAGS/s|$| ${JAVACFLAGS}|" \
+ -e '/^LDENV/d' \
+ -e 's/make\( \|$\)/$(MAKE)\1/g' \
+ Makefile.in {java,perl,ruby}*/Makefile.in
+
+ mv configure.{in,ac}
+ eautoreconf
+ he_foreach_api # prepare
+}
+
+all_ruby_prepare() {
+ sed -i "/^RUNENV /s|\.\.|${WORKDIR}/all/${P}|" ruby*/Makefile.in
+ sed -i "s|\.\./\.\.|${WORKDIR}/all/${P}|" rubynative/src/extconf.rb
+}
+
+each_ruby_prepare() {
+ he_foreach_ruby_api
+}
+
+src_configure() {
+ econf \
+ $(use_enable bzip2 bzip) \
+ $(use_enable debug) \
+ $(use_enable lzo) \
+ $(use_enable mecab) \
+ $(use_enable zlib)
+ he_foreach_api
+}
+
+each_ruby_configure() {
+ he_foreach_ruby_api
+}
+
+src_compile() {
+ default
+ he_foreach_api
+}
+
+each_ruby_compile() {
+ he_foreach_ruby_api
+}
+
+src_test() {
+ default
+ he_foreach_api
+}
+
+each_ruby_test() {
+ he_foreach_ruby_api
+}
+
+src_install() {
+ emake DESTDIR="${D}" MYDOCS= install
+ einstalldocs
+ he_foreach_api
+ use static-libs || find "${ED}" -name '*.a' -delete || die
+
+ if use perl; then
+ perl_delete_module_manpages
+ perl_fix_packlist
+ fi
+
+ rm -f "${D}"/usr/bin/*test
+}
+
+each_ruby_install() {
+ he_foreach_ruby_api
+}
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-text/hyperestraier/
@ 2021-09-13 6:57 Agostino Sarubbo
0 siblings, 0 replies; 17+ messages in thread
From: Agostino Sarubbo @ 2021-09-13 6:57 UTC (permalink / raw
To: gentoo-commits
commit: 3517f1a2fadca1acaf8a90b9584dd4a0f2f38175
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 13 06:57:14 2021 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Sep 13 06:57:14 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3517f1a2
app-text/hyperestraier: amd64 stable wrt bug #812758
Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
app-text/hyperestraier/hyperestraier-1.4.13-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-text/hyperestraier/hyperestraier-1.4.13-r1.ebuild b/app-text/hyperestraier/hyperestraier-1.4.13-r1.ebuild
index 3b15a1cb6a0..d405a14e701 100644
--- a/app-text/hyperestraier/hyperestraier-1.4.13-r1.ebuild
+++ b/app-text/hyperestraier/hyperestraier-1.4.13-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://fallabs.com/hyperestraier/"
SRC_URI="https://fallabs.com/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
SLOT="0"
IUSE="bzip2 debug java lzo mecab perl ruby static-libs +zlib"
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-text/hyperestraier/
@ 2021-09-13 6:59 Agostino Sarubbo
0 siblings, 0 replies; 17+ messages in thread
From: Agostino Sarubbo @ 2021-09-13 6:59 UTC (permalink / raw
To: gentoo-commits
commit: 28cc0b94a45131660ea050dc344767e059ae224f
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 13 06:59:44 2021 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Sep 13 06:59:44 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28cc0b94
app-text/hyperestraier: ppc64 stable wrt bug #812758
Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
app-text/hyperestraier/hyperestraier-1.4.13-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-text/hyperestraier/hyperestraier-1.4.13-r1.ebuild b/app-text/hyperestraier/hyperestraier-1.4.13-r1.ebuild
index d405a14e701..e02cdd3b364 100644
--- a/app-text/hyperestraier/hyperestraier-1.4.13-r1.ebuild
+++ b/app-text/hyperestraier/hyperestraier-1.4.13-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://fallabs.com/hyperestraier/"
SRC_URI="https://fallabs.com/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ppc64 ~sparc ~x86"
SLOT="0"
IUSE="bzip2 debug java lzo mecab perl ruby static-libs +zlib"
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-text/hyperestraier/
@ 2021-09-13 7:00 Agostino Sarubbo
0 siblings, 0 replies; 17+ messages in thread
From: Agostino Sarubbo @ 2021-09-13 7:00 UTC (permalink / raw
To: gentoo-commits
commit: a90851a5a3b6f67656f34499427b274ad53791a7
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 13 07:00:43 2021 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Sep 13 07:00:43 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a90851a5
app-text/hyperestraier: x86 stable wrt bug #812758
Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
app-text/hyperestraier/hyperestraier-1.4.13-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-text/hyperestraier/hyperestraier-1.4.13-r1.ebuild b/app-text/hyperestraier/hyperestraier-1.4.13-r1.ebuild
index e02cdd3b364..1cdc26dbb20 100644
--- a/app-text/hyperestraier/hyperestraier-1.4.13-r1.ebuild
+++ b/app-text/hyperestraier/hyperestraier-1.4.13-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://fallabs.com/hyperestraier/"
SRC_URI="https://fallabs.com/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ppc64 ~sparc x86"
SLOT="0"
IUSE="bzip2 debug java lzo mecab perl ruby static-libs +zlib"
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-text/hyperestraier/
@ 2021-09-13 16:03 Sam James
0 siblings, 0 replies; 17+ messages in thread
From: Sam James @ 2021-09-13 16:03 UTC (permalink / raw
To: gentoo-commits
commit: d4d21e358831ec9451039e78bc4bfec2ef83f949
Author: Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Mon Sep 13 13:38:43 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 13 16:03:13 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4d21e35
app-text/hyperestraier: stable 1.4.13-r1 for sparc, bug #812758
Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-text/hyperestraier/hyperestraier-1.4.13-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-text/hyperestraier/hyperestraier-1.4.13-r1.ebuild b/app-text/hyperestraier/hyperestraier-1.4.13-r1.ebuild
index 1cdc26dbb20..fce6b6a0442 100644
--- a/app-text/hyperestraier/hyperestraier-1.4.13-r1.ebuild
+++ b/app-text/hyperestraier/hyperestraier-1.4.13-r1.ebuild
@@ -12,7 +12,7 @@ HOMEPAGE="https://fallabs.com/hyperestraier/"
SRC_URI="https://fallabs.com/${PN}/${P}.tar.gz"
LICENSE="LGPL-2.1"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~ppc ppc64 sparc x86"
SLOT="0"
IUSE="bzip2 debug java lzo mecab perl ruby static-libs +zlib"
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-text/hyperestraier/
@ 2021-10-21 15:05 Akinori Hattori
0 siblings, 0 replies; 17+ messages in thread
From: Akinori Hattori @ 2021-10-21 15:05 UTC (permalink / raw
To: gentoo-commits
commit: 6bf98c7deb56a1c0306114fd411ac763527f89e4
Author: Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Thu Oct 21 14:15:33 2021 +0000
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Thu Oct 21 15:04:19 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bf98c7d
app-text/hyperestraier: remove old
Closes: https://github.com/gentoo/gentoo/pull/22657
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>
app-text/hyperestraier/hyperestraier-1.4.13.ebuild | 200 ---------------------
1 file changed, 200 deletions(-)
diff --git a/app-text/hyperestraier/hyperestraier-1.4.13.ebuild b/app-text/hyperestraier/hyperestraier-1.4.13.ebuild
deleted file mode 100644
index 0556785a6ca..00000000000
--- a/app-text/hyperestraier/hyperestraier-1.4.13.ebuild
+++ /dev/null
@@ -1,200 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-USE_RUBY="ruby25 ruby26 ruby27 ruby30"
-RUBY_OPTIONAL="yes"
-
-inherit autotools java-pkg-opt-2 perl-functions ruby-ng
-
-DESCRIPTION="a full-text search system for communities"
-HOMEPAGE="https://fallabs.com/hyperestraier/"
-SRC_URI="https://fallabs.com/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ppc64 sparc x86"
-SLOT="0"
-IUSE="bzip2 debug java lzo mecab perl ruby static-libs +zlib"
-
-RDEPEND="dev-db/qdbm
- bzip2? ( app-arch/bzip2 )
- java? ( >=virtual/jre-1.4:* )
- lzo? ( dev-libs/lzo )
- mecab? ( app-text/mecab )
- perl? ( dev-lang/perl )
- ruby? ( $(ruby_implementations_depend) )
- zlib? ( sys-libs/zlib )"
-DEPEND="${RDEPEND}
- java? ( >=virtual/jdk-1.4:* )"
-BDEPEND="virtual/pkgconfig"
-S="${WORKDIR}/all/${P}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-configure.patch
- "${FILESDIR}"/${PN}-perl.patch
- "${FILESDIR}"/${PN}-ruby19.patch
-)
-HTML_DOCS=( doc/. )
-
-AT_NOELIBTOOLIZE="yes"
-
-pkg_setup() {
- java-pkg-opt-2_pkg_setup
- use ruby && ruby-ng_pkg_setup
-}
-
-he_foreach_api() {
- local u d
- for u in java perl ruby; do
- if ! use "${u}"; then
- continue
- fi
- if [[ "${u}" != "ruby" ]]; then
- for d in ${u}native ${u}pure; do
- if [[ ! -d "${d}" ]]; then
- continue
- fi
- einfo "${EBUILD_PHASE} ${d}"
- cd "${d}"
- case "${EBUILD_PHASE}" in
- prepare)
- mv configure.{in,ac}
- eautoreconf
- ;;
- configure)
- econf
- ;;
- compile)
- emake
- ;;
- test)
- if [[ "${d}" == "${u}native" ]]; then
- emake check
- fi
- ;;
- install)
- if [[ "${u}" != "java" ]]; then
- emake DESTDIR="${D}" install
- else
- java-pkg_dojar *.jar
- if [[ "${d}" == "${u}native" ]]; then
- dolib.so lib*.so*
- fi
- fi
- ;;
- esac
- cd - >/dev/null
- done
- else
- PATCHES= ruby-ng_src_${EBUILD_PHASE}
- fi
- done
-}
-
-he_foreach_ruby_api() {
- local d
- for d in rubynative rubypure; do
- cd "${d}"
- case "${EBUILD_PHASE}" in
- prepare)
- sed -i \
- -e "/RUBY=/cRUBY=\"${RUBY}\"" \
- -e "/=\`.*ruby/s|ruby|${RUBY}|" \
- configure.in
-
- mv configure.{in,ac}
- eautoreconf
- ;;
- configure)
- econf
- ;;
- compile)
- emake
- ;;
- test)
- if [[ "${d}" == "${u}native" ]]; then
- emake check
- fi
- ;;
- install)
- emake DESTDIR="${D}" install
- ;;
- esac
- cd - >/dev/null
- done
-}
-
-src_prepare() {
- default
- java-pkg-opt-2_src_prepare
-
- sed -i \
- -e "/^CFLAGS/s|$| ${CFLAGS}|" \
- -e "/^JAVACFLAGS/s|$| ${JAVACFLAGS}|" \
- -e '/^LDENV/d' \
- -e 's/make\( \|$\)/$(MAKE)\1/g' \
- Makefile.in {java,perl,ruby}*/Makefile.in
-
- mv configure.{in,ac}
- eautoreconf
- he_foreach_api # prepare
-}
-
-all_ruby_prepare() {
- sed -i "/^RUNENV /s|\.\.|${WORKDIR}/all/${P}|" ruby*/Makefile.in
- sed -i "s|\.\./\.\.|${WORKDIR}/all/${P}|" rubynative/src/extconf.rb
-}
-
-each_ruby_prepare() {
- he_foreach_ruby_api
-}
-
-src_configure() {
- econf \
- $(use_enable bzip2 bzip) \
- $(use_enable debug) \
- $(use_enable lzo) \
- $(use_enable mecab) \
- $(use_enable zlib)
- he_foreach_api
-}
-
-each_ruby_configure() {
- he_foreach_ruby_api
-}
-
-src_compile() {
- default
- he_foreach_api
-}
-
-each_ruby_compile() {
- he_foreach_ruby_api
-}
-
-src_test() {
- default
- he_foreach_api
-}
-
-each_ruby_test() {
- he_foreach_ruby_api
-}
-
-src_install() {
- emake DESTDIR="${D}" MYDOCS= install
- einstalldocs
- he_foreach_api
- use static-libs || find "${ED}" -name '*.a' -delete || die
-
- if use perl; then
- perl_delete_module_manpages
- perl_fix_packlist
- fi
-
- rm -f "${D}"/usr/bin/*test
-}
-
-each_ruby_install() {
- he_foreach_ruby_api
-}
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-text/hyperestraier/
@ 2022-09-11 1:50 Akinori Hattori
0 siblings, 0 replies; 17+ messages in thread
From: Akinori Hattori @ 2022-09-11 1:50 UTC (permalink / raw
To: gentoo-commits
commit: bcf664aac6d22ca22174bb3d5b528363b7fc0231
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 11 01:48:21 2022 +0000
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sun Sep 11 01:48:21 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcf664aa
app-text/hyperestraier: update USE_RUBY
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>
app-text/hyperestraier/hyperestraier-1.4.13-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-text/hyperestraier/hyperestraier-1.4.13-r2.ebuild b/app-text/hyperestraier/hyperestraier-1.4.13-r2.ebuild
index 94667fffd8b0..66b5df678a29 100644
--- a/app-text/hyperestraier/hyperestraier-1.4.13-r2.ebuild
+++ b/app-text/hyperestraier/hyperestraier-1.4.13-r2.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
-USE_RUBY="ruby25 ruby26 ruby27 ruby30"
+USE_RUBY="ruby27 ruby30 ruby31"
RUBY_OPTIONAL="yes"
inherit autotools java-pkg-opt-2 perl-functions ruby-ng
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-text/hyperestraier/
@ 2022-09-11 1:50 Akinori Hattori
0 siblings, 0 replies; 17+ messages in thread
From: Akinori Hattori @ 2022-09-11 1:50 UTC (permalink / raw
To: gentoo-commits
commit: 0a4298bfdf496932b8f69fa2906b7665e34be43a
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 11 01:49:48 2022 +0000
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sun Sep 11 01:49:48 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a4298bf
app-text/hyperestraier: update to EAPI 8
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>
app-text/hyperestraier/hyperestraier-1.4.13-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-text/hyperestraier/hyperestraier-1.4.13-r2.ebuild b/app-text/hyperestraier/hyperestraier-1.4.13-r2.ebuild
index 66b5df678a29..c6658e72af58 100644
--- a/app-text/hyperestraier/hyperestraier-1.4.13-r2.ebuild
+++ b/app-text/hyperestraier/hyperestraier-1.4.13-r2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="7"
+EAPI="8"
USE_RUBY="ruby27 ruby30 ruby31"
RUBY_OPTIONAL="yes"
^ permalink raw reply related [flat|nested] 17+ messages in thread
end of thread, other threads:[~2022-09-11 1:50 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-07 12:29 [gentoo-commits] repo/gentoo:master commit in: app-text/hyperestraier/ Akinori Hattori
-- strict thread matches above, loose matches on Subject: below --
2022-09-11 1:50 Akinori Hattori
2022-09-11 1:50 Akinori Hattori
2021-10-21 15:05 Akinori Hattori
2021-09-13 16:03 Sam James
2021-09-13 7:00 Agostino Sarubbo
2021-09-13 6:59 Agostino Sarubbo
2021-09-13 6:57 Agostino Sarubbo
2021-08-14 14:32 Akinori Hattori
2021-08-14 14:32 Akinori Hattori
2021-07-07 19:15 Hans de Graaff
2020-06-16 14:47 Akinori Hattori
2020-05-12 13:56 Akinori Hattori
2020-05-12 13:21 Akinori Hattori
2020-05-02 5:18 Hans de Graaff
2019-10-19 5:28 Hans de Graaff
2017-04-07 12:14 Akinori Hattori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox