Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit c59622a

Browse files
author
Matthias Koeppe
committed
build/pkgs/sagemath*/spkg-src: Use build
1 parent 2b39b3d commit c59622a

File tree

9 files changed

+34
-9
lines changed

9 files changed

+34
-9
lines changed

build/pkgs/sage_conf/spkg-src

+4-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,7 @@ fi
1616
set -e
1717

1818
cd pkgs/sage-conf_pypi
19-
python3 -u setup.py --no-user-cfg sdist --dist-dir "$SAGE_DISTFILES"
19+
# Get rid of old *.egg-info/SOURCES.txt
20+
rm -Rf *.egg-info
21+
22+
python3 -m build --sdist --no-isolation --outdir "$SAGE_DISTFILES"

build/pkgs/sage_docbuild/spkg-src

+4-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@ set -e
1818
cd build/pkgs/sage_docbuild
1919

2020
cd src
21-
python3 -u setup.py --no-user-cfg sdist --dist-dir "$SAGE_DISTFILES"
21+
# Get rid of old *.egg-info/SOURCES.txt
22+
rm -Rf *.egg-info
23+
24+
python3 -m build --sdist --no-isolation --outdir "$SAGE_DISTFILES"

build/pkgs/sage_setup/spkg-src

+4-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@ set -e
1818
cd build/pkgs/sage_setup
1919

2020
cd src
21-
python3 -u setup.py --no-user-cfg sdist --dist-dir "$SAGE_DISTFILES"
21+
# Get rid of old *.egg-info/SOURCES.txt
22+
rm -Rf *.egg-info
23+
24+
python3 -m build --sdist --no-isolation --outdir "$SAGE_DISTFILES"

build/pkgs/sage_sws2rst/spkg-src

+4-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@ set -e
1818
cd build/pkgs/sage_sws2rst
1919

2020
cd src
21-
python3 -u setup.py --no-user-cfg sdist --dist-dir "$SAGE_DISTFILES"
21+
# Get rid of old *.egg-info/SOURCES.txt
22+
rm -Rf *.egg-info
23+
24+
python3 -m build --sdist --no-isolation --outdir "$SAGE_DISTFILES"

build/pkgs/sagelib/spkg-src

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ cd "$SAGE_ROOT"/build/pkgs/sagelib
1919

2020
cd src
2121

22-
# Get rid of old sagemath_standard.egg-info/SOURCES.txt
22+
# Get rid of old *.egg-info/SOURCES.txt
2323
rm -Rf *.egg-info
2424

2525
python3 -m build --sdist --no-isolation --outdir "$SAGE_DISTFILES"

build/pkgs/sagemath_categories/spkg-src

+4-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@ set -e
1818
cd build/pkgs/sagemath_categories
1919

2020
cd src
21-
python3 -u setup.py --no-user-cfg sdist --dist-dir "$SAGE_DISTFILES"
21+
# Get rid of old *.egg-info/SOURCES.txt
22+
rm -Rf *.egg-info
23+
24+
python3 -m build --sdist --no-isolation --outdir "$SAGE_DISTFILES"

build/pkgs/sagemath_environment/spkg-src

+4-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@ set -e
1818
cd build/pkgs/sagemath_environment
1919

2020
cd src
21-
python3 -u setup.py --no-user-cfg sdist --dist-dir "$SAGE_DISTFILES"
21+
# Get rid of old *.egg-info/SOURCES.txt
22+
rm -Rf *.egg-info
23+
24+
python3 -m build --sdist --no-isolation --outdir "$SAGE_DISTFILES"

build/pkgs/sagemath_objects/spkg-src

+5-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,8 @@ set -e
1818
cd build/pkgs/sagemath_objects
1919

2020
cd src
21-
python3 -u setup.py --no-user-cfg sdist --dist-dir "$SAGE_DISTFILES"
21+
22+
# Get rid of old *.egg-info/SOURCES.txt
23+
rm -Rf *.egg-info
24+
25+
python3 -m build --sdist --no-isolation --outdir "$SAGE_DISTFILES"

build/pkgs/sagemath_repl/spkg-src

+4-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@ set -e
1818
cd build/pkgs/sagemath_repl
1919

2020
cd src
21-
python3 -u setup.py --no-user-cfg sdist --dist-dir "$SAGE_DISTFILES"
21+
# Get rid of old *.egg-info/SOURCES.txt
22+
rm -Rf *.egg-info
23+
24+
python3 -m build --sdist --no-isolation --outdir "$SAGE_DISTFILES"

0 commit comments

Comments
 (0)