summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2021-02-21 15:09:30 +0100
committerSam James <sam@gentoo.org>2021-02-22 22:18:41 +0000
commitadd034d3d9aae4ffd796d83ffd8b63eb51c750a3 (patch)
treea07978eae09f9da3c0f50c0a8118cfa393ef17c9 /sci-libs/numkit
parentsci-physics/qmeq: Port to python 3.{8,9} (diff)
downloadgentoo-add034d3d9aae4ffd796d83ffd8b63eb51c750a3.tar.gz
gentoo-add034d3d9aae4ffd796d83ffd8b63eb51c750a3.tar.bz2
gentoo-add034d3d9aae4ffd796d83ffd8b63eb51c750a3.zip
sci-libs/numkit: Port to python 3.{8,9}
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs/numkit')
-rw-r--r--sci-libs/numkit/numkit-1.1.2.ebuild20
1 files changed, 5 insertions, 15 deletions
diff --git a/sci-libs/numkit/numkit-1.1.2.ebuild b/sci-libs/numkit/numkit-1.1.2.ebuild
index 54e7b6e882b..57d46a51a3f 100644
--- a/sci-libs/numkit/numkit-1.1.2.ebuild
+++ b/sci-libs/numkit/numkit-1.1.2.ebuild
@@ -3,27 +3,17 @@
EAPI=7
-PYTHON_COMPAT=( python3_7 )
-
-if [[ $PV = *9999* ]]; then
- scm_eclass=git-r3
- EGIT_REPO_URI="https://github.com/Becksteinlab/${PN}.git"
- EGIT_BRANCH="develop"
- SRC_URI=""
-else
- scm_eclass=vcs-snapshot
- SRC_URI="https://github.com/Becksteinlab/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~x86"
-fi
-
-inherit eutils distutils-r1 ${scm_eclass}
+PYTHON_COMPAT=( python3_{7..9} )
+inherit distutils-r1
DESCRIPTION="Numerical first aid kit (with numpy/scipy)"
HOMEPAGE="https://numkit.readthedocs.io"
+S="${WORKDIR}/${PN}-release-${PV}"
+SRC_URI="https://github.com/Becksteinlab/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-IUSE=""
+KEYWORDS="~amd64 ~x86"
BDEPEND="
dev-python/six[${PYTHON_USEDEP}]