public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: dev-python/astroscrappy/
@ 2021-01-05 16:16 Andrew Ammerlaan
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Ammerlaan @ 2021-01-05 16:16 UTC (permalink / raw
  To: gentoo-commits

commit:     8e7e507d3f7688a0b7c76ed6663c59b769eac784
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Jan  5 11:19:38 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Jan  5 16:03:37 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=8e7e507d

dev-python/astroscrappy: new dep

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

 dev-python/astroscrappy/astroscrappy-1.0.8.ebuild | 30 +++++++++++++++++++++++
 dev-python/astroscrappy/metadata.xml              |  8 ++++++
 2 files changed, 38 insertions(+)

diff --git a/dev-python/astroscrappy/astroscrappy-1.0.8.ebuild b/dev-python/astroscrappy/astroscrappy-1.0.8.ebuild
new file mode 100644
index 000000000..d71e7d1ac
--- /dev/null
+++ b/dev-python/astroscrappy/astroscrappy-1.0.8.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8} ) # compile failure with py3.9
+
+inherit distutils-r1
+
+DESCRIPTION="Speedy Cosmic Ray Annihilation Package in Python"
+HOMEPAGE="https://github.com/astropy/astroscrappy"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+#TODO: Fix this
+# ModuleNotFoundError: No module named 'astroscrappy.astroscrappy'
+# happens even with --install argument
+RESTRICT="test"
+
+RDEPEND="
+	>=dev-python/astropy-2.0[${PYTHON_USEDEP}]
+	dev-python/numpy[${PYTHON_USEDEP}]
+"
+
+# Requires self to already be installed
+#distutils_enable_sphinx docs dev-python/sphinx-astropy
+distutils_enable_tests --install pytest

diff --git a/dev-python/astroscrappy/metadata.xml b/dev-python/astroscrappy/metadata.xml
new file mode 100644
index 000000000..4f4367037
--- /dev/null
+++ b/dev-python/astroscrappy/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>


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

* [gentoo-commits] proj/sci:master commit in: dev-python/astroscrappy/
@ 2022-01-25 19:15 Andrew Ammerlaan
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Ammerlaan @ 2022-01-25 19:15 UTC (permalink / raw
  To: gentoo-commits

commit:     19e4b19af45afc3a0c3d39c5c4a1477617c32dc1
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 25 16:41:29 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Jan 25 16:41:29 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=19e4b19a

dev-python/astroscrappy: bump to 1.1.0

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 .../{astroscrappy-1.0.8.ebuild => astroscrappy-1.1.0.ebuild}       | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/dev-python/astroscrappy/astroscrappy-1.0.8.ebuild b/dev-python/astroscrappy/astroscrappy-1.1.0.ebuild
similarity index 84%
rename from dev-python/astroscrappy/astroscrappy-1.0.8.ebuild
rename to dev-python/astroscrappy/astroscrappy-1.1.0.ebuild
index d71e7d1ac..f4ef741da 100644
--- a/dev-python/astroscrappy/astroscrappy-1.0.8.ebuild
+++ b/dev-python/astroscrappy/astroscrappy-1.1.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{7,8} ) # compile failure with py3.9
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1
 
@@ -24,6 +24,7 @@ RDEPEND="
 	>=dev-python/astropy-2.0[${PYTHON_USEDEP}]
 	dev-python/numpy[${PYTHON_USEDEP}]
 "
+BDEPEND="dev-python/cython[${PYTHON_USEDEP}]"
 
 # Requires self to already be installed
 #distutils_enable_sphinx docs dev-python/sphinx-astropy


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

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

commit:     563be4160c9f767aca0180d274c18204fe91cc76
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 10 11:48:27 2023 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Feb 10 11:48:27 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=563be416

dev-python/astroscrappy: pep517, enable py3.11

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

 ...{astroscrappy-1.1.0.ebuild => astroscrappy-1.1.0-r1.ebuild} | 10 ++++------
 dev-python/astroscrappy/metadata.xml                           |  4 ++++
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/dev-python/astroscrappy/astroscrappy-1.1.0.ebuild b/dev-python/astroscrappy/astroscrappy-1.1.0-r1.ebuild
similarity index 68%
rename from dev-python/astroscrappy/astroscrappy-1.1.0.ebuild
rename to dev-python/astroscrappy/astroscrappy-1.1.0-r1.ebuild
index 79054f7ab..cd34136af 100644
--- a/dev-python/astroscrappy/astroscrappy-1.1.0.ebuild
+++ b/dev-python/astroscrappy/astroscrappy-1.1.0-r1.ebuild
@@ -3,21 +3,19 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_10 )
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_USE_PEP517=setuptools
 
-inherit distutils-r1
+inherit distutils-r1 pypi
 
 DESCRIPTION="Speedy Cosmic Ray Annihilation Package in Python"
 HOMEPAGE="https://github.com/astropy/astroscrappy"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
 #TODO: Fix this
-# ModuleNotFoundError: No module named 'astroscrappy.astroscrappy'
-# happens even with --install argument
 RESTRICT="test"
 
 RDEPEND="
@@ -28,4 +26,4 @@ BDEPEND="dev-python/cython[${PYTHON_USEDEP}]"
 
 # Requires self to already be installed
 #distutils_enable_sphinx docs dev-python/sphinx-astropy
-distutils_enable_tests --install pytest
+distutils_enable_tests pytest

diff --git a/dev-python/astroscrappy/metadata.xml b/dev-python/astroscrappy/metadata.xml
index 4f4367037..b308f644b 100644
--- a/dev-python/astroscrappy/metadata.xml
+++ b/dev-python/astroscrappy/metadata.xml
@@ -5,4 +5,8 @@
 		<email>sci-astronomy@gentoo.org</email>
 		<name>Gentoo Astronomy Project</name>
 	</maintainer>
+	<upstream>
+		<remote-id type="github">astropy/astroscrappy</remote-id>
+		<remote-id type="pypi">astroscrappy</remote-id>
+	</upstream>
 </pkgmetadata>


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

end of thread, other threads:[~2023-02-10 11:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-25 19:15 [gentoo-commits] proj/sci:master commit in: dev-python/astroscrappy/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2023-02-10 11:49 Andrew Ammerlaan
2021-01-05 16:16 Andrew Ammerlaan

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