public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-astronomy/bpz/
@ 2012-05-10 23:36 Sebastien Fabbro
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastien Fabbro @ 2012-05-10 23:36 UTC (permalink / raw
  To: gentoo-commits

commit:     48171b1f57890b348f214d437828f446d4f8d2ac
Author:     Sébastien Fabbro <sebfabbro <AT> gmail <DOT> com>
AuthorDate: Thu May 10 23:35:50 2012 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Thu May 10 23:35:50 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=48171b1f

sci-astronomy/bpz: Initial import

(Portage version: 2.1.10.56/git/Linux x86_64, unsigned Manifest commit)

---
 sci-astronomy/bpz/ChangeLog         |   10 ++++++
 sci-astronomy/bpz/bpz-1.99.3.ebuild |   55 +++++++++++++++++++++++++++++++++++
 sci-astronomy/bpz/metadata.xml      |    9 ++++++
 3 files changed, 74 insertions(+), 0 deletions(-)

diff --git a/sci-astronomy/bpz/ChangeLog b/sci-astronomy/bpz/ChangeLog
new file mode 100644
index 0000000..fd50d6f
--- /dev/null
+++ b/sci-astronomy/bpz/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sci-astronomy/bpz
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*bpz-1.99.3 (10 May 2012)
+
+  10 May 2012; Sébastien Fabbro <bicatali@gentoo.org> +bpz-1.99.3.ebuild,
+  +metadata.xml:
+  sci-astronomy/bpz: Initial import
+

diff --git a/sci-astronomy/bpz/bpz-1.99.3.ebuild b/sci-astronomy/bpz/bpz-1.99.3.ebuild
new file mode 100644
index 0000000..8eb0fc8
--- /dev/null
+++ b/sci-astronomy/bpz/bpz-1.99.3.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3*"
+
+inherit python
+
+DESCRIPTION="Bayesian Photometric Redshifts"
+HOMEPAGE="http://www.its.caltech.edu/~coe/BPZ/"
+SRC_URI="${HOMEPAGE}/${P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-python/numpy
+	|| ( dev-python/matplotlib dev-python/python-biggles )"
+DEPEND="test? ( ${RDEPEND} )"
+
+src_prepare() {
+	sed -i -e 's/TkAgg/Agg/g' bpz.py plots/probplot.py plots/coeplot.py
+}
+
+src_test() {
+	cd test
+	testing() {
+		export BPZPATH="${S}" PYTHONPATH="${S}"
+		"$(PYTHON)" ../bpz.py UDFtest.cat -INTERP 2
+		"$(PYTHON)" ../bpzfinalize.py UDFtest
+		"$(PYTHON)" ../plots/webpage.py UDFtest
+	}
+	python_execute_function testing
+}
+
+src_install() {
+	insinto /usr/share/bpz
+	doins -r FILTER SED AB
+	installation() {
+		insinto $(python_get_sitedir)/bpz
+		doins -r *.py plots
+	}
+	python_execute_function installation
+	cat <<-EOF > bpz
+		#!$(type -P sh)
+		sitedir=\$(python -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())')
+		BPZPATH=${EPREFIX}/usr/share/bpz python \${sitedir}/bpz/bpz.py \$@
+	EOF
+	exeinto /usr/bin
+	doexe bpz
+}

diff --git a/sci-astronomy/bpz/metadata.xml b/sci-astronomy/bpz/metadata.xml
new file mode 100644
index 0000000..1cefed3
--- /dev/null
+++ b/sci-astronomy/bpz/metadata.xml
@@ -0,0 +1,9 @@
+<?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">
+  Bayesian Photometric Redshifts is a method to infere photometric
+  redshifts of galaxies.
+</longdescription>
+</pkgmetadata>



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

* [gentoo-commits] proj/sci:master commit in: sci-astronomy/bpz/
@ 2013-06-13  7:05 Justin Lecher
  0 siblings, 0 replies; 3+ messages in thread
From: Justin Lecher @ 2013-06-13  7:05 UTC (permalink / raw
  To: gentoo-commits

commit:     14a67069ad965ee75541aa5e9e974fe7ed9925f8
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 13 06:59:14 2013 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Jun 13 06:59:14 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=14a67069

sci-astronomy/bpz: Bump to EAPI=5 and python-single-r1; restrict license

Package-Manager: portage-2.2.0_alpha179

---
 sci-astronomy/bpz/ChangeLog         |  5 +++-
 sci-astronomy/bpz/bpz-1.99.3.ebuild | 57 +++++++++++++++++++------------------
 sci-astronomy/bpz/metadata.xml      |  4 +--
 3 files changed, 36 insertions(+), 30 deletions(-)

diff --git a/sci-astronomy/bpz/ChangeLog b/sci-astronomy/bpz/ChangeLog
index fd50d6f..ae66051 100644
--- a/sci-astronomy/bpz/ChangeLog
+++ b/sci-astronomy/bpz/ChangeLog
@@ -1,7 +1,10 @@
 # ChangeLog for sci-astronomy/bpz
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  13 Jun 2013; Justin Lecher <jlec@gentoo.org> bpz-1.99.3.ebuild, metadata.xml:
+  Bump to EAPI=5 and python-single-r1; restrict license
+
 *bpz-1.99.3 (10 May 2012)
 
   10 May 2012; Sébastien Fabbro <bicatali@gentoo.org> +bpz-1.99.3.ebuild,

diff --git a/sci-astronomy/bpz/bpz-1.99.3.ebuild b/sci-astronomy/bpz/bpz-1.99.3.ebuild
index 8eb0fc8..7586239 100644
--- a/sci-astronomy/bpz/bpz-1.99.3.ebuild
+++ b/sci-astronomy/bpz/bpz-1.99.3.ebuild
@@ -1,55 +1,58 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=4
+EAPI=5
 
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3*"
+PYTHON_COMPAT=( python{2_6,2_7} )
 
-inherit python
+inherit python-single-r1
 
 DESCRIPTION="Bayesian Photometric Redshifts"
 HOMEPAGE="http://www.its.caltech.edu/~coe/BPZ/"
 SRC_URI="${HOMEPAGE}/${P}.tar.gz"
 
-LICENSE="as-is"
+LICENSE="all-rights-reserved"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="test"
 
-RDEPEND="dev-python/numpy
-	|| ( dev-python/matplotlib dev-python/python-biggles )"
-DEPEND="test? ( ${RDEPEND} )"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+	dev-python/numpy[${PYTHON_USEDEP}]
+	|| (
+		dev-python/matplotlib[${PYTHON_USEDEP}]
+		dev-python/python-biggles[${PYTHON_USEDEP}]
+		)"
+DEPEND="${PYTHON_DEPS}
+	test? ( ${RDEPEND} )"
 
 src_prepare() {
-	sed -i -e 's/TkAgg/Agg/g' bpz.py plots/probplot.py plots/coeplot.py
+	sed \
+		-e 's/TkAgg/Agg/g' \
+		-i bpz.py plots/probplot.py plots/coeplot.py || die
 }
 
 src_test() {
 	cd test
-	testing() {
-		export BPZPATH="${S}" PYTHONPATH="${S}"
-		"$(PYTHON)" ../bpz.py UDFtest.cat -INTERP 2
-		"$(PYTHON)" ../bpzfinalize.py UDFtest
-		"$(PYTHON)" ../plots/webpage.py UDFtest
-	}
-	python_execute_function testing
+	export BPZPATH="${S}" PYTHONPATH="${S}"
+	${EPYTHON} ../bpz.py UDFtest.cat -INTERP 2 || die
+	${EPYTHON} ../bpzfinalize.py UDFtest || die
+	${EPYTHON} ../plots/webpage.py UDFtest || die
 }
 
 src_install() {
 	insinto /usr/share/bpz
 	doins -r FILTER SED AB
-	installation() {
-		insinto $(python_get_sitedir)/bpz
-		doins -r *.py plots
-	}
-	python_execute_function installation
+	python_moduleinto ${PN}
+	python_domodule *.py plots
+
 	cat <<-EOF > bpz
 		#!$(type -P sh)
-		sitedir=\$(python -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())')
-		BPZPATH=${EPREFIX}/usr/share/bpz python \${sitedir}/bpz/bpz.py \$@
+		sitedir=$(python_get_sitedir)
+		BPZPATH="${EPREFIX}"/usr/share/bpz ${EPYTHON} \${sitedir}/bpz/bpz.py \$@
 	EOF
-	exeinto /usr/bin
-	doexe bpz
+
+	dobin bpz
 }

diff --git a/sci-astronomy/bpz/metadata.xml b/sci-astronomy/bpz/metadata.xml
index 1cefed3..c926586 100644
--- a/sci-astronomy/bpz/metadata.xml
+++ b/sci-astronomy/bpz/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">
   Bayesian Photometric Redshifts is a method to infere photometric
   redshifts of galaxies.
 </longdescription>


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

* [gentoo-commits] proj/sci:master commit in: sci-astronomy/bpz/
@ 2020-09-22  9:49 Aisha Tammy
  0 siblings, 0 replies; 3+ messages in thread
From: Aisha Tammy @ 2020-09-22  9:49 UTC (permalink / raw
  To: gentoo-commits

commit:     108f2e32a7bc8f380e6a13d2252b45a76303c19d
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Tue Sep 22 09:49:24 2020 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Tue Sep 22 09:49:41 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=108f2e32

sci-astronomy/bpz: drop package

present in ::gentoo

Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 sci-astronomy/bpz/bpz-1.99.3.ebuild | 57 -------------------------------------
 sci-astronomy/bpz/metadata.xml      | 12 --------
 2 files changed, 69 deletions(-)

diff --git a/sci-astronomy/bpz/bpz-1.99.3.ebuild b/sci-astronomy/bpz/bpz-1.99.3.ebuild
deleted file mode 100644
index c651aa3d8..000000000
--- a/sci-astronomy/bpz/bpz-1.99.3.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit python-single-r1
-
-DESCRIPTION="Bayesian Photometric Redshifts"
-HOMEPAGE="http://www.its.caltech.edu/~coe/BPZ/"
-SRC_URI="${HOMEPAGE}/${P}.tar.gz"
-
-LICENSE="all-rights-reserved"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="test"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
-	dev-python/numpy[${PYTHON_USEDEP}]
-	|| (
-		dev-python/matplotlib[${PYTHON_USEDEP}]
-		dev-python/python-biggles[${PYTHON_USEDEP}]
-		)"
-DEPEND="${PYTHON_DEPS}
-	test? ( ${RDEPEND} )"
-
-src_prepare() {
-	sed \
-		-e 's/TkAgg/Agg/g' \
-		-i bpz.py plots/probplot.py plots/coeplot.py || die
-}
-
-src_test() {
-	cd test
-	export BPZPATH="${S}" PYTHONPATH="${S}"
-	${EPYTHON} ../bpz.py UDFtest.cat -INTERP 2 || die
-	${EPYTHON} ../bpzfinalize.py UDFtest || die
-	${EPYTHON} ../plots/webpage.py UDFtest || die
-}
-
-src_install() {
-	insinto /usr/share/bpz
-	doins -r FILTER SED AB
-	python_moduleinto ${PN}
-	python_domodule *.py plots
-
-	cat <<-EOF > bpz
-		#!$(type -P sh)
-		sitedir=$(python_get_sitedir)
-		BPZPATH="${EPREFIX}"/usr/share/bpz ${EPYTHON} \${sitedir}/bpz/bpz.py \$@
-	EOF
-
-	dobin bpz
-}

diff --git a/sci-astronomy/bpz/metadata.xml b/sci-astronomy/bpz/metadata.xml
deleted file mode 100644
index 008ef62b2..000000000
--- a/sci-astronomy/bpz/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<maintainer type="project">
-		<email>sci-astronomy@gentoo.org</email>
-		<name>Gentoo Astronomy Project</name>
-	</maintainer>
-	<longdescription lang="en">
-Bayesian Photometric Redshifts is a method to infere photometric
-redshifts of galaxies.
-</longdescription>
-</pkgmetadata>


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

end of thread, other threads:[~2020-09-22  9:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-22  9:49 [gentoo-commits] proj/sci:master commit in: sci-astronomy/bpz/ Aisha Tammy
  -- strict thread matches above, loose matches on Subject: below --
2013-06-13  7:05 Justin Lecher
2012-05-10 23:36 Sebastien Fabbro

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