summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-02-19 18:34:29 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-19 20:46:18 +0100
commitda4cad7a201162677f8d7a5c06fb000c4a94834e (patch)
tree23405ef80b0b3120c8c64ea40f28296b8b4ed952 /dev-python/symengine
parentdev-python/pygame: add pypy3 to PYTHON_COMPAT (diff)
downloadgentoo-da4cad7a201162677f8d7a5c06fb000c4a94834e.tar.gz
gentoo-da4cad7a201162677f8d7a5c06fb000c4a94834e.tar.bz2
gentoo-da4cad7a201162677f8d7a5c06fb000c4a94834e.zip
dev-python/symengine: Unify style and remove redundant optimize
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/symengine')
-rw-r--r--dev-python/symengine/symengine-0.9.2-r2.ebuild21
1 files changed, 11 insertions, 10 deletions
diff --git a/dev-python/symengine/symengine-0.9.2-r2.ebuild b/dev-python/symengine/symengine-0.9.2-r2.ebuild
index d0dc5ac3c521..c81e56d1eb32 100644
--- a/dev-python/symengine/symengine-0.9.2-r2.ebuild
+++ b/dev-python/symengine/symengine-0.9.2-r2.ebuild
@@ -10,11 +10,15 @@ inherit distutils-r1
MY_P=${PN}.py-${PV}
DESCRIPTION="Python wrappers to the symengine C++ library"
-HOMEPAGE="https://github.com/symengine/symengine.py/"
+HOMEPAGE="
+ https://github.com/symengine/symengine.py/
+ https://pypi.org/project/symengine/
+"
SRC_URI="
https://github.com/symengine/symengine.py/archive/v${PV}.tar.gz
- -> ${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
+ -> ${MY_P}.tar.gz
+"
+S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
@@ -29,11 +33,13 @@ BDEPEND="
"
# See bug #786582 for symengine constraint
# See also https://github.com/symengine/symengine.py/blob/master/symengine_version.txt
-RDEPEND="
+DEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
>=sci-libs/symengine-$(ver_cut 1-2):=
"
-DEPEND="${RDEPEND}"
+RDEPEND="
+ ${DEPEND}
+"
# the C library installs the same docs
DOCS=()
@@ -49,8 +55,3 @@ python_test() {
cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
epytest
}
-
-python_install() {
- distutils-r1_python_install
- python_optimize
-}