[gentoo-commits] repo/gentoo:master commit in: dev-python/nbformat/files/, dev-python/nbformat/

2024-04-02 Thread Michał Górny
commit: c52ef81c670d0d53f9fc5f42e3a28fe78ccdf27d
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Apr  2 13:52:43 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Apr  2 13:53:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c52ef81c

dev-python/nbformat: Fix hardcoded version number

Put the correct version number into the patch, to solve the problem
until the revbump is keyworded and stabilized.

Closes: https://bugs.gentoo.org/928427
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/nbformat/files/nbformat-5.7.1-no-node.patch  | 2 +-
 .../nbformat/{nbformat-5.10.3.ebuild => nbformat-5.10.3-r1.ebuild}  | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/nbformat/files/nbformat-5.7.1-no-node.patch 
b/dev-python/nbformat/files/nbformat-5.7.1-no-node.patch
index e88cc8cdd522..dc2bfb7c0ab7 100644
--- a/dev-python/nbformat/files/nbformat-5.7.1-no-node.patch
+++ b/dev-python/nbformat/files/nbformat-5.7.1-no-node.patch
@@ -11,7 +11,7 @@ index e30d156..97e57de 100644
  [project]
  name = "nbformat"
 -dynamic = ["version"]
-+version = "5.7.1"
++version = "5.10.3"
  description = "The Jupyter Notebook format"
  license = { file = "COPYING.md" }
  keywords = ["Interactive", "Interpreter", "Shell", "Web"]

diff --git a/dev-python/nbformat/nbformat-5.10.3.ebuild 
b/dev-python/nbformat/nbformat-5.10.3-r1.ebuild
similarity index 100%
rename from dev-python/nbformat/nbformat-5.10.3.ebuild
rename to dev-python/nbformat/nbformat-5.10.3-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: dev-python/nbformat/files/

2021-05-07 Thread Michał Górny
commit: ffe0537095c681208849a9638589c86901aa04f0
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Fri May  7 18:12:26 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri May  7 22:22:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffe05370

dev-python/nbformat: remove unused patch(es)

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/20724
Signed-off-by: Michał Górny  gentoo.org>

 .../files/nbformat-5.1.2-package-data.patch| 50 --
 1 file changed, 50 deletions(-)

diff --git a/dev-python/nbformat/files/nbformat-5.1.2-package-data.patch 
b/dev-python/nbformat/files/nbformat-5.1.2-package-data.patch
deleted file mode 100644
index 4fd1de2a942..000
--- a/dev-python/nbformat/files/nbformat-5.1.2-package-data.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From 6dc17e79be58c3cce66256eec2a565692cf95809 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
-Date: Fri, 22 Jan 2021 10:16:24 +0100
-Subject: [PATCH] Fix installing package_data when --build-base is set
-
-Fix package_data declarations in setup.py to associate every set
-of files with its bottommost package.  This is necessary for the 'build'
-command to install files correctly when --build-base is passed
-explicitly.  The all-files-for-top-package approach seems to work only
-incidentally.
-
-To reproduce the problem, try:
-
-setup.py build --build-base=build2
-
-and note that none of the data files were installed.

- setup.py | 16 +++-
- 1 file changed, 11 insertions(+), 5 deletions(-)
-
-diff --git a/setup.py b/setup.py
-index 22305d3..0a6aa45 100644
 a/setup.py
-+++ b/setup.py
-@@ -34,11 +34,17 @@ for d, _, _ in os.walk(pjoin(here, name)):
- packages.append(d[len(here)+1:].replace(os.path.sep, '.'))
- 
- package_data = {
--'nbformat' : [
--'corpus/*.txt'
--'tests/*.ipynb',
--'v3/nbformat.v3*.schema.json',
--'v4/nbformat.v4*.schema.json',
-+'nbformat.corpus' : [
-+'*.txt',
-+],
-+'nbformat.tests' : [
-+'*.ipynb',
-+],
-+'nbformat.v3' : [
-+'nbformat.v3*.schema.json',
-+],
-+'nbformat.v4' : [
-+'nbformat.v4*.schema.json',
- ],
- }
- 
--- 
-2.30.0
-