public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-text/crf++/
@ 2017-12-17  9:19 Akinori Hattori
  0 siblings, 0 replies; 5+ messages in thread
From: Akinori Hattori @ 2017-12-17  9:19 UTC (permalink / raw
  To: gentoo-commits

commit:     8bd33d6d63781f86dac10b4d48008a57cdaa90ad
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 17 09:09:27 2017 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sun Dec 17 09:18:36 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bd33d6d

app-text/crf++: update HOMEPAGE and SRC_URI

Closes: https://bugs.gentoo.org/614458
Package-Manager: Portage-2.3.13, Repoman-2.3.4

 app-text/crf++/crf++-0.54.ebuild | 2 +-
 app-text/crf++/crf++-0.58.ebuild | 4 ++--
 app-text/crf++/metadata.xml      | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-text/crf++/crf++-0.54.ebuild b/app-text/crf++/crf++-0.54.ebuild
index 3a48217d279..40689e9a48f 100644
--- a/app-text/crf++/crf++-0.54.ebuild
+++ b/app-text/crf++/crf++-0.54.ebuild
@@ -6,7 +6,7 @@ inherit autotools eutils
 
 MY_P="${P/crf/CRF}"
 DESCRIPTION="Yet Another CRF toolkit for segmenting/labelling sequential data"
-HOMEPAGE="http://crfpp.sourceforge.net/"
+HOMEPAGE="https://taku910.github.io/crfpp/"
 SRC_URI="mirror://sourceforge/crfpp/${MY_P}.tar.gz"
 
 LICENSE="|| ( BSD LGPL-2.1 )"

diff --git a/app-text/crf++/crf++-0.58.ebuild b/app-text/crf++/crf++-0.58.ebuild
index 63fcdca38b6..9f0bb22fa51 100644
--- a/app-text/crf++/crf++-0.58.ebuild
+++ b/app-text/crf++/crf++-0.58.ebuild
@@ -6,8 +6,8 @@ inherit autotools eutils
 
 MY_P="${P/crf/CRF}"
 DESCRIPTION="Yet Another CRF toolkit for segmenting/labelling sequential data"
-HOMEPAGE="https://crfpp.googlecode.com/svn/trunk/doc/index.html"
-SRC_URI="https://crfpp.googlecode.com/files/${MY_P}.tar.gz"
+HOMEPAGE="https://taku910.github.io/crfpp/"
+SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
 
 LICENSE="|| ( BSD LGPL-2.1 )"
 SLOT="0"

diff --git a/app-text/crf++/metadata.xml b/app-text/crf++/metadata.xml
index 4fea4cf917d..edc6c2bf83c 100644
--- a/app-text/crf++/metadata.xml
+++ b/app-text/crf++/metadata.xml
@@ -13,6 +13,6 @@
 		Information Extraction and Text Chunking.
 	</longdescription>
 	<upstream>
-		<remote-id type="sourceforge">crfpp</remote-id>
+		<remote-id type="github">taku910/crfpp</remote-id>
 	</upstream>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/crf++/
@ 2017-12-17  9:19 Akinori Hattori
  0 siblings, 0 replies; 5+ messages in thread
From: Akinori Hattori @ 2017-12-17  9:19 UTC (permalink / raw
  To: gentoo-commits

commit:     5bc0a49e4ab1c77952274f0af64ce163c814c272
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 17 09:11:14 2017 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sun Dec 17 09:18:36 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bc0a49e

app-text/crf++: update to EAPI 6

Package-Manager: Portage-2.3.13, Repoman-2.3.4

 app-text/crf++/crf++-0.54.ebuild | 53 ++++++++++++++++++++++------------------
 app-text/crf++/crf++-0.58.ebuild | 46 ++++++++++++++++++----------------
 2 files changed, 54 insertions(+), 45 deletions(-)

diff --git a/app-text/crf++/crf++-0.54.ebuild b/app-text/crf++/crf++-0.54.ebuild
index 40689e9a48f..cd0706716eb 100644
--- a/app-text/crf++/crf++-0.54.ebuild
+++ b/app-text/crf++/crf++-0.54.ebuild
@@ -1,10 +1,12 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="3"
-inherit autotools eutils
+EAPI="6"
+
+inherit autotools
+
+MY_P="${P^^[crf]}"
 
-MY_P="${P/crf/CRF}"
 DESCRIPTION="Yet Another CRF toolkit for segmenting/labelling sequential data"
 HOMEPAGE="https://taku910.github.io/crfpp/"
 SRC_URI="mirror://sourceforge/crfpp/${MY_P}.tar.gz"
@@ -16,45 +18,48 @@ IUSE="examples static-libs"
 
 S="${WORKDIR}/${MY_P}"
 
+PATCHES=(
+	"${FILESDIR}"/${PN}-automake-1.13.patch
+	"${FILESDIR}"/${P}-c++11.patch
+	"${FILESDIR}"/${P}-gcc46.patch
+)
+HTML_DOCS=( doc/. )
+
 src_prepare() {
 	sed -i \
 		-e "/CFLAGS/s/-O3/${CFLAGS}/" \
 		-e "/CXXFLAGS/s/-O3/${CXXFLAGS}/" \
-		configure.in || die
-
-	epatch "${FILESDIR}"/${PN}-automake-1.13.patch
-	epatch "${FILESDIR}"/${P}-c++11.patch
-	# bug #365921
-	epatch "${FILESDIR}/${P}-gcc46.patch"
+		configure.in
 
+	default
+	mv configure.{in,ac} || die
 	eautoreconf
 }
 
 src_configure() {
-	econf $(use_enable static-libs static) || die
+	econf $(use_enable static-libs static)
 }
 
 src_test() {
-	for task in example/* ; do
-		(
-			cd "${task}"
-			./exec.sh || die "failed test in ${task}"
-		)
+	local d
+	for d in example/*; do
+		cd "${d}"
+		./exec.sh || die "failed test in ${d}"
+		cd - >/dev/null
 	done
 }
 
 src_install() {
-	emake DESTDIR="${D}" install || die
+	emake DESTDIR="${D}" install
+	einstalldocs
 
-	if ! use static-libs ; then
-		find "${ED}" -name "*.la" -type f -delete || die
+	if use examples; then
+		docompress -x /usr/share/doc/${PF}/example
+		insinto /usr/share/doc/${PF}
+		doins -r example
 	fi
 
-	dodoc AUTHORS README || die
-	dohtml -r doc/* || die
-
-	if use examples ; then
-		insinto /usr/share/doc/${PF}
-		doins -r example || die
+	if ! use static-libs; then
+		find "${ED}" -name "*.la" -type f -delete || die
 	fi
 }

diff --git a/app-text/crf++/crf++-0.58.ebuild b/app-text/crf++/crf++-0.58.ebuild
index 9f0bb22fa51..09adecd384f 100644
--- a/app-text/crf++/crf++-0.58.ebuild
+++ b/app-text/crf++/crf++-0.58.ebuild
@@ -1,10 +1,12 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="3"
-inherit autotools eutils
+EAPI="6"
+
+inherit autotools
+
+MY_P="${P^^[crf]}"
 
-MY_P="${P/crf/CRF}"
 DESCRIPTION="Yet Another CRF toolkit for segmenting/labelling sequential data"
 HOMEPAGE="https://taku910.github.io/crfpp/"
 SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
@@ -16,42 +18,44 @@ IUSE="examples static-libs"
 
 S="${WORKDIR}/${MY_P}"
 
+PATCHES=( "${FILESDIR}"/${PN}-automake-1.13.patch )
+HTML_DOCS=( doc/. )
+
 src_prepare() {
 	sed -i \
 		-e "/CFLAGS/s/-O3/${CFLAGS}/" \
 		-e "/CXXFLAGS/s/-O3/${CXXFLAGS}/" \
-		configure.in || die
-
-	epatch "${FILESDIR}"/${PN}-automake-1.13.patch
+		configure.in
 
+	default
+	mv configure.{in,ac} || die
 	eautoreconf
 }
 
 src_configure() {
-	econf $(use_enable static-libs static) || die
+	econf $(use_enable static-libs static)
 }
 
 src_test() {
-	for task in example/* ; do
-		(
-			cd "${task}"
-			./exec.sh || die "failed test in ${task}"
-		)
+	local d
+	for d in example/*; do
+		cd "${d}"
+		./exec.sh || die "failed test in ${d}"
+		cd - >/dev/null
 	done
 }
 
 src_install() {
-	emake DESTDIR="${D}" install || die
+	emake DESTDIR="${D}" install
+	einstalldocs
 
-	if ! use static-libs ; then
-		find "${ED}" -name "*.la" -type f -delete || die
+	if use examples; then
+		docompress -x /usr/share/doc/${PF}/example
+		insinto /usr/share/doc/${PF}
+		doins -r example
 	fi
 
-	dodoc AUTHORS README || die
-	dohtml -r doc/* || die
-
-	if use examples ; then
-		insinto /usr/share/doc/${PF}
-		doins -r example || die
+	if ! use static-libs; then
+		find "${ED}" -name "*.la" -type f -delete || die
 	fi
 }


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/crf++/
@ 2017-12-17  9:19 Akinori Hattori
  0 siblings, 0 replies; 5+ messages in thread
From: Akinori Hattori @ 2017-12-17  9:19 UTC (permalink / raw
  To: gentoo-commits

commit:     525010f516f60450c94d4f510172466bbf6acc04
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 17 09:14:51 2017 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sun Dec 17 09:18:37 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=525010f5

app-text/crf++: amd64/x86 stable

Package-Manager: Portage-2.3.13, Repoman-2.3.4

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

diff --git a/app-text/crf++/crf++-0.58.ebuild b/app-text/crf++/crf++-0.58.ebuild
index 09adecd384f..c358043e7e8 100644
--- a/app-text/crf++/crf++-0.58.ebuild
+++ b/app-text/crf++/crf++-0.58.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://gentoo/${MY_P}.tar.gz"
 
 LICENSE="|| ( BSD LGPL-2.1 )"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+KEYWORDS="amd64 x86 ~x86-fbsd"
 IUSE="examples static-libs"
 
 S="${WORKDIR}/${MY_P}"


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/crf++/
@ 2025-03-07  7:23 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2025-03-07  7:23 UTC (permalink / raw
  To: gentoo-commits

commit:     4f081c0fd307131170d04d9351303fb5f9dcef08
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  7 07:22:34 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar  7 07:22:34 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f081c0f

app-text/crf++: Stabilize 0.58-r2 amd64, #950717

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/crf++/crf++-0.58-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-text/crf++/crf++-0.58-r2.ebuild b/app-text/crf++/crf++-0.58-r2.ebuild
index abab5dad11cd..e3a4cb4a58f4 100644
--- a/app-text/crf++/crf++-0.58-r2.ebuild
+++ b/app-text/crf++/crf++-0.58-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,7 @@ S="${WORKDIR}/${P^^}"
 
 LICENSE="|| ( BSD LGPL-2.1 )"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="examples"
 
 PATCHES=(


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/crf++/
@ 2025-03-07  7:23 Sam James
  0 siblings, 0 replies; 5+ messages in thread
From: Sam James @ 2025-03-07  7:23 UTC (permalink / raw
  To: gentoo-commits

commit:     5309d423679404ea662f854b6d025cb8c34294fc
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  7 07:22:36 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar  7 07:22:36 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5309d423

app-text/crf++: Stabilize 0.58-r2 x86, #950717

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/crf++/crf++-0.58-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/crf++/crf++-0.58-r2.ebuild b/app-text/crf++/crf++-0.58-r2.ebuild
index e3a4cb4a58f4..ab8ce07bb1ef 100644
--- a/app-text/crf++/crf++-0.58-r2.ebuild
+++ b/app-text/crf++/crf++-0.58-r2.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}/${P^^}"
 
 LICENSE="|| ( BSD LGPL-2.1 )"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="examples"
 
 PATCHES=(


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-03-07  7:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-07  7:23 [gentoo-commits] repo/gentoo:master commit in: app-text/crf++/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2025-03-07  7:23 Sam James
2017-12-17  9:19 Akinori Hattori
2017-12-17  9:19 Akinori Hattori
2017-12-17  9:19 Akinori Hattori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox