Skip to content

Commit 3d2a141

Browse files
author
Release Manager
committed
gh-36015: pkgs/sagemath*: Exclude all__*.py files of other distributions <!-- ^^^^^ Please provide a concise, informative and self-explanatory title. Don't put issue numbers in there, do this in the PR body below. For example, instead of "Fixes #1234" use "Introduce new method to calculate 1+1" --> <!-- Describe your changes here in detail --> <!-- Why is this change required? What problem does it solve? --> Fixes #35661 (comment) <!-- If this PR resolves an open issue, please link to it here. For example "Fixes #12345". --> <!-- If your change requires a documentation PR, please link it appropriately. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!-- Feel free to remove irrelevant items. --> - [x] The title is concise, informative, and self-explanatory. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - #12345: short description why this is a dependency - #34567: ... --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: #36015 Reported by: Matthias Köppe Reviewer(s): François Bissey, Matthias Köppe
2 parents 1329316 + e57dacd commit 3d2a141

File tree

12 files changed

+53
-21
lines changed

12 files changed

+53
-21
lines changed

pkgs/sagemath-bliss/MANIFEST.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
global-include all__sagemath_bliss.py
2-
31
include VERSION.txt
42

53
graft sage/graphs/bliss_cpp
64

75
global-exclude *.c
86
global-exclude *.cpp
97

8+
global-exclude all__sagemath_*.*
9+
global-include all__sagemath_bliss.py
10+
1011
global-exclude __pycache__
1112
global-exclude *.py[co]
1213
global-exclude *.bak

pkgs/sagemath-categories/MANIFEST.in.m4

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ prune sage
33

44
include VERSION.txt
55

6-
global-include all__sagemath_categories.py
76
graft sage/categories
87
# Exclude what is already shipped in sagemath-objects
98
exclude sage/categories/action.*
@@ -42,6 +41,9 @@ graft sage/typeset # dep of sage.categories.tensor
4241
global-exclude *.c
4342
global-exclude *.cpp
4443

44+
global-exclude all__sagemath_*.*
45+
global-include all__sagemath_categories.py
46+
4547
global-exclude __pycache__
4648
global-exclude *.py[co]
4749
global-exclude *.bak

pkgs/sagemath-coxeter3/MANIFEST.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
prune sage
22

3-
global-include all__sagemath_coxeter3.py
4-
53
include VERSION.txt
64

75
graft sage/libs/coxeter3
86

97
global-exclude *.c
108
global-exclude *.cpp
119

10+
global-exclude all__sagemath_*.*
11+
global-include all__sagemath_coxeter3.py
12+
1213
global-exclude __pycache__
1314
global-exclude *.py[co]
1415
global-exclude *.bak

pkgs/sagemath-environment/MANIFEST.in

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
prune sage
22

3-
global-include all__sagemath_environment.py
4-
53
include sage/env.py
64
include sage/version.py
75
include sage/misc/package.py
@@ -12,4 +10,14 @@ graft sage/features
1210

1311
include VERSION.txt
1412

13+
global-exclude all__*.py
14+
global-include all__sagemath_environment.py
15+
16+
global-exclude __pycache__
1517
global-exclude *.py[co]
18+
global-exclude *.bak
19+
global-exclude *.so
20+
global-exclude *~
21+
prune .tox
22+
prune build
23+
prune dist

pkgs/sagemath-mcqd/MANIFEST.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
prune sage
22

3-
global-include all__sagemath_mcqd.py
4-
53
include VERSION.txt
64

75
include sage/graphs/mcqd.p*
86

97
global-exclude *.c
108
global-exclude *.cpp
119

10+
global-exclude all__sagemath_*.*
11+
global-include all__sagemath_mcqd.py
12+
1213
global-exclude __pycache__
1314
global-exclude *.py[co]
1415
global-exclude *.bak

pkgs/sagemath-meataxe/MANIFEST.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
prune sage
22

3-
global-include all__sagemath_meataxe.py
4-
53
include VERSION.txt
64

75
include sage/libs/meataxe.p*
@@ -10,6 +8,9 @@ include sage/matrix/matrix_gfpn_dense.p*
108
global-exclude *.c
119
global-exclude *.cpp
1210

11+
global-exclude all__sagemath_*.*
12+
global-include all__sagemath_meataxe.py
13+
1314
global-exclude __pycache__
1415
global-exclude *.py[co]
1516
global-exclude *.bak

pkgs/sagemath-objects/MANIFEST.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ graft sage/cpython
33

44
include VERSION.txt
55

6-
global-include all__sagemath_objects.py
7-
86
graft sage/structure
97
include sage/categories/action.*
108
include sage/categories/algebra_functor.*
@@ -85,6 +83,8 @@ graft sage/libs/gmp
8583
include sage/misc/misc.* # some_tuples used in sage.misc.sage_unittest
8684
include sage/misc/timing.p* # walltime, cputime used in sage.doctest
8785

86+
global-exclude all__*.py
87+
global-include all__sagemath_objects.py
8888

8989
global-exclude *.c
9090
global-exclude *.cpp

pkgs/sagemath-repl/MANIFEST.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
prune sage
22

3-
global-include all__sagemath_repl.py
4-
53
graft sage/doctest
64
graft sage/repl
75
include sage/misc/banner.py
@@ -11,6 +9,9 @@ include sage/misc/sage_eval.py
119

1210
include VERSION.txt
1311

12+
global-exclude all__*.py
13+
global-include all__sagemath_repl.py
14+
1415
global-exclude __pycache__
1516
global-exclude *.py[co]
1617
global-exclude *.bak

pkgs/sagemath-sirocco/MANIFEST.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
global-include all__sagemath_sirocco.py
2-
31
include VERSION.txt
42

53
global-exclude *.c
64
global-exclude *.cpp
75

6+
global-exclude all__sagemath_*.*
7+
global-include all__sagemath_sirocco.py
8+
89
global-exclude __pycache__
910
global-exclude *.py[co]
1011
global-exclude *.bak

pkgs/sagemath-tdlib/MANIFEST.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
global-include all__sagemath_tdlib.py
2-
31
include VERSION.txt
42

53
global-exclude *.c
64
global-exclude *.cpp
75

86
include sage/graphs/graph_decompositions/sage_tdlib.cpp
97

8+
global-exclude all__sagemath_*.*
9+
global-include all__sagemath_tdlib.py
10+
1011
global-exclude __pycache__
1112
global-exclude *.py[co]
1213
global-exclude *.bak

0 commit comments

Comments
 (0)