public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-perl/Ace/
@ 2017-10-13  4:57 Kent Fredric
  0 siblings, 0 replies; 7+ messages in thread
From: Kent Fredric @ 2017-10-13  4:57 UTC (permalink / raw
  To: gentoo-commits

commit:     352b2996d7149d0dec9b16fb45002f6bbc01fef6
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 13 04:30:57 2017 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Fri Oct 13 04:57:06 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=352b2996

dev-perl/Ace: Add tests & XS & RPC

- EAPI6ify
- Add basic compile tests
- Add missing dependencies discovered by tests
- Build XS support
- Build RPC support
- Fence network tests better

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-perl/Ace/Ace-1.920.0-r2.ebuild | 96 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 96 insertions(+)

diff --git a/dev-perl/Ace/Ace-1.920.0-r2.ebuild b/dev-perl/Ace/Ace-1.920.0-r2.ebuild
new file mode 100644
index 00000000000..d08d72d1c77
--- /dev/null
+++ b/dev-perl/Ace/Ace-1.920.0-r2.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_NAME=AcePerl
+DIST_AUTHOR=LDS
+DIST_VERSION=1.92
+DIST_EXAMPLES=("examples/*")
+inherit perl-module
+
+DESCRIPTION="Object-Oriented Access to ACEDB Databases"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="virtual/perl-Digest-MD5
+	dev-perl/Cache-Cache
+	dev-perl/GD
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+	sed -i 's/", "1")/", "3")/' "${S}/Makefile.PL" || die "Can't patch config"
+	perl-module_src_prepare
+}
+src_test() {
+	local MODULES=(
+		"Ace ${DIST_VERSION}"
+		"Ace::Freesubs 1.00"
+		"Ace::Graphics::Fk" # NO VERSION
+		"Ace::Graphics::Glyph"
+		"Ace::Graphics::Glyph::anchored_arrow"
+		"Ace::Graphics::Glyph::arrow"
+		"Ace::Graphics::Glyph::box"
+		"Ace::Graphics::Glyph::crossbox"
+		"Ace::Graphics::Glyph::dot"
+		"Ace::Graphics::Glyph::ex"
+		"Ace::Graphics::Glyph::graded_segments"
+		"Ace::Graphics::Glyph::group"
+		"Ace::Graphics::Glyph::line"
+		"Ace::Graphics::Glyph::primers"
+		"Ace::Graphics::Glyph::segments"
+		"Ace::Graphics::Glyph::span"
+		"Ace::Graphics::Glyph::toomany"
+		"Ace::Graphics::Glyph::transcript"
+		"Ace::Graphics::Glyph::triangle"
+		"Ace::Graphics::GlyphFactory"
+		"Ace::Graphics::Panel"
+		"Ace::Graphics::Track"
+		"Ace::Iterator 1.51"
+		"Ace::Local 1.05"
+		"Ace::Model 1.51"
+		"Ace::Object 1.66"
+		"Ace::Object::Wormbase"
+		"Ace::RPC 1.00"
+		"Ace::Sequence 1.51"
+		"Ace::Sequence::Feature"
+		"Ace::Sequence::FeatureList"
+		"Ace::Sequence::GappedAlignment 1.20"
+		"Ace::Sequence::Gene"
+		"Ace::Sequence::Homol"
+		"Ace::Sequence::Multi"
+		"Ace::Sequence::Transcript"
+		"Ace::SocketServer 1.01"
+		"GFF::Filehandle"
+# Need Ace::Browser
+# 		"Ace::Browser::AceSubs ${DIST_VERSION}"
+#		"Ace::Browser::GeneSubs ${DIST_VERSION}"
+#		"Ace::Browser::SearchSubs ${DIST_VERSION}"
+#		"Ace::Browser::SiteDefs ${DIST_VERSION}"
+#		"Ace::Browser::TreeSubs ${DIST_VERSION}"
+	)
+	local failed=()
+	for dep in "${MODULES[@]}"; do
+		ebegin "Compile testing ${dep}"
+			perl -Mblib="${S}" -M"${dep} ()" -e1
+		eend $? || failed+=( "$dep" )
+	done
+	if [[ ${failed[@]} ]]; then
+		echo
+		eerror "One or more modules failed compile:";
+		for dep in "${failed[@]}"; do
+			eerror "  ${dep}"
+		done
+		die "Failing due to module compilation errors";
+	fi
+	if ! has "network" "${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}"; then
+		ewarn "This package needs network access to run its full test suite"
+		ewarn "For details, see:"
+		ewarn "https://wiki.gentoo.org/wiki/Project:Perl/maint-nodes/dev-perl/Ace"
+	else
+		perl-module_src_test
+	fi
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-perl/Ace/
@ 2018-03-30 19:13 Andreas Hüttel
  0 siblings, 0 replies; 7+ messages in thread
From: Andreas Hüttel @ 2018-03-30 19:13 UTC (permalink / raw
  To: gentoo-commits

commit:     960f0cdf44edbcd5ae2ca7f3e36d0f6ad1f54b00
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 30 19:12:32 2018 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Fri Mar 30 19:12:47 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=960f0cdf

dev-perl/Ace: Various fixes for glibc-2.26 and Darwin

Closes: https://bugs.gentoo.org/637114
Closes: https://bugs.gentoo.org/637102
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-perl/Ace/Ace-1.920.0-r3.ebuild | 113 +++++++++++++++++++++++++++++++++++++
 1 file changed, 113 insertions(+)

diff --git a/dev-perl/Ace/Ace-1.920.0-r3.ebuild b/dev-perl/Ace/Ace-1.920.0-r3.ebuild
new file mode 100644
index 00000000000..c8263c2086b
--- /dev/null
+++ b/dev-perl/Ace/Ace-1.920.0-r3.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_NAME=AcePerl
+DIST_AUTHOR=LDS
+DIST_VERSION=1.92
+DIST_EXAMPLES=("examples/*")
+inherit perl-module
+
+DESCRIPTION="Object-Oriented Access to ACEDB Databases"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="virtual/perl-Digest-MD5
+	dev-perl/Cache-Cache
+	dev-perl/GD
+	elibc_glibc? ( net-libs/libtirpc net-libs/rpcsvc-proto )
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+	sed -i 's/", "1")/", "3")/' "${S}/Makefile.PL" || die "Can't patch config"
+	cat > "${S}/acelib/wmake/DARWIN_DEF" <<EOF
+NAME = DARWIN
+COMPILER = clang -fwritable-strings -DACEDB4 -DPOSIX
+LINKER = clang
+
+LIBS = -lm
+
+EOF
+
+	if use elibc_glibc ; then
+		sed -i -e 's:^USEROPTS=:USEROPTS=-I/usr/include/tirpc :g' -e 's:^LIBS =:LIBS = -ltirpc:g' "${S}/acelib/wmake/LINUX_DEF"
+		export LIBS="-ltirpc"
+	fi
+
+	export MAKEOPTS="-j1"
+	perl-module_src_prepare
+}
+
+src_test() {
+	local MODULES=(
+		"Ace ${DIST_VERSION}"
+		"Ace::Freesubs 1.00"
+		"Ace::Graphics::Fk" # NO VERSION
+		"Ace::Graphics::Glyph"
+		"Ace::Graphics::Glyph::anchored_arrow"
+		"Ace::Graphics::Glyph::arrow"
+		"Ace::Graphics::Glyph::box"
+		"Ace::Graphics::Glyph::crossbox"
+		"Ace::Graphics::Glyph::dot"
+		"Ace::Graphics::Glyph::ex"
+		"Ace::Graphics::Glyph::graded_segments"
+		"Ace::Graphics::Glyph::group"
+		"Ace::Graphics::Glyph::line"
+		"Ace::Graphics::Glyph::primers"
+		"Ace::Graphics::Glyph::segments"
+		"Ace::Graphics::Glyph::span"
+		"Ace::Graphics::Glyph::toomany"
+		"Ace::Graphics::Glyph::transcript"
+		"Ace::Graphics::Glyph::triangle"
+		"Ace::Graphics::GlyphFactory"
+		"Ace::Graphics::Panel"
+		"Ace::Graphics::Track"
+		"Ace::Iterator 1.51"
+		"Ace::Local 1.05"
+		"Ace::Model 1.51"
+		"Ace::Object 1.66"
+		"Ace::Object::Wormbase"
+		"Ace::RPC 1.00"
+		"Ace::Sequence 1.51"
+		"Ace::Sequence::Feature"
+		"Ace::Sequence::FeatureList"
+		"Ace::Sequence::GappedAlignment 1.20"
+		"Ace::Sequence::Gene"
+		"Ace::Sequence::Homol"
+		"Ace::Sequence::Multi"
+		"Ace::Sequence::Transcript"
+		"Ace::SocketServer 1.01"
+		"GFF::Filehandle"
+# Need Ace::Browser
+# 		"Ace::Browser::AceSubs ${DIST_VERSION}"
+#		"Ace::Browser::GeneSubs ${DIST_VERSION}"
+#		"Ace::Browser::SearchSubs ${DIST_VERSION}"
+#		"Ace::Browser::SiteDefs ${DIST_VERSION}"
+#		"Ace::Browser::TreeSubs ${DIST_VERSION}"
+	)
+	local failed=()
+	for dep in "${MODULES[@]}"; do
+		ebegin "Compile testing ${dep}"
+			perl -Mblib="${S}" -M"${dep} ()" -e1
+		eend $? || failed+=( "$dep" )
+	done
+	if [[ ${failed[@]} ]]; then
+		echo
+		eerror "One or more modules failed compile:";
+		for dep in "${failed[@]}"; do
+			eerror "  ${dep}"
+		done
+		die "Failing due to module compilation errors";
+	fi
+	if ! has "network" "${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}"; then
+		ewarn "This package needs network access to run its full test suite"
+		ewarn "For details, see:"
+		ewarn "https://wiki.gentoo.org/wiki/Project:Perl/maint-nodes/dev-perl/Ace"
+	else
+		perl-module_src_test
+	fi
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-perl/Ace/
@ 2018-05-27 13:01 Thomas Deutschmann
  0 siblings, 0 replies; 7+ messages in thread
From: Thomas Deutschmann @ 2018-05-27 13:01 UTC (permalink / raw
  To: gentoo-commits

commit:     d3d4a3179b4fc27ec886546e8483573b52e9dcc9
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun May 27 12:56:36 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun May 27 12:56:36 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3d4a317

dev-perl/Ace: x86 stable (bug #652106)

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-perl/Ace/Ace-1.920.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-perl/Ace/Ace-1.920.0-r3.ebuild b/dev-perl/Ace/Ace-1.920.0-r3.ebuild
index e46cfba0c5e..7b7dd588aa6 100644
--- a/dev-perl/Ace/Ace-1.920.0-r3.ebuild
+++ b/dev-perl/Ace/Ace-1.920.0-r3.ebuild
@@ -12,7 +12,7 @@ inherit perl-module toolchain-funcs
 DESCRIPTION="Object-Oriented Access to ACEDB Databases"
 
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE="test"
 
 RDEPEND="virtual/perl-Digest-MD5


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

* [gentoo-commits] repo/gentoo:master commit in: dev-perl/Ace/
@ 2018-05-29  8:22 Mikle Kolyada
  0 siblings, 0 replies; 7+ messages in thread
From: Mikle Kolyada @ 2018-05-29  8:22 UTC (permalink / raw
  To: gentoo-commits

commit:     d5a5ca374144edfb594588e259eeaaff0473fd43
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Tue May 29 08:22:00 2018 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Tue May 29 08:22:00 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5a5ca37

dev-perl/Ace: amd64 stable wrt bug #652106

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-perl/Ace/Ace-1.920.0-r3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-perl/Ace/Ace-1.920.0-r3.ebuild b/dev-perl/Ace/Ace-1.920.0-r3.ebuild
index 7b7dd588aa6..9b035a9c5ae 100644
--- a/dev-perl/Ace/Ace-1.920.0-r3.ebuild
+++ b/dev-perl/Ace/Ace-1.920.0-r3.ebuild
@@ -12,7 +12,7 @@ inherit perl-module toolchain-funcs
 DESCRIPTION="Object-Oriented Access to ACEDB Databases"
 
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 IUSE="test"
 
 RDEPEND="virtual/perl-Digest-MD5


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

* [gentoo-commits] repo/gentoo:master commit in: dev-perl/Ace/
@ 2018-06-08 11:59 Kent Fredric
  0 siblings, 0 replies; 7+ messages in thread
From: Kent Fredric @ 2018-06-08 11:59 UTC (permalink / raw
  To: gentoo-commits

commit:     1589c003c1fe297a6121412884fe2a41b604885d
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Fri Jun  8 05:20:03 2018 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Fri Jun  8 11:59:28 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1589c003

dev-perl/Ace: Cleanup old version 1.920.0-r{1,2}

Package-Manager: Portage-2.3.29, Repoman-2.3.9

 dev-perl/Ace/Ace-1.920.0-r1.ebuild | 22 ---------
 dev-perl/Ace/Ace-1.920.0-r2.ebuild | 96 --------------------------------------
 2 files changed, 118 deletions(-)

diff --git a/dev-perl/Ace/Ace-1.920.0-r1.ebuild b/dev-perl/Ace/Ace-1.920.0-r1.ebuild
deleted file mode 100644
index 1f3f631aa1c..00000000000
--- a/dev-perl/Ace/Ace-1.920.0-r1.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-MY_PN=AcePerl
-MODULE_AUTHOR=LDS
-MODULE_VERSION=1.92
-inherit perl-module
-
-DESCRIPTION="Object-Oriented Access to ACEDB Databases"
-
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-DEPEND="virtual/perl-Digest-MD5
-	dev-perl/Cache-Cache"
-RDEPEND="${DEPEND}"
-
-# online tests
-RESTRICT=test

diff --git a/dev-perl/Ace/Ace-1.920.0-r2.ebuild b/dev-perl/Ace/Ace-1.920.0-r2.ebuild
deleted file mode 100644
index d08d72d1c77..00000000000
--- a/dev-perl/Ace/Ace-1.920.0-r2.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DIST_NAME=AcePerl
-DIST_AUTHOR=LDS
-DIST_VERSION=1.92
-DIST_EXAMPLES=("examples/*")
-inherit perl-module
-
-DESCRIPTION="Object-Oriented Access to ACEDB Databases"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-
-RDEPEND="virtual/perl-Digest-MD5
-	dev-perl/Cache-Cache
-	dev-perl/GD
-"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
-	sed -i 's/", "1")/", "3")/' "${S}/Makefile.PL" || die "Can't patch config"
-	perl-module_src_prepare
-}
-src_test() {
-	local MODULES=(
-		"Ace ${DIST_VERSION}"
-		"Ace::Freesubs 1.00"
-		"Ace::Graphics::Fk" # NO VERSION
-		"Ace::Graphics::Glyph"
-		"Ace::Graphics::Glyph::anchored_arrow"
-		"Ace::Graphics::Glyph::arrow"
-		"Ace::Graphics::Glyph::box"
-		"Ace::Graphics::Glyph::crossbox"
-		"Ace::Graphics::Glyph::dot"
-		"Ace::Graphics::Glyph::ex"
-		"Ace::Graphics::Glyph::graded_segments"
-		"Ace::Graphics::Glyph::group"
-		"Ace::Graphics::Glyph::line"
-		"Ace::Graphics::Glyph::primers"
-		"Ace::Graphics::Glyph::segments"
-		"Ace::Graphics::Glyph::span"
-		"Ace::Graphics::Glyph::toomany"
-		"Ace::Graphics::Glyph::transcript"
-		"Ace::Graphics::Glyph::triangle"
-		"Ace::Graphics::GlyphFactory"
-		"Ace::Graphics::Panel"
-		"Ace::Graphics::Track"
-		"Ace::Iterator 1.51"
-		"Ace::Local 1.05"
-		"Ace::Model 1.51"
-		"Ace::Object 1.66"
-		"Ace::Object::Wormbase"
-		"Ace::RPC 1.00"
-		"Ace::Sequence 1.51"
-		"Ace::Sequence::Feature"
-		"Ace::Sequence::FeatureList"
-		"Ace::Sequence::GappedAlignment 1.20"
-		"Ace::Sequence::Gene"
-		"Ace::Sequence::Homol"
-		"Ace::Sequence::Multi"
-		"Ace::Sequence::Transcript"
-		"Ace::SocketServer 1.01"
-		"GFF::Filehandle"
-# Need Ace::Browser
-# 		"Ace::Browser::AceSubs ${DIST_VERSION}"
-#		"Ace::Browser::GeneSubs ${DIST_VERSION}"
-#		"Ace::Browser::SearchSubs ${DIST_VERSION}"
-#		"Ace::Browser::SiteDefs ${DIST_VERSION}"
-#		"Ace::Browser::TreeSubs ${DIST_VERSION}"
-	)
-	local failed=()
-	for dep in "${MODULES[@]}"; do
-		ebegin "Compile testing ${dep}"
-			perl -Mblib="${S}" -M"${dep} ()" -e1
-		eend $? || failed+=( "$dep" )
-	done
-	if [[ ${failed[@]} ]]; then
-		echo
-		eerror "One or more modules failed compile:";
-		for dep in "${failed[@]}"; do
-			eerror "  ${dep}"
-		done
-		die "Failing due to module compilation errors";
-	fi
-	if ! has "network" "${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}"; then
-		ewarn "This package needs network access to run its full test suite"
-		ewarn "For details, see:"
-		ewarn "https://wiki.gentoo.org/wiki/Project:Perl/maint-nodes/dev-perl/Ace"
-	else
-		perl-module_src_test
-	fi
-}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-perl/Ace/
@ 2020-04-23  2:49 Kent Fredric
  0 siblings, 0 replies; 7+ messages in thread
From: Kent Fredric @ 2020-04-23  2:49 UTC (permalink / raw
  To: gentoo-commits

commit:     90ccff12204e3fb613c75a85a7a2fc832f36b544
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 23 02:34:11 2020 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Thu Apr 23 02:47:04 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90ccff12

dev-perl/Ace: -r1 bump: Employ patches for rpc.h on musl and uclibc

Also:
- Moved to EAPI7
- And note about licensing situation
- Restrict mirroring due to license situation
- Add warning for consumers to make them know about the issues
  at least as an intermediary solution.
- Now installs DISCLAIMER.txt in doc/

Bug: https://bugs.gentoo.org/716266
Bug: https://bugs.gentoo.org/718936
Package-Manager: Portage-2.3.97, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>

 dev-perl/Ace/Ace-1.920.0-r4.ebuild | 137 +++++++++++++++++++++++++++++++++++++
 1 file changed, 137 insertions(+)

diff --git a/dev-perl/Ace/Ace-1.920.0-r4.ebuild b/dev-perl/Ace/Ace-1.920.0-r4.ebuild
new file mode 100644
index 00000000000..ceb1838ad0a
--- /dev/null
+++ b/dev-perl/Ace/Ace-1.920.0-r4.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_NAME=AcePerl
+DIST_AUTHOR=LDS
+DIST_VERSION=1.92
+DIST_EXAMPLES=("examples/*")
+inherit perl-module toolchain-funcs
+
+DESCRIPTION="Object-Oriented Access to ACEDB Databases"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test ) mirror"
+# License note: Indemnification and Attribution-if-Used bug #718936
+RDEPEND="
+	virtual/perl-Digest-MD5
+	dev-perl/Cache-Cache
+	dev-perl/GD
+"
+DEPEND="
+	elibc_glibc? (  net-libs/libtirpc net-libs/rpcsvc-proto )
+	elibc_musl? (   net-libs/libtirpc net-libs/rpcsvc-proto )
+	elibc_uclibc? ( net-libs/libtirpc net-libs/rpcsvc-proto )
+"
+BDEPEND="
+	${RDEPEND}
+	${DEPEND}
+"
+mydoc="DISCLAIMER.txt"
+src_prepare() {
+	eapply "${FILESDIR}/${PN}-1.92-rpcxs.patch"
+	eapply "${FILESDIR}/${PN}-1.92-gcc-nonvoid.patch"
+
+	cat > "${S}/acelib/wmake/DARWIN_DEF" <<EOF
+NAME = DARWIN
+COMPILER = $(tc-getCC) -fwritable-strings -DACEDB4 -DPOSIX
+LINKER = $(tc-getLD)
+
+LIBS = -lm
+
+EOF
+
+	if use elibc_glibc || use elibc_musl || use elibc_uclibc ; then
+		# Confusing name, should have been not specific to glibc
+		eapply "${FILESDIR}/${PN}-1.92-glibc26.patch"
+		export LIBS="-ltirpc"
+	fi
+
+	export MAKEOPTS="-j1"
+	perl-module_src_prepare
+}
+
+src_test() {
+	local MODULES=(
+		"Ace ${DIST_VERSION}"
+		"Ace::Freesubs 1.00"
+		"Ace::Graphics::Fk" # NO VERSION
+		"Ace::Graphics::Glyph"
+		"Ace::Graphics::Glyph::anchored_arrow"
+		"Ace::Graphics::Glyph::arrow"
+		"Ace::Graphics::Glyph::box"
+		"Ace::Graphics::Glyph::crossbox"
+		"Ace::Graphics::Glyph::dot"
+		"Ace::Graphics::Glyph::ex"
+		"Ace::Graphics::Glyph::graded_segments"
+		"Ace::Graphics::Glyph::group"
+		"Ace::Graphics::Glyph::line"
+		"Ace::Graphics::Glyph::primers"
+		"Ace::Graphics::Glyph::segments"
+		"Ace::Graphics::Glyph::span"
+		"Ace::Graphics::Glyph::toomany"
+		"Ace::Graphics::Glyph::transcript"
+		"Ace::Graphics::Glyph::triangle"
+		"Ace::Graphics::GlyphFactory"
+		"Ace::Graphics::Panel"
+		"Ace::Graphics::Track"
+		"Ace::Iterator 1.51"
+		"Ace::Local 1.05"
+		"Ace::Model 1.51"
+		"Ace::Object 1.66"
+		"Ace::Object::Wormbase"
+		"Ace::RPC 1.00"
+		"Ace::Sequence 1.51"
+		"Ace::Sequence::Feature"
+		"Ace::Sequence::FeatureList"
+		"Ace::Sequence::GappedAlignment 1.20"
+		"Ace::Sequence::Gene"
+		"Ace::Sequence::Homol"
+		"Ace::Sequence::Multi"
+		"Ace::Sequence::Transcript"
+		"Ace::SocketServer 1.01"
+		"GFF::Filehandle"
+# Need Ace::Browser
+# 		"Ace::Browser::AceSubs ${DIST_VERSION}"
+#		"Ace::Browser::GeneSubs ${DIST_VERSION}"
+#		"Ace::Browser::SearchSubs ${DIST_VERSION}"
+#		"Ace::Browser::SiteDefs ${DIST_VERSION}"
+#		"Ace::Browser::TreeSubs ${DIST_VERSION}"
+	)
+	local failed=()
+	for dep in "${MODULES[@]}"; do
+		ebegin "Compile testing ${dep}"
+			perl -Mblib="${S}" -M"${dep} ()" -e1
+		eend $? || failed+=( "$dep" )
+	done
+	if [[ ${failed[@]} ]]; then
+		echo
+		eerror "One or more modules failed compile:";
+		for dep in "${failed[@]}"; do
+			eerror "  ${dep}"
+		done
+		die "Failing due to module compilation errors";
+	fi
+	if ! has "network" "${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}"; then
+		ewarn "This package needs network access to run its full test suite"
+		ewarn "For details, see:"
+		ewarn "https://wiki.gentoo.org/wiki/Project:Perl/maint-nodes/dev-perl/Ace"
+		ewarn ""
+	else
+		perl-module_src_test
+	fi
+}
+
+pkg_postinst() {
+	ewarn "This package requests that publications that made use of this software"
+	ewarn "in the process of their research attribute it."
+	ewarn ""
+	ewarn "This package's licensing terms also include indemnification clauses"
+	ewarn "which may apply to you, and are currently under decision in"
+	ewarn " Bug: https://bugs.gentoo.org/718936"
+	ewarn ""
+	ewarn "Please read ${EROOT}/usr/share/doc/${PF}/DISCLAIMER.*"
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-perl/Ace/
@ 2020-07-03  0:07 Kent Fredric
  0 siblings, 0 replies; 7+ messages in thread
From: Kent Fredric @ 2020-07-03  0:07 UTC (permalink / raw
  To: gentoo-commits

commit:     90560afd82286c37f0f62665ba5e090c3e786e2f
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  2 23:13:06 2020 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Thu Jul  2 23:57:13 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90560afd

dev-perl/Ace: -r bump for CFLAGS love

- Ensure CFLAGS passed to make/compile
- Re-organize DEPEND to appease BAS-IMP-ebuild_multiple_deps_per_line
- Localise override of make -j1 to inside src_compile
- Slightly indent URL display for readability

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Kent Fredric <kentnl <AT> gentoo.org>

 dev-perl/Ace/Ace-1.920.0-r6.ebuild | 145 +++++++++++++++++++++++++++++++++++++
 1 file changed, 145 insertions(+)

diff --git a/dev-perl/Ace/Ace-1.920.0-r6.ebuild b/dev-perl/Ace/Ace-1.920.0-r6.ebuild
new file mode 100644
index 00000000000..61f9208c446
--- /dev/null
+++ b/dev-perl/Ace/Ace-1.920.0-r6.ebuild
@@ -0,0 +1,145 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DIST_NAME=AcePerl
+DIST_AUTHOR=LDS
+DIST_VERSION=1.92
+DIST_EXAMPLES=("examples/*")
+inherit perl-module toolchain-funcs
+
+DESCRIPTION="Object-Oriented Access to ACEDB Databases"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test ) mirror"
+# License note: Indemnification and Attribution-if-Used bug #718936
+RDEPEND="
+	virtual/perl-Digest-MD5
+	dev-perl/Cache-Cache
+	dev-perl/GD
+"
+DEPS_TIRPC="
+	net-libs/libtirpc
+	net-libs/rpcsvc-proto
+"
+DEPEND="
+	elibc_glibc? ( ${DEPS_TIRPC} )
+	elibc_musl? ( ${DEPS_TIRPC} )
+	elibc_uclibc? ( ${DEPS_TIRPC} )
+"
+BDEPEND="
+	${RDEPEND}
+	${DEPEND}
+"
+mydoc="DISCLAIMER.txt"
+src_prepare() {
+	eapply "${FILESDIR}/${PN}-1.92-rpcxs.patch"
+	eapply "${FILESDIR}/${PN}-1.92-gcc-nonvoid.patch"
+	eapply "${FILESDIR}/${PN}-1.92-toolchain.patch"
+	cp "${FILESDIR}/${PN}-1.92-DARWIN_DEF" "${S}/acelib/wmake/DARWIN_DEF" || die "can't copy DARWIN_DEF"
+	if use elibc_glibc || use elibc_musl || use elibc_uclibc ; then
+		export LIBS="-ltirpc"
+	fi
+	perl-module_src_prepare
+}
+src_compile() {
+	mymake=(
+		"AR=$(tc-getAR)"
+		"TARGET_CC=$(tc-getCC)"
+		"TARGET_LD=$(tc-getLD)"
+		"RANLIB=$(tc-getRANLIB)"
+		"OPTIMIZE=${CFLAGS}"
+		# Parallel compile breaks :(
+		"-j1"
+	)
+	if use elibc_glibc || use elibc_musl || use elibc_uclibc ; then
+		mymake+=( "LIBS=-ltirpc -lm" )
+		mymake+=( "USEROPTS=-I/usr/include/tirpc -fPIC" )
+	fi
+	perl-module_src_compile
+}
+
+src_test() {
+	local MODULES=(
+		"Ace ${DIST_VERSION}"
+		"Ace::Freesubs 1.00"
+		"Ace::Graphics::Fk" # NO VERSION
+		"Ace::Graphics::Glyph"
+		"Ace::Graphics::Glyph::anchored_arrow"
+		"Ace::Graphics::Glyph::arrow"
+		"Ace::Graphics::Glyph::box"
+		"Ace::Graphics::Glyph::crossbox"
+		"Ace::Graphics::Glyph::dot"
+		"Ace::Graphics::Glyph::ex"
+		"Ace::Graphics::Glyph::graded_segments"
+		"Ace::Graphics::Glyph::group"
+		"Ace::Graphics::Glyph::line"
+		"Ace::Graphics::Glyph::primers"
+		"Ace::Graphics::Glyph::segments"
+		"Ace::Graphics::Glyph::span"
+		"Ace::Graphics::Glyph::toomany"
+		"Ace::Graphics::Glyph::transcript"
+		"Ace::Graphics::Glyph::triangle"
+		"Ace::Graphics::GlyphFactory"
+		"Ace::Graphics::Panel"
+		"Ace::Graphics::Track"
+		"Ace::Iterator 1.51"
+		"Ace::Local 1.05"
+		"Ace::Model 1.51"
+		"Ace::Object 1.66"
+		"Ace::Object::Wormbase"
+		"Ace::RPC 1.00"
+		"Ace::Sequence 1.51"
+		"Ace::Sequence::Feature"
+		"Ace::Sequence::FeatureList"
+		"Ace::Sequence::GappedAlignment 1.20"
+		"Ace::Sequence::Gene"
+		"Ace::Sequence::Homol"
+		"Ace::Sequence::Multi"
+		"Ace::Sequence::Transcript"
+		"Ace::SocketServer 1.01"
+		"GFF::Filehandle"
+# Need Ace::Browser
+# 		"Ace::Browser::AceSubs ${DIST_VERSION}"
+#		"Ace::Browser::GeneSubs ${DIST_VERSION}"
+#		"Ace::Browser::SearchSubs ${DIST_VERSION}"
+#		"Ace::Browser::SiteDefs ${DIST_VERSION}"
+#		"Ace::Browser::TreeSubs ${DIST_VERSION}"
+	)
+	local failed=()
+	for dep in "${MODULES[@]}"; do
+		ebegin "Compile testing ${dep}"
+			perl -Mblib="${S}" -M"${dep} ()" -e1
+		eend $? || failed+=( "$dep" )
+	done
+	if [[ ${failed[@]} ]]; then
+		echo
+		eerror "One or more modules failed compile:";
+		for dep in "${failed[@]}"; do
+			eerror "  ${dep}"
+		done
+		die "Failing due to module compilation errors";
+	fi
+	if ! has "network" "${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}"; then
+		ewarn "This package needs network access to run its full test suite"
+		ewarn "For details, see:"
+		ewarn " https://wiki.gentoo.org/wiki/Project:Perl/maint-nodes/dev-perl/Ace"
+		ewarn ""
+	else
+		perl-module_src_test
+	fi
+}
+
+pkg_postinst() {
+	ewarn "This package requests that publications that made use of this software"
+	ewarn "in the process of their research attribute it."
+	ewarn ""
+	ewarn "This package's licensing terms also include indemnification clauses"
+	ewarn "which may apply to you, and are currently under decision in"
+	ewarn " Bug: https://bugs.gentoo.org/718936"
+	ewarn ""
+	ewarn "Please read ${EROOT}/usr/share/doc/${PF}/DISCLAIMER.*"
+}


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

end of thread, other threads:[~2020-07-03  0:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-03  0:07 [gentoo-commits] repo/gentoo:master commit in: dev-perl/Ace/ Kent Fredric
  -- strict thread matches above, loose matches on Subject: below --
2020-04-23  2:49 Kent Fredric
2018-06-08 11:59 Kent Fredric
2018-05-29  8:22 Mikle Kolyada
2018-05-27 13:01 Thomas Deutschmann
2018-03-30 19:13 Andreas Hüttel
2017-10-13  4:57 Kent Fredric

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