summaryrefslogtreecommitdiff
path: root/dev-python/memory-allocator
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-05-18 10:56:23 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-05-18 10:56:23 +0000
commitcc8c41f5505b5247ac2bd1ddad41528b405f4cfc (patch)
treeaac5fc4e9a2c0c5967a13ca58826fbe454869a65 /dev-python/memory-allocator
parent4e5ed851e66c960ab51e65e9f83d8863c5b6ad5e (diff)
downloadbaldeagleos-repo-cc8c41f5505b5247ac2bd1ddad41528b405f4cfc.tar.gz
baldeagleos-repo-cc8c41f5505b5247ac2bd1ddad41528b405f4cfc.tar.xz
baldeagleos-repo-cc8c41f5505b5247ac2bd1ddad41528b405f4cfc.zip
Adding metadata
Diffstat (limited to 'dev-python/memory-allocator')
-rw-r--r--dev-python/memory-allocator/memory-allocator-0.1.4.ebuild20
1 files changed, 12 insertions, 8 deletions
diff --git a/dev-python/memory-allocator/memory-allocator-0.1.4.ebuild b/dev-python/memory-allocator/memory-allocator-0.1.4.ebuild
index f17f0431b7f8..f840f18a55ec 100644
--- a/dev-python/memory-allocator/memory-allocator-0.1.4.ebuild
+++ b/dev-python/memory-allocator/memory-allocator-0.1.4.ebuild
@@ -3,20 +3,25 @@
EAPI=8
-PYTHON_COMPAT=( python3_{8,9,10,11,12} )
-DISTUTILS_USE_PEP517=setuptools
DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8,9,10,11,12} )
+
inherit distutils-r1 pypi
DESCRIPTION="An extension class for memory allocation in cython"
-HOMEPAGE="https://pypi.org/project/memory-allocator/
- https://github.com/sagemath/memory_allocator"
+HOMEPAGE="
+ https://pypi.org/project/memory-allocator/
+ https://github.com/sagemath/memory_allocator/
+"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64"
-BDEPEND="dev-python/cython[${PYTHON_USEDEP}]"
+BDEPEND="
+ dev-python/cython[${PYTHON_USEDEP}]
+"
python_test() {
# The test script tries to "import memory_allocator.test" which, so
@@ -25,7 +30,6 @@ python_test() {
# the "test" module is a compiled extension. To let the search fall
# back to the correct location, we temporarily rename the directory
# that misleads it.
- mv memory_allocator mv_memory_allocator || die
- ${EPYTHON} test.py || die
- mv mv_memory_allocator memory_allocator || die
+ rm -rf memory_allocator || die
+ "${EPYTHON}" test.py || die
}