public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: dev-python/ffnet/
@ 2011-06-21 11:54 Justin Lecher
  0 siblings, 0 replies; 4+ messages in thread
From: Justin Lecher @ 2011-06-21 11:54 UTC (permalink / raw
  To: gentoo-commits

commit:     cf59a1a1188766c5a5d8f8ef21c295fc8bed1776
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 21 10:42:38 2011 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Jun 21 10:42:38 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=cf59a1a1

Added fortran-2.eclass support

(Portage version: 2.2.0_alpha41/git/Linux x86_64, signed Manifest commit with key 70EB7916)

---
 dev-python/ffnet/ChangeLog          |    5 ++++-
 dev-python/ffnet/ffnet-0.6.2.ebuild |   19 ++++++++-----------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/dev-python/ffnet/ChangeLog b/dev-python/ffnet/ChangeLog
index 8ed1c9d..8d50d6f 100644
--- a/dev-python/ffnet/ChangeLog
+++ b/dev-python/ffnet/ChangeLog
@@ -1,7 +1,10 @@
 # ChangeLog for dev-python/ffnet
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  21 Jun 2011; Justin Lecher <jlec@gentoo.org> ffnet-0.6.2.ebuild:
+  Added fortran-2.eclass support
+
   26 Jun 2010; Justin Lecher <jlec@gentoo.org> ffnet-0.6.2.ebuild:
   Python ABI fixes
 

diff --git a/dev-python/ffnet/ffnet-0.6.2.ebuild b/dev-python/ffnet/ffnet-0.6.2.ebuild
index a4c5bd2..96ef701 100644
--- a/dev-python/ffnet/ffnet-0.6.2.ebuild
+++ b/dev-python/ffnet/ffnet-0.6.2.ebuild
@@ -1,21 +1,22 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI="3"
+EAPI=3
 
 PYTHON_DEPEND="2"
 SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
 
-inherit distutils flag-o-matic toolchain-funcs
+inherit distutils fortran-2 flag-o-matic toolchain-funcs
 
 DESCRIPTION="Feed-forward neural network for python"
 HOMEPAGE="http://ffnet.sourceforge.net/"
 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 SLOT="0"
-KEYWORDS="~x86 ~amd64"
 LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
 IUSE="examples graphviz matplotlib"
 
 DEPEND="
@@ -26,18 +27,14 @@ DEPEND="
 	graphviz? ( dev-python/pygraphviz )"
 RDEPEND="${DEPEND}"
 
-RESTRICT_PYTHON_ABIS="3.*"
-
 pkg_setup() {
-	[[ -z ${FC}  ]] && export FC=$(tc-getFC)
-	# hack to force F77 to be FC until bug #278772 is fixed
-	[[ -z ${F77} ]] && export F77=$(tc-getFC)
+	fortran-2_pkg_setup
 	export FCONFIG="config_fc --noopt --noarch"
+	append-ldflags -shared
+	append-fflags -fPIC
 }
 
 src_compile() {
-	append-ldflags -shared
-	[[ -n ${FFLAGS} ]] && FFLAGS="${FFLAGS} -fPIC"
 	distutils_src_compile ${FCONFIG}
 }
 



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

* [gentoo-commits] proj/sci:master commit in: dev-python/ffnet/
@ 2011-06-23  9:31 Justin Lecher
  0 siblings, 0 replies; 4+ messages in thread
From: Justin Lecher @ 2011-06-23  9:31 UTC (permalink / raw
  To: gentoo-commits

commit:     4725a41424a07b76a95265cf3f32d2340d7d662c
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 23 08:44:45 2011 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Jun 23 08:44:45 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=4725a414

Streamlined fortran-2 eclass usage

(Portage version: 2.2.0_alpha41/git/Linux x86_64, signed Manifest commit with key 70EB7916)

---
 dev-python/ffnet/ChangeLog          |    3 +++
 dev-python/ffnet/ffnet-0.6.2.ebuild |    3 ++-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/dev-python/ffnet/ChangeLog b/dev-python/ffnet/ChangeLog
index 8d50d6f..e5febd3 100644
--- a/dev-python/ffnet/ChangeLog
+++ b/dev-python/ffnet/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  23 Jun 2011; Justin Lecher <jlec@gentoo.org> ffnet-0.6.2.ebuild:
+  Streamlined fortran-2 eclass usage
+
   21 Jun 2011; Justin Lecher <jlec@gentoo.org> ffnet-0.6.2.ebuild:
   Added fortran-2.eclass support
 

diff --git a/dev-python/ffnet/ffnet-0.6.2.ebuild b/dev-python/ffnet/ffnet-0.6.2.ebuild
index 96ef701..7795b21 100644
--- a/dev-python/ffnet/ffnet-0.6.2.ebuild
+++ b/dev-python/ffnet/ffnet-0.6.2.ebuild
@@ -8,7 +8,7 @@ PYTHON_DEPEND="2"
 SUPPORT_PYTHON_ABIS="1"
 RESTRICT_PYTHON_ABIS="3.*"
 
-inherit distutils fortran-2 flag-o-matic toolchain-funcs
+inherit distutils flag-o-matic fortran-2 toolchain-funcs
 
 DESCRIPTION="Feed-forward neural network for python"
 HOMEPAGE="http://ffnet.sourceforge.net/"
@@ -23,6 +23,7 @@ DEPEND="
 	dev-python/networkx
 	dev-python/numpy
 	sci-libs/scipy
+	virtual/fortran
 	matplotlib? ( dev-python/matplotlib )
 	graphviz? ( dev-python/pygraphviz )"
 RDEPEND="${DEPEND}"



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

* [gentoo-commits] proj/sci:master commit in: dev-python/ffnet/
@ 2012-10-29 11:00 Justin Lecher
  0 siblings, 0 replies; 4+ messages in thread
From: Justin Lecher @ 2012-10-29 11:00 UTC (permalink / raw
  To: gentoo-commits

commit:     ee473680a7a92217a65728efe47423026dc67b11
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 25 16:15:53 2012 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Oct 25 16:15:53 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=ee473680

dev-python/ffnet: Move to EAPI=5; use distutils-r1.eclass; correct usage of fortran-2.eclass

Package-Manager: portage-2.2.0_alpha141

---
 dev-python/ffnet/ChangeLog          |    6 +++++-
 dev-python/ffnet/ffnet-0.6.2.ebuild |   23 +++++++++++------------
 dev-python/ffnet/metadata.xml       |   10 +++++-----
 3 files changed, 21 insertions(+), 18 deletions(-)

diff --git a/dev-python/ffnet/ChangeLog b/dev-python/ffnet/ChangeLog
index e5febd3..6157df0 100644
--- a/dev-python/ffnet/ChangeLog
+++ b/dev-python/ffnet/ChangeLog
@@ -1,7 +1,11 @@
 # ChangeLog for dev-python/ffnet
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  25 Oct 2012; Justin Lecher <jlec@gentoo.org> ffnet-0.6.2.ebuild,
+  metadata.xml:
+  Move to EAPI=5; use distutils-r1.eclass; correct usage of fortran-2.eclass
+
   23 Jun 2011; Justin Lecher <jlec@gentoo.org> ffnet-0.6.2.ebuild:
   Streamlined fortran-2 eclass usage
 

diff --git a/dev-python/ffnet/ffnet-0.6.2.ebuild b/dev-python/ffnet/ffnet-0.6.2.ebuild
index 7795b21..d3e751d 100644
--- a/dev-python/ffnet/ffnet-0.6.2.ebuild
+++ b/dev-python/ffnet/ffnet-0.6.2.ebuild
@@ -1,14 +1,15 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=3
+EAPI=5
 
 PYTHON_DEPEND="2"
 SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.*"
+RESTRICT_PYTHON_ABIS="3.* *-pypy-*"
+PYTHON_COMPAT=( python2_5 python2_6 python2_7 )
 
-inherit distutils flag-o-matic fortran-2 toolchain-funcs
+inherit distutils-r1 flag-o-matic fortran-2 toolchain-funcs
 
 DESCRIPTION="Feed-forward neural network for python"
 HOMEPAGE="http://ffnet.sourceforge.net/"
@@ -19,31 +20,29 @@ LICENSE="GPL-2"
 KEYWORDS="~x86 ~amd64"
 IUSE="examples graphviz matplotlib"
 
-DEPEND="
+DEPEND="${PYTHON_DEPS}
 	dev-python/networkx
 	dev-python/numpy
 	sci-libs/scipy
-	virtual/fortran
 	matplotlib? ( dev-python/matplotlib )
 	graphviz? ( dev-python/pygraphviz )"
 RDEPEND="${DEPEND}"
 
-pkg_setup() {
-	fortran-2_pkg_setup
+src_prepare() {
 	export FCONFIG="config_fc --noopt --noarch"
 	append-ldflags -shared
 	append-fflags -fPIC
+	distutils-r1_src_prepare
 }
 
 src_compile() {
-	distutils_src_compile ${FCONFIG}
+	distutils-r1_src_compile ${FCONFIG}
 }
 
 src_install() {
-	distutils_src_install
-	dodoc README || die
+	distutils-r1_src_install
 	if use examples; then
 		insinto /usr/share/doc/${PF}
-		doins -r examples || die
+		doins -r examples
 	fi
 }

diff --git a/dev-python/ffnet/metadata.xml b/dev-python/ffnet/metadata.xml
index e1fbe32..d30f481 100644
--- a/dev-python/ffnet/metadata.xml
+++ b/dev-python/ffnet/metadata.xml
@@ -1,12 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>sci</herd>
-<longdescription lang="en">
+	<herd>sci</herd>
+	<longdescription lang="en">
   ffnet is a fast and easy-to-use feed-forward neural
   network training solution for python.
 </longdescription>
-<use>
-<flag name="matplotlib">Use matplotlib for drawing</flag>
-</use>
+	<use>
+		<flag name="matplotlib">Use matplotlib for drawing</flag>
+	</use>
 </pkgmetadata>


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

* [gentoo-commits] proj/sci:master commit in: dev-python/ffnet/
@ 2014-04-09 11:07 Justin Lecher
  0 siblings, 0 replies; 4+ messages in thread
From: Justin Lecher @ 2014-04-09 11:07 UTC (permalink / raw
  To: gentoo-commits

commit:     7ec60295ff161de492062621f74935afd93f0796
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  9 10:56:48 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Apr  9 10:56:48 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=7ec60295

dev-python/ffnet: Version BUmp; fix distutils-r1 eclass usage

Package-Manager: portage-2.2.10

---
 dev-python/ffnet/ChangeLog                         |  6 +++++-
 .../{ffnet-0.6.2.ebuild => ffnet-0.7.1.ebuild}     | 23 ++++++++++------------
 dev-python/ffnet/metadata.xml                      | 10 +++++-----
 3 files changed, 20 insertions(+), 19 deletions(-)

diff --git a/dev-python/ffnet/ChangeLog b/dev-python/ffnet/ChangeLog
index 6157df0..53c9c22 100644
--- a/dev-python/ffnet/ChangeLog
+++ b/dev-python/ffnet/ChangeLog
@@ -1,7 +1,11 @@
 # ChangeLog for dev-python/ffnet
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  09 Apr 2014; Justin Lecher <jlec@gentoo.org> -ffnet-0.6.2.ebuild,
+  +ffnet-0.7.1.ebuild, metadata.xml:
+  Version BUmp; fix distutils-r1 eclass usage
+
   25 Oct 2012; Justin Lecher <jlec@gentoo.org> ffnet-0.6.2.ebuild,
   metadata.xml:
   Move to EAPI=5; use distutils-r1.eclass; correct usage of fortran-2.eclass

diff --git a/dev-python/ffnet/ffnet-0.6.2.ebuild b/dev-python/ffnet/ffnet-0.7.1.ebuild
similarity index 65%
rename from dev-python/ffnet/ffnet-0.6.2.ebuild
rename to dev-python/ffnet/ffnet-0.7.1.ebuild
index a5638d2..8900c7b 100644
--- a/dev-python/ffnet/ffnet-0.6.2.ebuild
+++ b/dev-python/ffnet/ffnet-0.7.1.ebuild
@@ -4,10 +4,7 @@
 
 EAPI=5
 
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.* *-pypy-*"
-PYTHON_COMPAT=( python2_5 python2_6 python2_7 )
+PYTHON_COMPAT=( python2_{6,7} )
 
 inherit distutils-r1 flag-o-matic fortran-2 toolchain-funcs
 
@@ -21,26 +18,26 @@ KEYWORDS="~x86 ~amd64"
 IUSE="examples graphviz matplotlib"
 
 DEPEND="${PYTHON_DEPS}
-	dev-python/networkx
-	dev-python/numpy
-	sci-libs/scipy
-	matplotlib? ( dev-python/matplotlib )
-	graphviz? ( dev-python/pygraphviz )"
+	dev-python/networkx[${PYTHON_USEDEP}]
+	dev-python/numpy[${PYTHON_USEDEP}]
+	sci-libs/scipy[${PYTHON_USEDEP}]
+	matplotlib? ( dev-python/matplotlib[${PYTHON_USEDEP}] )
+	graphviz? ( dev-python/pygraphviz[${PYTHON_USEDEP}] )"
 RDEPEND="${DEPEND}"
 
-src_prepare() {
+python_prepare_all() {
 	export FCONFIG="config_fc --noopt --noarch"
 	append-ldflags -shared
 	append-fflags -fPIC
-	distutils-r1_src_prepare
+	distutils-r1_python_prepare_all
 }
 
 src_compile() {
 	distutils-r1_src_compile ${FCONFIG}
 }
 
-src_install() {
-	distutils-r1_src_install
+python_install_all() {
+	distutils-r1_python_install_all
 	if use examples; then
 		insinto /usr/share/doc/${PF}
 		doins -r examples

diff --git a/dev-python/ffnet/metadata.xml b/dev-python/ffnet/metadata.xml
index d30f481..56358e2 100644
--- a/dev-python/ffnet/metadata.xml
+++ b/dev-python/ffnet/metadata.xml
@@ -1,12 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<herd>sci</herd>
-	<longdescription lang="en">
+  <herd>sci</herd>
+  <longdescription lang="en">
   ffnet is a fast and easy-to-use feed-forward neural
   network training solution for python.
 </longdescription>
-	<use>
-		<flag name="matplotlib">Use matplotlib for drawing</flag>
-	</use>
+  <use>
+    <flag name="matplotlib">Use matplotlib for drawing</flag>
+  </use>
 </pkgmetadata>


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

end of thread, other threads:[~2014-04-09 11:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-29 11:00 [gentoo-commits] proj/sci:master commit in: dev-python/ffnet/ Justin Lecher
  -- strict thread matches above, loose matches on Subject: below --
2014-04-09 11:07 Justin Lecher
2011-06-23  9:31 Justin Lecher
2011-06-21 11:54 Justin Lecher

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