aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2014-02-27 12:44:26 -0800
committerSébastien Fabbro <bicatali@gentoo.org>2014-02-27 12:44:26 -0800
commit58a3a6f73d0821a13121a9ec589d7df84e507b35 (patch)
treef568a59de21df4c614650d8e5e06dbf3435d49f4 /sci-astronomy
parentsci-astronomy/scamp: EAPI-5, autotools-utils, fixed plplot flag (diff)
downloadsci-58a3a6f73d0821a13121a9ec589d7df84e507b35.tar.gz
sci-58a3a6f73d0821a13121a9ec589d7df84e507b35.tar.bz2
sci-58a3a6f73d0821a13121a9ec589d7df84e507b35.zip
sci-astronomy/eye: EAPI-5, autotools-utils
Package-Manager: portage-2.2.8-prefix
Diffstat (limited to 'sci-astronomy')
-rw-r--r--sci-astronomy/eye/ChangeLog8
-rw-r--r--sci-astronomy/eye/Manifest1
-rw-r--r--sci-astronomy/eye/eye-1.4.1.ebuild32
-rw-r--r--sci-astronomy/eye/eye-9999.ebuild16
-rw-r--r--sci-astronomy/eye/files/eye-1.4.1-configure.patch58
-rw-r--r--sci-astronomy/eye/metadata.xml4
6 files changed, 16 insertions, 103 deletions
diff --git a/sci-astronomy/eye/ChangeLog b/sci-astronomy/eye/ChangeLog
index 153dbfcb9..32e51625f 100644
--- a/sci-astronomy/eye/ChangeLog
+++ b/sci-astronomy/eye/ChangeLog
@@ -1,7 +1,12 @@
# ChangeLog for sci-astronomy/eye
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 27 Feb 2014; Sébastien Fabbro <bicatali@gentoo.org> -Manifest,
+ -eye-1.4.1.ebuild, -files/eye-1.4.1-configure.patch, eye-9999.ebuild,
+ metadata.xml:
+ sci-astronomy/eye: EAPI-5, autotools-utils
+
03 Mar 2013; Justin Lecher <jlec@gentoo.org> eye-9999.ebuild, metadata.xml:
Clean wrong space and blank lines
@@ -22,4 +27,3 @@
18 Nov 2010; Sébastien Fabbro <bicatali@gentoo.org> +eye-1.4.1.ebuild,
+files/eye-1.4.1-configure.patch, +metadata.xml:
Initial import
-
diff --git a/sci-astronomy/eye/Manifest b/sci-astronomy/eye/Manifest
deleted file mode 100644
index 82d495b1c..000000000
--- a/sci-astronomy/eye/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST eye-1.4.1.tar.gz 744173 SHA256 f3b480be936ea8143d9f469d2901b227092ec8e7692fd2578b8ecdbcd8875824 SHA512 0c966b593d3ef0ef59006fd0aa9c84df422026c5710ebfb7e1e6d5e414f504339f1fbce0e986c024ca2f2cd9a94213b659ba8a2b9f066f547981ec81ef3229a3 WHIRLPOOL 97170a1c5db6a3fc1fb076a2494900e2a3445ed0037a6d566b4de918e1e82c6e0ba695aee54adac63b92eb3ffb6bc98e92c24fe5133c797d2e960071d6933acd
diff --git a/sci-astronomy/eye/eye-1.4.1.ebuild b/sci-astronomy/eye/eye-1.4.1.ebuild
deleted file mode 100644
index 082194e3a..000000000
--- a/sci-astronomy/eye/eye-1.4.1.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-inherit autotools eutils
-
-DESCRIPTION="Enhance astronomical object extraction with neural network filters"
-HOMEPAGE="http://www.astromatic.net/software/eye"
-SRC_URI="http://www.astromatic.net/download/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc threads"
-
-RDEPEND=""
-DEPEND="${RDEPEND}"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-configure.patch
- eautoreconf
-}
-
-src_configure() {
- econf $(use_enable threads)
-}
-
-src_install () {
- default
- use doc && dodoc doc/*.pdf
-}
diff --git a/sci-astronomy/eye/eye-9999.ebuild b/sci-astronomy/eye/eye-9999.ebuild
index cad695379..6128c944a 100644
--- a/sci-astronomy/eye/eye-9999.ebuild
+++ b/sci-astronomy/eye/eye-9999.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=4
+EAPI=5
if [[ ${PV} == "9999" ]] ; then
_SVN=subversion
@@ -14,7 +14,10 @@ else
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
fi
-inherit ${_SVN} autotools
+AUTOTOOLS_AUTORECONF=1
+#AUTOTOOLS_IN_SOURCE_BUILD=1
+
+inherit ${_SVN} autotools-utils
DESCRIPTION="Enhance astronomical object extraction with neural network filters"
HOMEPAGE="http://www.astromatic.net/software/eye"
@@ -26,15 +29,12 @@ IUSE="doc threads"
RDEPEND=""
DEPEND="${RDEPEND}"
-src_prepare() {
- eautoreconf
-}
-
src_configure() {
- econf $(use_enable threads)
+ local myeconfargs=( $(use_enable threads) )
+ autotools-utils_src_configure
}
src_install () {
- default
+ autotools-utils_src_install
use doc && dodoc doc/*
}
diff --git a/sci-astronomy/eye/files/eye-1.4.1-configure.patch b/sci-astronomy/eye/files/eye-1.4.1-configure.patch
deleted file mode 100644
index 369472460..000000000
--- a/sci-astronomy/eye/files/eye-1.4.1-configure.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-Respect user's flags.
-Don't define --enable-icc (that's what the CC env is for)
---- configure.ac.orig 2010-11-17 23:15:08.000000000 +0000
-+++ configure.ac 2010-11-17 23:30:56.000000000 +0000
-@@ -21,43 +21,14 @@
-
- # Include macros
- sinclude(acx_pthread.m4)
--sinclude(acx_prog_cc_optim.m4)
-
- # Display pakage and version number
- AC_MSG_RESULT([*********** Configuring: $PACKAGE $VERSION ($date) **********])
-
--# Initialize the list of compilers to consider
--cclist="cc gcc"
--
--# Backup and reset the input CFLAGS and LDFLAGS
--mycflags="$CFLAGS"
--CFLAGS=""
--myldflags="$LDFLAGS"
--LDFLAGS=""
--
--# Provide special option for the Linux Intel C compiler
--AC_MSG_CHECKING([for Linux Intel C compiler mode])
--AC_ARG_ENABLE(icc,
-- [AC_HELP_STRING([--enable-icc],
-- [Enable special mode for compilation with the Intel compiler \
--(off by default)])],
-- use_icc="yes"
-- cclist="icc $cclist"
-- AC_MSG_RESULT([yes]),
-- use_icc="no"
-- AC_MSG_RESULT([no]))
--
--
--# Checks for programs.
--# GCC is chosen last because it is likely to yield less optimized code
--AC_LANG(C)
--AC_PROG_CC([$cclist])
-+AC_PROG_CC
- # C Compiler: Check that it is ANSI C and POSIX-compliant
- AM_PROG_CC_STDC
- AC_ISC_POSIX
--ACX_PROG_CC_OPTIM
--AC_DISABLE_STATIC
--#AC_DISABLE_SHARED
- AC_PROG_INSTALL
- AC_PROG_RANLIB
-
-@@ -67,7 +38,7 @@
- # Checks for header files.
- AC_HEADER_STDC
- AC_CHECK_HEADERS(fcntl.h sys/mman.h time.h unistd.h)
--if test $use_icc = "yes" -a $CC = "icc"; then
-+if test $CC = "icc"; then
- AC_CHECK_HEADERS(mathimf.h)
- fi
-
diff --git a/sci-astronomy/eye/metadata.xml b/sci-astronomy/eye/metadata.xml
index f5351e412..9c2032f73 100644
--- a/sci-astronomy/eye/metadata.xml
+++ b/sci-astronomy/eye/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>sci-astronomy</herd>
- <longdescription lang="en">
+<herd>sci-astronomy</herd>
+<longdescription lang="en">
In EyE (Enhance Your Extraction) an artificial neural network
connected to pixels of a moving window (retina) is trained to
associate these input stimuli to the corresponding response in one