* [gentoo-commits] proj/sci:master commit in: dev-python/gammapy/
@ 2014-08-10 8:05 Justin Lecher
0 siblings, 0 replies; 7+ messages in thread
From: Justin Lecher @ 2014-08-10 8:05 UTC (permalink / raw
To: gentoo-commits
commit: 773e53e9b8d574181ee5f1939735648bcb987f14
Author: Joseph Jon Booker <joe <AT> neoturbine <DOT> net>
AuthorDate: Fri Aug 8 19:46:22 2014 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Aug 8 19:46:22 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=773e53e9
dev-python/gammapy: Add gammapy package
Package-Manager: portage-2.2.11-r1
---
dev-python/gammapy/ChangeLog | 9 ++++
dev-python/gammapy/gammapy-9999.ebuild | 75 ++++++++++++++++++++++++++++++++++
dev-python/gammapy/metadata.xml | 10 +++++
3 files changed, 94 insertions(+)
diff --git a/dev-python/gammapy/ChangeLog b/dev-python/gammapy/ChangeLog
new file mode 100644
index 0000000..b4b52fa
--- /dev/null
+++ b/dev-python/gammapy/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-python/gammapy
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*gammapy-9999 (08 Aug 2014)
+
+ 08 Aug 2014; Joseph Jon Booker <joe@neoturbine.net> +gammapy-9999.ebuild,
+ +metadata.xml:
+ dev-python/gammapy: Add gammapy package
diff --git a/dev-python/gammapy/gammapy-9999.ebuild b/dev-python/gammapy/gammapy-9999.ebuild
new file mode 100644
index 0000000..56e435b
--- /dev/null
+++ b/dev-python/gammapy/gammapy-9999.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} )
+inherit distutils-r1 eutils
+
+if [ ${PV} == "9999" ] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/gammapy/${PN}.git"
+else
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="A Python package for gamma-ray astronomy"
+HOMEPAGE="https://github.com/gammapy/gammapy"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="doc"
+DOCS=( README.rst )
+
+RDEPEND="
+ >=dev-python/astropy-0.4[${PYTHON_USEDEP}]
+ dev-python/astropy-helpers[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]"
+
+DEPEND="${RDEPEND}"
+
+python_prepare_all() {
+ distutils-r1_python_prepare_all
+ sed -e '/import ah_bootstrap/d' -i setup.py || die "Removing ah_bootstrap failed"
+}
+
+python_compile_all() {
+ if use doc; then
+ python_export_best
+ VARTEXFONTS="${T}"/fonts \
+ MPLCONFIGDIR="${BUILD_DIR}" \
+ PYTHONPATH="${BUILD_DIR}"/lib \
+ esetup.py build_sphinx
+ fi
+}
+
+python_test() {
+ distutils_install_for_testing
+ cd "${TEST_DIR}" || die
+ "${EPYTHON}" -c "import ${PN}, sys;r = ${PN}.test(verbose=True);sys.exit(r)" \
+ || die "tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/_build/html/. )
+ distutils-r1_python_install_all
+}
+
+pkg_postinst() {
+ elog "To get additional features, a number of optional runtime"
+ elog "dependencies may be installed:"
+ elog ""
+ optfeature "Numerical Methods" sci-libs/scipy
+ optfeature "Plotting" dev-python/matplotlib
+ optfeature "Plotting Astronomical Images" dev-python/aplpy
+ optfeature "Read/write CVS files" dev-python/pandas
+ optfeature "Image Processing" sci-libs/scikits_image
+ # Gammalib, ctools, sherpa
+ optfeature "Conversion helper functions" dev-python/rootpy
+ #optfeature "Image photometry" dev-python/photutils
+ # imfun, uncertainties
+ #optfeature "Image Utility Functions" dev-python/imageutils
+ # reproject
+}
diff --git a/dev-python/gammapy/metadata.xml b/dev-python/gammapy/metadata.xml
new file mode 100644
index 0000000..1370ffd
--- /dev/null
+++ b/dev-python/gammapy/metadata.xml
@@ -0,0 +1,10 @@
+<?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">
+ Gammapy is a package for simulating and analysing gamma-ray sky data.
+ It is currently designed to support users of telescopes such as Fermi,
+ H.E.S.S, and CTA in primarily Galactic plane survey studies.
+ </longdescription>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-python/gammapy/
@ 2014-08-19 21:51 Christoph Junghans
0 siblings, 0 replies; 7+ messages in thread
From: Christoph Junghans @ 2014-08-19 21:51 UTC (permalink / raw
To: gentoo-commits
commit: 773e53e9b8d574181ee5f1939735648bcb987f14
Author: Joseph Jon Booker <joe <AT> neoturbine <DOT> net>
AuthorDate: Fri Aug 8 19:46:22 2014 +0000
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Fri Aug 8 19:46:22 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=773e53e9
dev-python/gammapy: Add gammapy package
Package-Manager: portage-2.2.11-r1
---
dev-python/gammapy/ChangeLog | 9 ++++
dev-python/gammapy/gammapy-9999.ebuild | 75 ++++++++++++++++++++++++++++++++++
dev-python/gammapy/metadata.xml | 10 +++++
3 files changed, 94 insertions(+)
diff --git a/dev-python/gammapy/ChangeLog b/dev-python/gammapy/ChangeLog
new file mode 100644
index 0000000..b4b52fa
--- /dev/null
+++ b/dev-python/gammapy/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-python/gammapy
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*gammapy-9999 (08 Aug 2014)
+
+ 08 Aug 2014; Joseph Jon Booker <joe@neoturbine.net> +gammapy-9999.ebuild,
+ +metadata.xml:
+ dev-python/gammapy: Add gammapy package
diff --git a/dev-python/gammapy/gammapy-9999.ebuild b/dev-python/gammapy/gammapy-9999.ebuild
new file mode 100644
index 0000000..56e435b
--- /dev/null
+++ b/dev-python/gammapy/gammapy-9999.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} )
+inherit distutils-r1 eutils
+
+if [ ${PV} == "9999" ] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/gammapy/${PN}.git"
+else
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="A Python package for gamma-ray astronomy"
+HOMEPAGE="https://github.com/gammapy/gammapy"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="doc"
+DOCS=( README.rst )
+
+RDEPEND="
+ >=dev-python/astropy-0.4[${PYTHON_USEDEP}]
+ dev-python/astropy-helpers[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]"
+
+DEPEND="${RDEPEND}"
+
+python_prepare_all() {
+ distutils-r1_python_prepare_all
+ sed -e '/import ah_bootstrap/d' -i setup.py || die "Removing ah_bootstrap failed"
+}
+
+python_compile_all() {
+ if use doc; then
+ python_export_best
+ VARTEXFONTS="${T}"/fonts \
+ MPLCONFIGDIR="${BUILD_DIR}" \
+ PYTHONPATH="${BUILD_DIR}"/lib \
+ esetup.py build_sphinx
+ fi
+}
+
+python_test() {
+ distutils_install_for_testing
+ cd "${TEST_DIR}" || die
+ "${EPYTHON}" -c "import ${PN}, sys;r = ${PN}.test(verbose=True);sys.exit(r)" \
+ || die "tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/_build/html/. )
+ distutils-r1_python_install_all
+}
+
+pkg_postinst() {
+ elog "To get additional features, a number of optional runtime"
+ elog "dependencies may be installed:"
+ elog ""
+ optfeature "Numerical Methods" sci-libs/scipy
+ optfeature "Plotting" dev-python/matplotlib
+ optfeature "Plotting Astronomical Images" dev-python/aplpy
+ optfeature "Read/write CVS files" dev-python/pandas
+ optfeature "Image Processing" sci-libs/scikits_image
+ # Gammalib, ctools, sherpa
+ optfeature "Conversion helper functions" dev-python/rootpy
+ #optfeature "Image photometry" dev-python/photutils
+ # imfun, uncertainties
+ #optfeature "Image Utility Functions" dev-python/imageutils
+ # reproject
+}
diff --git a/dev-python/gammapy/metadata.xml b/dev-python/gammapy/metadata.xml
new file mode 100644
index 0000000..1370ffd
--- /dev/null
+++ b/dev-python/gammapy/metadata.xml
@@ -0,0 +1,10 @@
+<?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">
+ Gammapy is a package for simulating and analysing gamma-ray sky data.
+ It is currently designed to support users of telescopes such as Fermi,
+ H.E.S.S, and CTA in primarily Galactic plane survey studies.
+ </longdescription>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-python/gammapy/
@ 2014-08-29 19:28 Christoph Junghans
0 siblings, 0 replies; 7+ messages in thread
From: Christoph Junghans @ 2014-08-29 19:28 UTC (permalink / raw
To: gentoo-commits
commit: 989b93c6748d29aa6a2d75796613788358da36cf
Author: Joseph Jon Booker <joe <AT> neoturbine <DOT> net>
AuthorDate: Thu Aug 28 02:04:57 2014 +0000
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Thu Aug 28 02:04:57 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=989b93c6
dev-python/gammapy: version bump for 0.1 release
Package-Manager: portage-2.2.12
---
dev-python/gammapy/ChangeLog | 6 ++++++
.../gammapy/{gammapy-9999.ebuild => gammapy-0.1.ebuild} | 13 +++++++------
dev-python/gammapy/gammapy-9999.ebuild | 13 +++++++------
3 files changed, 20 insertions(+), 12 deletions(-)
diff --git a/dev-python/gammapy/ChangeLog b/dev-python/gammapy/ChangeLog
index b4b52fa..e947376 100644
--- a/dev-python/gammapy/ChangeLog
+++ b/dev-python/gammapy/ChangeLog
@@ -2,6 +2,12 @@
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*gammapy-0.1 (28 Aug 2014)
+
+ 28 Aug 2014; Joseph Jon Booker <joe@neoturbine.net> +gammapy-0.1.ebuild,
+ gammapy-9999.ebuild:
+ dev-python/gammapy: version bump for 0.1 release
+
*gammapy-9999 (08 Aug 2014)
08 Aug 2014; Joseph Jon Booker <joe@neoturbine.net> +gammapy-9999.ebuild,
diff --git a/dev-python/gammapy/gammapy-9999.ebuild b/dev-python/gammapy/gammapy-0.1.ebuild
similarity index 87%
copy from dev-python/gammapy/gammapy-9999.ebuild
copy to dev-python/gammapy/gammapy-0.1.ebuild
index 453e7ad..8ddd2e0 100644
--- a/dev-python/gammapy/gammapy-9999.ebuild
+++ b/dev-python/gammapy/gammapy-0.1.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
inherit distutils-r1 eutils
if [ ${PV} == "9999" ] ; then
@@ -66,10 +66,11 @@ pkg_postinst() {
optfeature "Plotting Astronomical Images" dev-python/aplpy
optfeature "Read/write CVS files" dev-python/pandas
optfeature "Image Processing" sci-libs/scikits_image
- # Gammalib, ctools, sherpa
optfeature "Conversion helper functions" dev-python/rootpy
- #optfeature "Image photometry" dev-python/photutils
- # imfun, uncertainties
- #optfeature "Image Utility Functions" dev-python/imageutils
- # reproject
+
+ # In science overlay:
+ optfeature "Image photometry" dev-python/photutils
+ optfeature "Image Utility Functions" dev-python/imageutils
+
+ # Not packaged: Gammalib, ctools, sherpa, imfun, uncertainties, reproject
}
diff --git a/dev-python/gammapy/gammapy-9999.ebuild b/dev-python/gammapy/gammapy-9999.ebuild
index 453e7ad..8ddd2e0 100644
--- a/dev-python/gammapy/gammapy-9999.ebuild
+++ b/dev-python/gammapy/gammapy-9999.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
inherit distutils-r1 eutils
if [ ${PV} == "9999" ] ; then
@@ -66,10 +66,11 @@ pkg_postinst() {
optfeature "Plotting Astronomical Images" dev-python/aplpy
optfeature "Read/write CVS files" dev-python/pandas
optfeature "Image Processing" sci-libs/scikits_image
- # Gammalib, ctools, sherpa
optfeature "Conversion helper functions" dev-python/rootpy
- #optfeature "Image photometry" dev-python/photutils
- # imfun, uncertainties
- #optfeature "Image Utility Functions" dev-python/imageutils
- # reproject
+
+ # In science overlay:
+ optfeature "Image photometry" dev-python/photutils
+ optfeature "Image Utility Functions" dev-python/imageutils
+
+ # Not packaged: Gammalib, ctools, sherpa, imfun, uncertainties, reproject
}
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-python/gammapy/
@ 2016-04-13 10:47 Marius Brehler
0 siblings, 0 replies; 7+ messages in thread
From: Marius Brehler @ 2016-04-13 10:47 UTC (permalink / raw
To: gentoo-commits
commit: 1265fbe0b1185f796fac5086ce63a5dbf6c236ed
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 21 18:53:18 2016 +0000
Commit: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
CommitDate: Mon Mar 21 18:53:18 2016 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=1265fbe0
dev-python/gammapy: in main tree
dev-python/gammapy/gammapy-0.1.ebuild | 76 -----------------------------------
1 file changed, 76 deletions(-)
diff --git a/dev-python/gammapy/gammapy-0.1.ebuild b/dev-python/gammapy/gammapy-0.1.ebuild
deleted file mode 100644
index e2a68b9..0000000
--- a/dev-python/gammapy/gammapy-0.1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
-inherit distutils-r1 eutils
-
-if [ ${PV} == "9999" ] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/gammapy/${PN}.git"
-else
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-
-DESCRIPTION="A Python package for gamma-ray astronomy"
-HOMEPAGE="https://github.com/gammapy/gammapy"
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="doc"
-DOCS=( README.rst )
-
-RDEPEND="
- >=dev-python/astropy-0.4[${PYTHON_USEDEP}]
- dev-python/astropy-helpers[${PYTHON_USEDEP}]
- dev-python/numpy[${PYTHON_USEDEP}]"
-
-DEPEND="${RDEPEND}"
-
-python_prepare_all() {
- distutils-r1_python_prepare_all
- sed -e '/import ah_bootstrap/d' -i setup.py || die "Removing ah_bootstrap failed"
-}
-
-python_compile_all() {
- if use doc; then
- python_export_best
- VARTEXFONTS="${T}"/fonts \
- MPLCONFIGDIR="${BUILD_DIR}" \
- PYTHONPATH="${BUILD_DIR}"/lib \
- esetup.py build_sphinx
- fi
-}
-
-python_test() {
- distutils_install_for_testing
- cd "${TEST_DIR}" || die
- "${EPYTHON}" -c "import ${PN}, sys;r = ${PN}.test(verbose=True);sys.exit(r)" \
- || die "tests fail with ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( docs/_build/html/. )
- distutils-r1_python_install_all
-}
-
-pkg_postinst() {
- elog "To get additional features, a number of optional runtime"
- elog "dependencies may be installed:"
- elog ""
- optfeature "Numerical Methods" sci-libs/scipy
- optfeature "Plotting" dev-python/matplotlib
- optfeature "Plotting Astronomical Images" dev-python/aplpy
- optfeature "Read/write CVS files" dev-python/pandas
- optfeature "Image Processing" sci-libs/scikits_image
- optfeature "Conversion helper functions" dev-python/rootpy
-
- # In science overlay:
- optfeature "Image photometry" dev-python/photutils
- optfeature "Image Utility Functions" dev-python/imageutils
-
- # Not packaged: Gammalib, ctools, sherpa, imfun, uncertainties, reproject
-}
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-python/gammapy/
@ 2021-01-05 16:16 Andrew Ammerlaan
0 siblings, 0 replies; 7+ messages in thread
From: Andrew Ammerlaan @ 2021-01-05 16:16 UTC (permalink / raw
To: gentoo-commits
commit: 70cb7228def34e7089865e8984cbb4c15a5b0db4
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Jan 5 11:40:02 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Jan 5 16:03:38 2021 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=70cb7228
dev-python/gammapy: bump EAPI, bump py targets
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
dev-python/gammapy/gammapy-0.18.2.ebuild | 59 +++++++++++++++++++++++++
dev-python/gammapy/gammapy-9999.ebuild | 75 --------------------------------
2 files changed, 59 insertions(+), 75 deletions(-)
diff --git a/dev-python/gammapy/gammapy-0.18.2.ebuild b/dev-python/gammapy/gammapy-0.18.2.ebuild
new file mode 100644
index 000000000..c26732aed
--- /dev/null
+++ b/dev-python/gammapy/gammapy-0.18.2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="A Python package for gamma-ray astronomy"
+HOMEPAGE="https://github.com/gammapy/gammapy"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+#TODO: Package all these pytest deps:
+# pytest-doctestplus>=0.2.0
+# pytest-remotedata>=0.3.1
+# pytest-openfiles>=0.3.1
+# pytest-astropy-header>=0.1.2
+# pytest-arraydiff>=0.1
+# pytest-filter-subpackage>=0.1
+RESTRICT="test"
+
+RDEPEND="
+ dev-python/click[${PYTHON_USEDEP}]
+ >=dev-python/astropy-0.4[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/pydantic[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/regions[${PYTHON_USEDEP}]
+ dev-python/scipy[${PYTHON_USEDEP}]
+"
+
+# TODO: fix this
+# There is a programmable error in your configuration file:
+# KeyError: 'build_docs'
+#distutils_enable_sphinx docs dev-python/sphinx-astropy
+distutils_enable_tests pytest
+
+pkg_postinst() {
+ elog "To get additional features, a number of optional runtime"
+ elog "dependencies may be installed:"
+ elog ""
+ optfeature "Plotting" dev-python/matplotlib
+ optfeature "Plotting Astronomical Images" dev-python/aplpy
+ optfeature "Read/write CVS files" dev-python/pandas
+ optfeature "Image Processing" sci-libs/scikit-image
+ optfeature "Conversion helper functions" dev-python/rootpy
+
+ # In science overlay:
+ optfeature "Image photometry" dev-python/photutils
+ optfeature "Image Utility Functions" dev-python/imageutils
+
+ # Not packaged: Gammalib, ctools, sherpa, imfun, uncertainties, reproject
+}
diff --git a/dev-python/gammapy/gammapy-9999.ebuild b/dev-python/gammapy/gammapy-9999.ebuild
deleted file mode 100644
index bd0ee2702..000000000
--- a/dev-python/gammapy/gammapy-9999.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python{2_7,3_4} )
-inherit distutils-r1 eutils
-
-if [ ${PV} == "9999" ] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/gammapy/${PN}.git"
-else
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
- KEYWORDS="~amd64"
-fi
-
-DESCRIPTION="A Python package for gamma-ray astronomy"
-HOMEPAGE="https://github.com/gammapy/gammapy"
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="doc"
-DOCS=( README.rst )
-
-RDEPEND="
- >=dev-python/astropy-0.4[${PYTHON_USEDEP}]
- dev-python/astropy-helpers[${PYTHON_USEDEP}]
- dev-python/numpy[${PYTHON_USEDEP}]"
-
-DEPEND="${RDEPEND}"
-
-python_prepare_all() {
- distutils-r1_python_prepare_all
- sed -e '/import ah_bootstrap/d' -i setup.py || die "Removing ah_bootstrap failed"
-}
-
-python_compile_all() {
- if use doc; then
- python_export_best
- VARTEXFONTS="${T}"/fonts \
- MPLCONFIGDIR="${BUILD_DIR}" \
- PYTHONPATH="${BUILD_DIR}"/lib \
- esetup.py build_sphinx
- fi
-}
-
-python_test() {
- distutils_install_for_testing
- cd "${TEST_DIR}" || die
- "${EPYTHON}" -c "import ${PN}, sys;r = ${PN}.test(verbose=True);sys.exit(r)" \
- || die "tests fail with ${EPYTHON}"
-}
-
-python_install_all() {
- use doc && local HTML_DOCS=( docs/_build/html/. )
- distutils-r1_python_install_all
-}
-
-pkg_postinst() {
- elog "To get additional features, a number of optional runtime"
- elog "dependencies may be installed:"
- elog ""
- optfeature "Numerical Methods" dev-python/scipy
- optfeature "Plotting" dev-python/matplotlib
- optfeature "Plotting Astronomical Images" dev-python/aplpy
- optfeature "Read/write CVS files" dev-python/pandas
- optfeature "Image Processing" sci-libs/scikit-image
- optfeature "Conversion helper functions" dev-python/rootpy
-
- # In science overlay:
- optfeature "Image photometry" dev-python/photutils
- optfeature "Image Utility Functions" dev-python/imageutils
-
- # Not packaged: Gammalib, ctools, sherpa, imfun, uncertainties, reproject
-}
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-python/gammapy/
@ 2024-02-16 2:17 Horea Christian
0 siblings, 0 replies; 7+ messages in thread
From: Horea Christian @ 2024-02-16 2:17 UTC (permalink / raw
To: gentoo-commits
commit: b732d93b35cb20e33499840d3d798481e8841672
Author: Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Fri Feb 16 02:16:44 2024 +0000
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Fri Feb 16 02:16:44 2024 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=b732d93b
dev-python/gammapy: updated scikit-image package category
Signed-off-by: Horea Christian <chr <AT> chymera.eu>
dev-python/gammapy/gammapy-1.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/gammapy/gammapy-1.0.ebuild b/dev-python/gammapy/gammapy-1.0.ebuild
index ab50e7a85..6357014ed 100644
--- a/dev-python/gammapy/gammapy-1.0.ebuild
+++ b/dev-python/gammapy/gammapy-1.0.ebuild
@@ -47,7 +47,7 @@ pkg_postinst() {
optfeature "Plotting" dev-python/matplotlib
optfeature "Plotting Astronomical Images" dev-python/aplpy
optfeature "Read/write CVS files" dev-python/pandas
- optfeature "Image Processing" sci-libs/scikit-image
+ optfeature "Image Processing" dev-python/scikit-image
optfeature "Conversion helper functions" dev-python/rootpy
# In science overlay:
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] proj/sci:master commit in: dev-python/gammapy/
@ 2024-09-23 14:22 Andrew Ammerlaan
0 siblings, 0 replies; 7+ messages in thread
From: Andrew Ammerlaan @ 2024-09-23 14:22 UTC (permalink / raw
To: gentoo-commits
commit: 1e745ea2ee6946d2197244262f5dab1b47d8c151
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 23 14:18:42 2024 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Sep 23 14:18:42 2024 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=1e745ea2
dev-python/gammapy: unkeyword 1.0 for ~x86
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
dev-python/gammapy/gammapy-1.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-python/gammapy/gammapy-1.0.ebuild b/dev-python/gammapy/gammapy-1.0.ebuild
index 6357014ed..1748c8ba7 100644
--- a/dev-python/gammapy/gammapy-1.0.ebuild
+++ b/dev-python/gammapy/gammapy-1.0.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://github.com/gammapy/gammapy"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64"
#TODO: Package all these pytest deps:
# pytest-doctestplus>=0.2.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-09-23 14:22 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-05 16:16 [gentoo-commits] proj/sci:master commit in: dev-python/gammapy/ Andrew Ammerlaan
-- strict thread matches above, loose matches on Subject: below --
2024-09-23 14:22 Andrew Ammerlaan
2024-02-16 2:17 Horea Christian
2016-04-13 10:47 Marius Brehler
2014-08-29 19:28 Christoph Junghans
2014-08-19 21:51 Christoph Junghans
2014-08-10 8:05 Justin Lecher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox