commit:     0edcd19bed0b8c849894282bd0de04813d20c8a4
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 10 12:03:30 2023 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Feb 10 12:03:30 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=0edcd19b

dev-python/gammapy: add 1.0, drop 0.18.2

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

 dev-python/gammapy/{gammapy-0.18.2.ebuild => gammapy-1.0.ebuild} | 9 ++++-----
 dev-python/gammapy/metadata.xml                                  | 1 +
 profiles/package.mask                                            | 1 -
 3 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/dev-python/gammapy/gammapy-0.18.2.ebuild 
b/dev-python/gammapy/gammapy-1.0.ebuild
similarity index 90%
rename from dev-python/gammapy/gammapy-0.18.2.ebuild
rename to dev-python/gammapy/gammapy-1.0.ebuild
index c26732aed..ab50e7a85 100644
--- a/dev-python/gammapy/gammapy-0.18.2.ebuild
+++ b/dev-python/gammapy/gammapy-1.0.ebuild
@@ -1,16 +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} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_USE_PEP517=setuptools
 
-inherit distutils-r1 optfeature
+inherit distutils-r1 pypi 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"

diff --git a/dev-python/gammapy/metadata.xml b/dev-python/gammapy/metadata.xml
index a9f88e7d8..f4a01e639 100644
--- a/dev-python/gammapy/metadata.xml
+++ b/dev-python/gammapy/metadata.xml
@@ -12,5 +12,6 @@ H.E.S.S, and CTA in primarily Galactic plane survey studies.
 </longdescription>
        <upstream>
                <remote-id type="github">gammapy/gammapy</remote-id>
+               <remote-id type="pypi">gammapy</remote-id>
        </upstream>
 </pkgmetadata>

diff --git a/profiles/package.mask b/profiles/package.mask
index dd4b0d343..f2d821d2b 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -36,7 +36,6 @@ sci-biology/gffutils
 sci-biology/chiron
 dev-python/snakemake
 dev-python/specutils
-dev-python/regions
 dev-python/kmapper
 # Reverse deps of above
 dev-python/ripser

Reply via email to