summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2021-05-07 20:12:26 +0200
committerMichał Górny <mgorny@gentoo.org>2021-05-08 00:22:28 +0200
commitffe0537095c681208849a9638589c86901aa04f0 (patch)
treec4a494a2aa438f357af279ef5be74a690eaba60a /dev-python/nbformat
parentdev-python/google-api-python-client: remove unused patch(es) (diff)
downloadgentoo-ffe0537095c681208849a9638589c86901aa04f0.tar.gz
gentoo-ffe0537095c681208849a9638589c86901aa04f0.tar.bz2
gentoo-ffe0537095c681208849a9638589c86901aa04f0.zip
dev-python/nbformat: remove unused patch(es)
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/20724 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/nbformat')
-rw-r--r--dev-python/nbformat/files/nbformat-5.1.2-package-data.patch50
1 files changed, 0 insertions, 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 4fd1de2a942b..000000000000
--- 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?= <mgorny@gentoo.org>
-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
-