public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: dev-python/photutils/
@ 2014-08-10  8:05 Justin Lecher
  0 siblings, 0 replies; 5+ messages in thread
From: Justin Lecher @ 2014-08-10  8:05 UTC (permalink / raw
  To: gentoo-commits

commit:     1b33de552f47a3ae177e3dc6bc8302c06d278c68
Author:     Joseph Jon Booker <joe <AT> neoturbine <DOT> net>
AuthorDate: Fri Aug  8 20:03:22 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Aug  8 20:03:22 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=1b33de55

dev-python/photutils: Add photutils package

Package-Manager: portage-2.2.11-r1

---
 dev-python/photutils/ChangeLog             |  9 +++++
 dev-python/photutils/metadata.xml          | 10 +++++
 dev-python/photutils/photutils-9999.ebuild | 61 ++++++++++++++++++++++++++++++
 3 files changed, 80 insertions(+)

diff --git a/dev-python/photutils/ChangeLog b/dev-python/photutils/ChangeLog
new file mode 100644
index 0000000..fe8069d
--- /dev/null
+++ b/dev-python/photutils/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-python/photutils
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*photutils-9999 (08 Aug 2014)
+
+  08 Aug 2014; Joseph Jon Booker <joe@neoturbine.net> +metadata.xml,
+  +photutils-9999.ebuild:
+  dev-python/photutils: Add photutils package

diff --git a/dev-python/photutils/metadata.xml b/dev-python/photutils/metadata.xml
new file mode 100644
index 0000000..9f819f6
--- /dev/null
+++ b/dev-python/photutils/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">
+		photutils is a python package for determining photometric properties
+		of sources in astronomical images. This includes source detection,
+		centroid and shape parameters, and performing photometry.
+	</longdescription>
+</pkgmetadata>

diff --git a/dev-python/photutils/photutils-9999.ebuild b/dev-python/photutils/photutils-9999.ebuild
new file mode 100644
index 0000000..f152dde
--- /dev/null
+++ b/dev-python/photutils/photutils-9999.ebuild
@@ -0,0 +1,61 @@
+# 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_3,3_4} )
+inherit distutils-r1
+
+if [ ${PV} == "9999" ] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/astropy/${PN}.git"
+else
+	SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Affiliated package for image photometry utilities"
+HOMEPAGE="https://github.com/astropy/photutils"
+
+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/imageutils[${PYTHON_USEDEP}]
+	dev-python/matplotlib[${PYTHON_USEDEP}]
+	dev-python/numpy[${PYTHON_USEDEP}]
+	sci-libs/scipy[${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
+}


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

* [gentoo-commits] proj/sci:master commit in: dev-python/photutils/
@ 2014-08-19 21:51 Christoph Junghans
  0 siblings, 0 replies; 5+ messages in thread
From: Christoph Junghans @ 2014-08-19 21:51 UTC (permalink / raw
  To: gentoo-commits

commit:     1b33de552f47a3ae177e3dc6bc8302c06d278c68
Author:     Joseph Jon Booker <joe <AT> neoturbine <DOT> net>
AuthorDate: Fri Aug  8 20:03:22 2014 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Fri Aug  8 20:03:22 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=1b33de55

dev-python/photutils: Add photutils package

Package-Manager: portage-2.2.11-r1

---
 dev-python/photutils/ChangeLog             |  9 +++++
 dev-python/photutils/metadata.xml          | 10 +++++
 dev-python/photutils/photutils-9999.ebuild | 61 ++++++++++++++++++++++++++++++
 3 files changed, 80 insertions(+)

diff --git a/dev-python/photutils/ChangeLog b/dev-python/photutils/ChangeLog
new file mode 100644
index 0000000..fe8069d
--- /dev/null
+++ b/dev-python/photutils/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-python/photutils
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*photutils-9999 (08 Aug 2014)
+
+  08 Aug 2014; Joseph Jon Booker <joe@neoturbine.net> +metadata.xml,
+  +photutils-9999.ebuild:
+  dev-python/photutils: Add photutils package

diff --git a/dev-python/photutils/metadata.xml b/dev-python/photutils/metadata.xml
new file mode 100644
index 0000000..9f819f6
--- /dev/null
+++ b/dev-python/photutils/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">
+		photutils is a python package for determining photometric properties
+		of sources in astronomical images. This includes source detection,
+		centroid and shape parameters, and performing photometry.
+	</longdescription>
+</pkgmetadata>

diff --git a/dev-python/photutils/photutils-9999.ebuild b/dev-python/photutils/photutils-9999.ebuild
new file mode 100644
index 0000000..f152dde
--- /dev/null
+++ b/dev-python/photutils/photutils-9999.ebuild
@@ -0,0 +1,61 @@
+# 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_3,3_4} )
+inherit distutils-r1
+
+if [ ${PV} == "9999" ] ; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/astropy/${PN}.git"
+else
+	SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+	KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Affiliated package for image photometry utilities"
+HOMEPAGE="https://github.com/astropy/photutils"
+
+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/imageutils[${PYTHON_USEDEP}]
+	dev-python/matplotlib[${PYTHON_USEDEP}]
+	dev-python/numpy[${PYTHON_USEDEP}]
+	sci-libs/scipy[${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
+}


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

* [gentoo-commits] proj/sci:master commit in: dev-python/photutils/
@ 2021-01-05  7:39 Horea Christian
  0 siblings, 0 replies; 5+ messages in thread
From: Horea Christian @ 2021-01-05  7:39 UTC (permalink / raw
  To: gentoo-commits

commit:     ce21ee2b5d597e559c43e14b7ada07e760be6690
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Mon Jan  4 11:56:52 2021 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Tue Jan  5 07:38:32 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=ce21ee2b

dev-python/photutils: bump py targets, add keywords

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 dev-python/photutils/photutils-1.0.1.ebuild | 40 +++++++++++++++++++
 dev-python/photutils/photutils-9999.ebuild  | 60 -----------------------------
 2 files changed, 40 insertions(+), 60 deletions(-)

diff --git a/dev-python/photutils/photutils-1.0.1.ebuild b/dev-python/photutils/photutils-1.0.1.ebuild
new file mode 100644
index 000000000..ac34ff93a
--- /dev/null
+++ b/dev-python/photutils/photutils-1.0.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit distutils-r1
+
+DESCRIPTION="Affiliated package for image photometry utilities"
+HOMEPAGE="https://github.com/astropy/photutils"
+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/astropy-0.4[${PYTHON_USEDEP}]
+	dev-python/numpy[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+# TODO: Fix this
+# NameError: name 'disabled_intersphinx_mapping' is not defined
+#distutils_enable_sphinx docs \
+# 	dev-python/sphinx-astropy \
+# 	dev-python/scipy \
+# 	dev-python/matplotlib \
+# 	sci-libs/scikit-learn \
+# 	sci-libs/scikit-image \

diff --git a/dev-python/photutils/photutils-9999.ebuild b/dev-python/photutils/photutils-9999.ebuild
deleted file mode 100644
index 8fac6c6c9..000000000
--- a/dev-python/photutils/photutils-9999.ebuild
+++ /dev/null
@@ -1,60 +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
-
-if [ ${PV} == "9999" ] ; then
-	inherit git-r3
-	EGIT_REPO_URI="https://github.com/astropy/${PN}.git"
-else
-	SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-	KEYWORDS="~amd64"
-fi
-
-DESCRIPTION="Affiliated package for image photometry utilities"
-HOMEPAGE="https://github.com/astropy/photutils"
-
-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/imageutils[${PYTHON_USEDEP}]
-	dev-python/matplotlib[${PYTHON_USEDEP}]
-	dev-python/numpy[${PYTHON_USEDEP}]
-	dev-python/scipy[${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
-}


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

* [gentoo-commits] proj/sci:master commit in: dev-python/photutils/
@ 2023-02-10 11:42 Andrew Ammerlaan
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Ammerlaan @ 2023-02-10 11:42 UTC (permalink / raw
  To: gentoo-commits

commit:     5ae15e72a593d0e96e24ac6b376543ec69cc013f
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 10 11:41:30 2023 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Feb 10 11:41:30 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=5ae15e72

dev-python/photutils: add 1.6.0, drop 1.0.1

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/photutils/metadata.xml                                 | 1 +
 .../photutils/{photutils-1.0.1.ebuild => photutils-1.6.0.ebuild}  | 8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/dev-python/photutils/metadata.xml b/dev-python/photutils/metadata.xml
index 5c3d380b2..8069e65c7 100644
--- a/dev-python/photutils/metadata.xml
+++ b/dev-python/photutils/metadata.xml
@@ -12,5 +12,6 @@ centroid and shape parameters, and performing photometry.
 </longdescription>
 	<upstream>
 		<remote-id type="github">astropy/photutils</remote-id>
+		<remote-id type="pypi">photutils</remote-id>
 	</upstream>
 </pkgmetadata>

diff --git a/dev-python/photutils/photutils-1.0.1.ebuild b/dev-python/photutils/photutils-1.6.0.ebuild
similarity index 88%
rename from dev-python/photutils/photutils-1.0.1.ebuild
rename to dev-python/photutils/photutils-1.6.0.ebuild
index ac34ff93a..b2ea8d831 100644
--- a/dev-python/photutils/photutils-1.0.1.ebuild
+++ b/dev-python/photutils/photutils-1.6.0.ebuild
@@ -1,15 +1,15 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_USE_PEP517=setuptools
 
-inherit distutils-r1
+inherit distutils-r1 pypi
 
 DESCRIPTION="Affiliated package for image photometry utilities"
 HOMEPAGE="https://github.com/astropy/photutils"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"


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

* [gentoo-commits] proj/sci:master commit in: dev-python/photutils/
@ 2024-02-16  2:17 Horea Christian
  0 siblings, 0 replies; 5+ messages in thread
From: Horea Christian @ 2024-02-16  2:17 UTC (permalink / raw
  To: gentoo-commits

commit:     e9b6e0addfb8b5ad47c6e684f999be2747306e80
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Fri Feb 16 02:17:34 2024 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Fri Feb 16 02:17:34 2024 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=e9b6e0ad

dev-python/photutils: updated scikit-image package category

Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 dev-python/photutils/photutils-1.6.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/photutils/photutils-1.6.0.ebuild b/dev-python/photutils/photutils-1.6.0.ebuild
index b2ea8d831..a1fa5f2d2 100644
--- a/dev-python/photutils/photutils-1.6.0.ebuild
+++ b/dev-python/photutils/photutils-1.6.0.ebuild
@@ -37,4 +37,4 @@ distutils_enable_tests pytest
 # 	dev-python/scipy \
 # 	dev-python/matplotlib \
 # 	sci-libs/scikit-learn \
-# 	sci-libs/scikit-image \
+# 	dev-python/scikit-image \


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

end of thread, other threads:[~2024-02-16  2:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-19 21:51 [gentoo-commits] proj/sci:master commit in: dev-python/photutils/ Christoph Junghans
  -- strict thread matches above, loose matches on Subject: below --
2024-02-16  2:17 Horea Christian
2023-02-10 11:42 Andrew Ammerlaan
2021-01-05  7:39 Horea Christian
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