diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-24 17:32:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-24 17:32:06 +0100 |
commit | 7138219e3c9446bf981ff17f5609f42130bec414 (patch) | |
tree | b898b17778ed104dd89b2980386bae53594b001d /dev-python | |
parent | 1afe1c223c048ca2c33fa230c83d620c04fecb8f (diff) |
gentoo auto-resync : 24:09:2022 - 17:32:06
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/Manifest.gz | bin | 261732 -> 261902 bytes | |||
-rw-r--r-- | dev-python/shiboken2/Manifest | 4 | ||||
-rw-r--r-- | dev-python/shiboken2/files/shiboken2-5.15.2-numpy-1.23.patch | 28 | ||||
-rw-r--r-- | dev-python/shiboken2/files/shiboken2-5.15.2-python310.patch | 104 | ||||
-rw-r--r-- | dev-python/shiboken2/files/shiboken2-5.15.2-python311-fixups.patch | 47 | ||||
-rw-r--r-- | dev-python/shiboken2/files/shiboken2-5.15.2-python311.patch | 125 | ||||
-rw-r--r-- | dev-python/spyder-notebook/Manifest | 3 | ||||
-rw-r--r-- | dev-python/spyder-notebook/metadata.xml | 12 | ||||
-rw-r--r-- | dev-python/spyder-notebook/spyder-notebook-0.4.0.ebuild | 45 | ||||
-rw-r--r-- | dev-python/spyder/Manifest | 2 | ||||
-rw-r--r-- | dev-python/spyder/spyder-5.3.3.ebuild | 3 |
11 files changed, 62 insertions, 311 deletions
diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz Binary files differindex 3af6b91dc3f5..00de17108240 100644 --- a/dev-python/Manifest.gz +++ b/dev-python/Manifest.gz diff --git a/dev-python/shiboken2/Manifest b/dev-python/shiboken2/Manifest index 51cc47ec06d4..a2d7e9c87df6 100644 --- a/dev-python/shiboken2/Manifest +++ b/dev-python/shiboken2/Manifest @@ -1,7 +1,3 @@ -AUX shiboken2-5.15.2-numpy-1.23.patch 1180 BLAKE2B 744f36a26e934c31e5f499cb07b5c4384932392e4d55303dac0aeb932533a548ce3ac385b23f16f87f7d7705bed38fb863b92acb74ad49185831f60976bcbfdb SHA512 f775c5ac6a9a7a692645f33d8bb017bafacd297777f04f4bc581bd0810b1f7ec083ceb6eb495ffc0a9a9851f72658da7bad2ed3d1604a56e9fda042cc969cac8 -AUX shiboken2-5.15.2-python310.patch 4408 BLAKE2B cd1a5c3f8c473a6667f8c942c248285babb468339283a8cc97064bd119194b72bcdb47c758044774a415cec08562b7875fd7298dea50e23d7fc3830e8291a8c1 SHA512 10245617f1aea656d3ba2e8736d51fd119e4d01c4fff129f557203bd1d5eb40ca10b40eaf55a8bd98b56f8e2e7503028818e333fee8ec86cb7b050e48a5e0387 -AUX shiboken2-5.15.2-python311-fixups.patch 2059 BLAKE2B 746cc4c4f6f29895fc4c4d6989c2d578099f5d071129cf7b8dc78fef8641d10f189b4acf9293ae178cafe196d16cfce21e4e9d85a1ff7c107e9fc611b1dfea50 SHA512 8407f2b0166f8c3aed9bef3ecc8efc6177066c4a6148b8ff942f29b3e95752f15697a8447a58e51410d6982900e9e924d38be2a8857d7f15876badddbc37b507 -AUX shiboken2-5.15.2-python311.patch 4606 BLAKE2B 40cc608b4dd5eb305809e2cd2fe2908e8f5a47dcf2a2e6efc92cbcf26604c50cd63b007d4e49b061f017a6675c57542b897fa019820a72adc4c291f798f6f01e SHA512 8403955111e8d9f9f9d8795668ab6cb19d83e9a2434593a4578905a065f706c5a4fede2f17c9e9acd8d2f9d5d0e64a54b6e65f512b147ee91f152430ac171c5b AUX shiboken2-5.15.5-add-numpy-1.23-compatibility.patch 1095 BLAKE2B 8266da9d94c67ef09ae8f80b342fc99fddbfa1efbc30ccff5408ab9c9439b4b066942b0cc0cf4064c8162f1545c7ef1b4297fb0bb7c25e87eb131767c96bd561 SHA512 5c0f76aaf9920bde858e158fe87a353cc4c4e5ce0789b28f3d2d47c5d9461c18723e1b9bb2a4f833e783ba51c7d1f57752c0ddb9512c56b01ee44d6aaa10dd83 AUX shiboken2-5.15.5-python311-1.patch 3124 BLAKE2B 97e51ae8cc6866da7ac9cced4f1988eeb00c8bbf1e033766b6f926ec16ad1dab171f15060ddaaf541f1eadfcc0fb9251df2ea613c3c16a51467d0870b378dda1 SHA512 8d11c6cc737ac99aa748e9e100a8b559aa315142f587d77f4ecae8f5ac74e65ddfb3348631203a781d445177d423f0a83307d8121b5d35ba6065e0cbb52673a8 AUX shiboken2-5.15.5-python311-2.patch 2056 BLAKE2B c93be29e31b0fa6ce28a29de0dc4dba9635e86ba0103d77334e324a0d26f4c81c9ee6583bef146eb908fe290426eb462dd0a0f68e917ca5f3c4505742d673a0f SHA512 df6f185546180b3d27d8ed1ec1ccf90cdf3813f8928894717ad02e97f0c404b8dc00aed330e8b51aa7e04d5b3e621a15981fc911b2371542f9266c147fdf3828 diff --git a/dev-python/shiboken2/files/shiboken2-5.15.2-numpy-1.23.patch b/dev-python/shiboken2/files/shiboken2-5.15.2-numpy-1.23.patch deleted file mode 100644 index 6cd9feab800b..000000000000 --- a/dev-python/shiboken2/files/shiboken2-5.15.2-numpy-1.23.patch +++ /dev/null @@ -1,28 +0,0 @@ -Backport of https://code.qt.io/cgit/pyside/pyside-setup.git/commit/?id=1422cf4a7f277fb13fd209f24a90d6c02641497d. - -From 1422cf4a7f277fb13fd209f24a90d6c02641497d Mon Sep 17 00:00:00 2001 -From: Friedemann Kleint <Friedemann.Kleint@qt.io> -Date: Thu, 23 Jun 2022 10:44:01 +0200 -Subject: libshiboken: Fix build with numpy 1.23.0 - -Pick-to: 6.3 6.2 5.15 -Change-Id: I885c332d6c948820140946c73ae1926e88834143 -Reviewed-by: Christian Tismer <tismer@stackless.com> ---- a/libshiboken/sbknumpyarrayconverter.cpp -+++ b/libshiboken/sbknumpyarrayconverter.cpp -@@ -116,8 +116,13 @@ std::ostream &operator<<(std::ostream &str, PyArrayObject *o) - str << " NPY_ARRAY_NOTSWAPPED"; - if ((flags & NPY_ARRAY_WRITEABLE) != 0) - str << " NPY_ARRAY_WRITEABLE"; -- if ((flags & NPY_ARRAY_UPDATEIFCOPY) != 0) -- str << " NPY_ARRAY_UPDATEIFCOPY"; -+#if NPY_VERSION >= 0x00000010 // NPY_1_23_API_VERSION -+ if ((flags & NPY_ARRAY_WRITEBACKIFCOPY) != 0) -+ str << " NPY_ARRAY_WRITEBACKIFCOPY"; -+#else -+ if ((flags & NPY_ARRAY_UPDATEIFCOPY) != 0) -+ str << " NPY_ARRAY_UPDATEIFCOPY"; -+#endif - } else { - str << '0'; - } diff --git a/dev-python/shiboken2/files/shiboken2-5.15.2-python310.patch b/dev-python/shiboken2/files/shiboken2-5.15.2-python310.patch deleted file mode 100644 index c4f582ff71de..000000000000 --- a/dev-python/shiboken2/files/shiboken2-5.15.2-python310.patch +++ /dev/null @@ -1,104 +0,0 @@ -diff -upr libshiboken/pep384impl.cpp libshiboken/pep384impl.cpp ---- a/libshiboken/pep384impl.cpp 2020-11-11 14:51:30.000000000 +0200 -+++ b/libshiboken/pep384impl.cpp 2021-12-01 15:17:21.444888977 +0200 -@@ -751,14 +751,14 @@ _Pep_PrivateMangle(PyObject *self, PyObj - #endif // IS_PY2 - Shiboken::AutoDecRef privateobj(PyObject_GetAttr( - reinterpret_cast<PyObject *>(Py_TYPE(self)), Shiboken::PyMagicName::name())); --#ifndef Py_LIMITED_API -- return _Py_Mangle(privateobj, name); --#else -- // For some reason, _Py_Mangle is not in the Limited API. Why? -- size_t plen = PyUnicode_GET_LENGTH(privateobj); -+ -+ // PYSIDE-1436: _Py_Mangle is no longer exposed; implement it always. -+ // The rest of this function is our own implementation of _Py_Mangle. -+ // Please compare the original function in compile.c . -+ size_t plen = PyUnicode_GET_LENGTH(privateobj.object()); - /* Strip leading underscores from class name */ - size_t ipriv = 0; -- while (PyUnicode_READ_CHAR(privateobj, ipriv) == '_') -+ while (PyUnicode_READ_CHAR(privateobj.object(), ipriv) == '_') - ipriv++; - if (ipriv == plen) { - Py_INCREF(name); -@@ -787,7 +787,6 @@ _Pep_PrivateMangle(PyObject *self, PyObj - if (amount > big_stack) - free(resbuf); - return result; --#endif // else Py_LIMITED_API - } - - /***************************************************************************** -diff -upr libshiboken/pep384impl.h libshiboken/pep384impl.h ---- a/libshiboken/pep384impl.h 2020-11-11 14:51:30.000000000 +0200 -+++ b/libshiboken/pep384impl.h 2021-12-01 15:13:58.899521842 +0200 -@@ -40,6 +40,11 @@ - #ifndef PEP384IMPL_H - #define PEP384IMPL_H - -+// PYSIDE-1436: Adapt to Python 3.10 -+#if PY_VERSION_HEX < 0x030900A4 -+# define Py_SET_REFCNT(obj, refcnt) ((Py_REFCNT(obj) = (refcnt)), (void)0) -+#endif -+ - extern "C" - { - -@@ -327,7 +332,7 @@ LIBSHIBOKEN_API PyObject *PyRun_String(c - // But this is no problem as we check it's validity for every version. - - #define PYTHON_BUFFER_VERSION_COMPATIBLE (PY_VERSION_HEX >= 0x03030000 && \ -- PY_VERSION_HEX < 0x0309FFFF) -+ PY_VERSION_HEX < 0x030AFFFF) - #if !PYTHON_BUFFER_VERSION_COMPATIBLE - # error Please check the buffer compatibility for this python version! - #endif -diff -upr libshiboken/sbkstring.cpp libshiboken/sbkstring.cpp ---- a/libshiboken/sbkstring.cpp 2020-11-11 14:51:30.000000000 +0200 -+++ b/libshiboken/sbkstring.cpp 2021-12-01 15:14:47.703201473 +0200 -@@ -247,7 +247,7 @@ static void finalizeStaticStrings() - { - auto &set = staticStrings(); - for (PyObject *ob : set) { -- Py_REFCNT(ob) = 1; -+ Py_SET_REFCNT(ob, 1); - Py_DECREF(ob); - } - set.clear(); -diff -upr shibokenmodule/files.dir/shibokensupport/signature/mapping.py shibokenmodule/files.dir/shibokensupport/signature/mapping.py ---- a/shibokenmodule/files.dir/shibokensupport/signature/mapping.py 2020-11-11 14:51:30.000000000 +0200 -+++ b/shibokenmodule/files.dir/shibokensupport/signature/mapping.py 2021-12-01 15:15:14.560100869 +0200 -@@ -300,6 +300,7 @@ type_map.update({ - "zero(object)": None, - "zero(str)": "", - "zero(typing.Any)": None, -+ "zero(Any)": None, - }) - - type_map.update({ -diff -upr shibokenmodule/files.dir/shibokensupport/signature/parser.py shibokenmodule/files.dir/shibokensupport/signature/parser.py ---- a/shibokenmodule/files.dir/shibokensupport/signature/parser.py 2020-11-11 14:51:30.000000000 +0200 -+++ b/shibokenmodule/files.dir/shibokensupport/signature/parser.py 2021-12-01 15:25:43.267843740 +0200 -@@ -43,10 +43,11 @@ import sys - import re - import warnings - import types -+import typing - import keyword - import functools - from shibokensupport.signature.mapping import (type_map, update_mapping, -- namespace, typing, _NotCalled, ResultVariable, ArrayLikeVariable) -+ namespace, _NotCalled, ResultVariable, ArrayLikeVariable) - from shibokensupport.signature.lib.tool import (SimpleNamespace, - build_brace_pattern) - -@@ -222,7 +223,7 @@ def _resolve_arraytype(thing, line): - def to_string(thing): - if isinstance(thing, str): - return thing -- if hasattr(thing, "__name__"): -+ if hasattr(thing, "__name__") and thing.__module__ != "typing": - dot = "." in str(thing) - name = get_name(thing) - return thing.__module__ + "." + name if dot else name diff --git a/dev-python/shiboken2/files/shiboken2-5.15.2-python311-fixups.patch b/dev-python/shiboken2/files/shiboken2-5.15.2-python311-fixups.patch deleted file mode 100644 index 4ab435555591..000000000000 --- a/dev-python/shiboken2/files/shiboken2-5.15.2-python311-fixups.patch +++ /dev/null @@ -1,47 +0,0 @@ -The Fedora / upstream fixes (shiboken2-5.15.2-python311.patch) end up breaking -Python 3.8 compatibility (maybe 3.9 too, but didn't get that far). - -Wrap them with PY_VERSION_HEX for Python 3.11. ---- a/libshiboken/basewrapper.cpp -+++ b/libshiboken/basewrapper.cpp -@@ -366,7 +366,11 @@ SbkObjectType *SbkObject_TypeF(void) - static PyTypeObject *type = nullptr; - if (!type) { - type = reinterpret_cast<PyTypeObject *>(SbkType_FromSpec(&SbkObject_Type_spec)); -- Py_SET_TYPE(type, SbkObjectType_TypeF()); -+ #if PY_VERSION_HEX < 0x030B00A1 -+ Py_TYPE(type) = SbkObjectType_TypeF(); -+ #else -+ Py_SET_TYPE(type, SbkObjectType_TypeF()); -+ #endif - Py_INCREF(Py_TYPE(type)); - type->tp_weaklistoffset = offsetof(SbkObject, weakreflist); - type->tp_dictoffset = offsetof(SbkObject, ob_dict); -@@ -1110,7 +1114,11 @@ introduceWrapperType(PyObject *enclosingObject, - typeSpec->slots[0].pfunc = reinterpret_cast<void *>(baseType ? baseType : SbkObject_TypeF()); - - PyObject *heaptype = SbkType_FromSpecWithBases(typeSpec, baseTypes); -- Py_SET_TYPE(heaptype, SbkObjectType_TypeF()); -+ #if PY_VERSION_HEX < 0x030B00A1 -+ Py_TYPE(heaptype) = SbkObjectType_TypeF(); -+ #else -+ Py_SET_TYPE(heaptype, SbkObjectType_TypeF()); -+ #endif - Py_INCREF(Py_TYPE(heaptype)); - auto *type = reinterpret_cast<SbkObjectType *>(heaptype); - #if PY_VERSION_HEX < 0x03000000 ---- a/libshiboken/sbkenum.cpp -+++ b/libshiboken/sbkenum.cpp -@@ -741,7 +741,11 @@ newTypeWithName(const char *name, - copyNumberMethods(numbers_fromFlag, newslots, &idx); - newspec.slots = newslots; - auto *type = reinterpret_cast<PyTypeObject *>(SbkType_FromSpec(&newspec)); -- Py_SET_TYPE(type, SbkEnumType_TypeF()); -+ #if PY_VERSION_HEX < 0x030B00A1 -+ Py_TYPE(type) = SbkEnumType_TypeF(); -+ #else -+ Py_SET_TYPE(type, SbkEnumType_TypeF()); -+ #endif - - auto *enumType = reinterpret_cast<SbkEnumType *>(type); - PepType_SETP(enumType)->cppName = cppName; diff --git a/dev-python/shiboken2/files/shiboken2-5.15.2-python311.patch b/dev-python/shiboken2/files/shiboken2-5.15.2-python311.patch deleted file mode 100644 index 063861a1cb1a..000000000000 --- a/dev-python/shiboken2/files/shiboken2-5.15.2-python311.patch +++ /dev/null @@ -1,125 +0,0 @@ -https://src.fedoraproject.org/fork/pviktori/rpms/python-pyside2/raw/5da9902bd8732b49eb722d71f306d4ab197c84b8/f/python3.11.patch -https://code.qt.io/cgit/pyside/pyside-setup.git/patch/?id=52df3b8f64 -https://code.qt.io/cgit/pyside/pyside-setup.git/patch/?id=73adefe22f -https://code.qt.io/cgit/pyside/pyside-setup.git/patch/?id=a09a1db839 - -From b64ad27d8dfeeecaaa8a98051252a32c9d998df4 Mon Sep 17 00:00:00 2001 -From: Friedemann Kleint <Friedemann.Kleint@qt.io> -Date: Thu, 9 Jun 2022 16:50:41 +0200 -Subject: [PATCH] libshiboken: Fix a crash in Shiboken::Object::isValid() for - Python 3.11 - -The function is passed type objects for class methods, which caused -it to crash. - -The first clause did not catch this, and so it was cast to SbkObject -below. - -Add a type check to prevent this. - -Pick-to: 6.3 6.2 5.15 -Task-number: PYSIDE-1960 -Change-Id: Icfdd6fefb7156ac5961444bd5395109849a1d66e -Reviewed-by: Christian Tismer <tismer@stackless.com> -Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> ---- a/libshiboken/basewrapper.cpp -+++ b/libshiboken/basewrapper.cpp -@@ -1468,6 +1468,7 @@ bool setCppPointer(SbkObject *sbkObj, PyTypeObject *desiredType, void *cptr) - bool isValid(PyObject *pyObj) - { - if (!pyObj || pyObj == Py_None -+ || PyType_Check(pyObj) != 0 - || Py_TYPE(Py_TYPE(pyObj)) != SbkObjectType_TypeF()) { - return true; - } ---- a/libshiboken/basewrapper.cpp -+++ b/libshiboken/basewrapper.cpp -@@ -366,7 +366,7 @@ SbkObjectType *SbkObject_TypeF(void) - static PyTypeObject *type = nullptr; - if (!type) { - type = reinterpret_cast<PyTypeObject *>(SbkType_FromSpec(&SbkObject_Type_spec)); -- Py_TYPE(type) = SbkObjectType_TypeF(); -+ Py_SET_TYPE(type, SbkObjectType_TypeF()); - Py_INCREF(Py_TYPE(type)); - type->tp_weaklistoffset = offsetof(SbkObject, weakreflist); - type->tp_dictoffset = offsetof(SbkObject, ob_dict); -@@ -1110,7 +1110,7 @@ introduceWrapperType(PyObject *enclosingObject, - typeSpec->slots[0].pfunc = reinterpret_cast<void *>(baseType ? baseType : SbkObject_TypeF()); - - PyObject *heaptype = SbkType_FromSpecWithBases(typeSpec, baseTypes); -- Py_TYPE(heaptype) = SbkObjectType_TypeF(); -+ Py_SET_TYPE(heaptype, SbkObjectType_TypeF()); - Py_INCREF(Py_TYPE(heaptype)); - auto *type = reinterpret_cast<SbkObjectType *>(heaptype); - #if PY_VERSION_HEX < 0x03000000 ---- a/libshiboken/sbkenum.cpp -+++ b/libshiboken/sbkenum.cpp -@@ -741,7 +741,7 @@ newTypeWithName(const char *name, - copyNumberMethods(numbers_fromFlag, newslots, &idx); - newspec.slots = newslots; - auto *type = reinterpret_cast<PyTypeObject *>(SbkType_FromSpec(&newspec)); -- Py_TYPE(type) = SbkEnumType_TypeF(); -+ Py_SET_TYPE(type, SbkEnumType_TypeF()); - - auto *enumType = reinterpret_cast<SbkEnumType *>(type); - PepType_SETP(enumType)->cppName = cppName; -From a09a1db8391243e6bb290ee66bb6e3afbb114c61 Mon Sep 17 00:00:00 2001 -From: Friedemann Kleint <Friedemann.Kleint@qt.io> -Date: Fri, 24 Jun 2022 09:22:01 +0200 -Subject: libshiboken: Fix crashes with static strings in Python 3.11 - -In Python 3.11, some strings come with a refcount above decimal -1000000000, apparently indicating that they are interned. Replace the -mechanism by PyUnicode_InternFromString(). - -Task-number: PYSIDE-1960 -Pick-to: 6.3 6.2 5.15 -Change-Id: I6436afee351f89da5814b5d6bc76970b1b508168 -Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> -Reviewed-by: Christian Tismer <tismer@stackless.com> -Upstream: https://code.qt.io/cgit/pyside/pyside-setup.git/commit/?id=a09a1db8391243e6bb290ee66bb6e3afbb114c61 - ---- a/libshiboken/sbkstring.cpp -+++ b/libshiboken/sbkstring.cpp -@@ -5,8 +5,14 @@ - #include "sbkstaticstrings_p.h" - #include "autodecref.h" - --#include <vector> --#include <unordered_set> -+#if PY_VERSION_HEX >= 0x030B0000 || defined(Py_LIMITED_API) -+# define USE_INTERN_STRINGS -+#endif -+ -+#ifndef USE_INTERN_STRINGS -+# include <vector> -+# include <unordered_set> -+#endif - - namespace Shiboken - { -@@ -179,6 +185,13 @@ Py_ssize_t len(PyObject *str) - // PyObject *attr = PyObject_GetAttr(obj, name()); - // - -+#ifdef USE_INTERN_STRINGS -+PyObject *createStaticString(const char *str) -+{ -+ return PyUnicode_InternFromString(str); -+} -+#else -+ - using StaticStrings = std::unordered_set<PyObject *>; - - static void finalizeStaticStrings(); // forward -@@ -225,6 +238,8 @@ PyObject *createStaticString(const char *str) - return result; - } - -+#endif // !USE_INTERN_STRINGS -+ - /////////////////////////////////////////////////////////////////////// - // - // PYSIDE-1019: Helper function for snake_case vs. camelCase names -cgit v1.2.1 - diff --git a/dev-python/spyder-notebook/Manifest b/dev-python/spyder-notebook/Manifest new file mode 100644 index 000000000000..13e217448cd1 --- /dev/null +++ b/dev-python/spyder-notebook/Manifest @@ -0,0 +1,3 @@ +DIST spyder-notebook-0.4.0.gh.tar.gz 3869758 BLAKE2B db809e9a2b93206ba0236e825b7d8f612efe552be5b9bbcdd60021ee143f16674e05847834bbd63a801c32e2264e5335685887aad0519033a315b3c2c0fcd3d6 SHA512 ab97429d276af815411b9a63bc04e291e5ed596bb9c551be8161e71761fc21a61b896b73ec1d93c9a2b4561ba228b93ac86f3b542a515cbfc651e9e218f6f778 +EBUILD spyder-notebook-0.4.0.ebuild 1244 BLAKE2B 86c66de910ff86ac170f8d6b894878ade3c0cf5f2482213f773d28c978b1ba6a6e4e386f4be859c1bda821851943ed4bcf4cd4cd4180cfe20eb91401cc1b87ae SHA512 79eeb301f1bfc4025091c13cecc77d890374d4babbd7d15ad30699dd7a88cb1944387accc099085c458c6e6970f2df6b2208470bf68454cee367ec4c74b89ea7 +MISC metadata.xml 361 BLAKE2B 0dd7289b209a7df06e5cb73dc020a786daa17df5776a5c75d89e33ae88625735fea7680014b1210c3b1ef28bd109bec4d29888c3a381771eb6f1eb34c6383642 SHA512 d3f9634673f762f77b79bdd9612d75cb8e56b8adf5996240469c61c86d6ea5a4c1ecb5443a956a549dbeaa95314487f5a51c0075fe5a9f1bcdf96685388a0d93 diff --git a/dev-python/spyder-notebook/metadata.xml b/dev-python/spyder-notebook/metadata.xml new file mode 100644 index 000000000000..32373b5ff3a3 --- /dev/null +++ b/dev-python/spyder-notebook/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>andrewammerlaan@gentoo.org</email> + <name>Andrew Ammerlaan</name> + </maintainer> + <upstream> + <remote-id type="pypi">spyder-notebook</remote-id> + </upstream> + <stabilize-allarches/> +</pkgmetadata> diff --git a/dev-python/spyder-notebook/spyder-notebook-0.4.0.ebuild b/dev-python/spyder-notebook/spyder-notebook-0.4.0.ebuild new file mode 100644 index 000000000000..4d32ebced7fc --- /dev/null +++ b/dev-python/spyder-notebook/spyder-notebook-0.4.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +# ERROR: Server components are missing!! Please run 'python setup.py sdist' first. +# DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 virtualx + +DESCRIPTION="Jupyter notebook integration with Spyder" +HOMEPAGE="https://github.com/spyder-ide/spyder-notebook" +SRC_URI="https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="test" + +RDEPEND=" + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/jupyter_core[${PYTHON_USEDEP}] + dev-python/nbformat[${PYTHON_USEDEP}] + >=dev-python/notebook-4.3[${PYTHON_USEDEP}] + dev-python/qdarkstyle[${PYTHON_USEDEP}] + dev-python/QtPy[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + >=dev-python/spyder-5.3.3[${PYTHON_USEDEP}] + <dev-python/spyder-6[${PYTHON_USEDEP}] + dev-python/traitlets[${PYTHON_USEDEP}] +" + +BDEPEND="test? ( + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-qt[${PYTHON_USEDEP}] +)" + +DOCS=( "README.md" "RELEASE.md" "CHANGELOG.md" "doc/example.gif" ) + +distutils_enable_tests pytest + +python_test() { + virtx epytest +} diff --git a/dev-python/spyder/Manifest b/dev-python/spyder/Manifest index 10b7b5589f8c..0cd9f6ddfc62 100644 --- a/dev-python/spyder/Manifest +++ b/dev-python/spyder/Manifest @@ -2,5 +2,5 @@ AUX spyder-5.0.0-build.patch 1147 BLAKE2B 68e62f6bd7a021d82f1da8d86c16e2289faac7 AUX spyder-5.2.0-doc-theme-renamed.patch 356 BLAKE2B 666ba289498026ab0679776b8af8f6efe7561a9a736ff19b32eaefcac87d142a55a055556c09f94373869711e81a35ef90832fbfe68acc6cee0f2023742de0be SHA512 396944e6f242bf3b6a27ac9d47f0cc07fd99a55c50f174dbee2fccd1f0b3edf355347bf6291943c3003f55996304d96ce2d2fe45ae7c4291e8425bff73a3a861 DIST spyder-5.3.3.gh.tar.gz 24443628 BLAKE2B 767b3e1d59ce650d2df0d229d94eef53bc4c7b52f5d40fd62748efeb3a756a773110aa17442403a1b37777dd39fc367164ad54cd8f767d4311caa8d3e8bf05da SHA512 7d521f8367953849233538cbfd74f1fd98da87e69dbed8076718e81cd09ae66aca84523c4ecdf0e8aeb60644791754df19f09dd244ce11e3f7decc97bb050e02 DIST spyder-docs-9156f446a9225446a2a752ecb669cc3db30094a8.gh.tar.gz 90029977 BLAKE2B 7254da77f6d9dd24d9feb8af684d064bb92400acf1561f8a2b9423c63984c22fb3ab384174f87525c3cdb0612590fb97010e9cd1a21ae1e36ffc6d6f9babe973 SHA512 1a9609baea12059fad1e65b84c1db98e15cb3d65e1c60660a1f1ebeab5723b118d6e995a4e4219391d8aafb640da20e2a4984746e9c66893dd0cef2ea3f082f9 -EBUILD spyder-5.3.3.ebuild 7521 BLAKE2B af428ebb8d124e18968cd83eb7caeb8f39560381a26dd6e344aa5cc68c4de730c142f8be58d3be72832fe8a9f882754e49b917e16e4f61659e814024f840e359 SHA512 f0590eb53ad79f8e70882dd16f3ef8536d140f58ed9c88d4fc5e8cb5cd17e4da9db24e3f4f1209474328d2c1fc89bc1994ecfd12b9a050b24dc546647d7c8640 +EBUILD spyder-5.3.3.ebuild 7461 BLAKE2B 52a0f612aa4ee692b2579c00822bc3df6405571af44385c64181b31ab82f31e3d6ef5885b7aaef3612843845a7e946b67bc4c11e47a19b193833726b28b3838a SHA512 f8401ca0a8db3aa35b80b83a5bb20eadea27a853715ac0946f59785026f36cb18aa65633c2653dea0e0b85ddc4d4d6ab78fa8a2f8a5c6089bdd1a1cd42f6d382 MISC metadata.xml 1251 BLAKE2B 81f007eda89ddc66841771a949f76da6f015b49bfbf27b47a7557ab70f1241087f06a5c6675ea8da6aa871937cd705aea888989b468ac11d33420cbe34a27f27 SHA512 24977ed6053ad254748ba4c368bed7f8428d1e5928b586f57e48c01733934894fb1f94df077a71fcd7a00e891e24b776b9e57279f90c2f94728f709a94a90121 diff --git a/dev-python/spyder/spyder-5.3.3.ebuild b/dev-python/spyder/spyder-5.3.3.ebuild index 7cacaf6d3cd9..6ed0d7ebe359 100644 --- a/dev-python/spyder/spyder-5.3.3.ebuild +++ b/dev-python/spyder/spyder-5.3.3.ebuild @@ -183,10 +183,9 @@ pkg_postinst() { optfeature "Vim key bindings" dev-python/spyder-vim optfeature "Unittest support" dev-python/spyder-unittest optfeature "System terminal inside spyder" dev-python/spyder-terminal + optfeature "Jupyter notebook support" dev-python/spyder-notebook # spyder-memory-profiler is not compatible with spyder-5.2+ yet # optfeature "The memory profiler plugin" dev-python/spyder-memory-profiler - # spyder-notebook is not compatible with spyder-5.2+ yet - # optfeature "Jupyter notebook support" dev-python/spyder-notebook # spyder-reports not yet updated to >=spyder-4.0.0 # optfeature "Markdown reports using Pweave" dev-python/spyder-reports # Plugins with no release yet: |