forked from sagemath/sage
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
164 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
src/README.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../sagelib/bootstrap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
$(SAGE_ROOT)/pkgs/sagemath-planarity/pyproject.toml $(SAGE_ROOT)/pkgs/sagemath-planarity/MANIFEST.in planarity cysignals boost_cropped | $(PYTHON_TOOLCHAIN) sage_setup sagemath_environment cython pkgconfig $(PYTHON) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
tox sagemath_repl sagemath_graphs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
src/VERSION.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../sagemath_objects/spkg-check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../sagemath_bliss/spkg-install.in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# Script to prepare an sdist tarball for sagemath-planarity | ||
# This script is not used during build. | ||
# | ||
# HOW TO MAKE THE TARBALL: | ||
# ./sage --sh build/pkgs/sagemath_planarity/spkg-src | ||
|
||
if [ -z "$SAGE_ROOT" ] ; then | ||
echo >&2 "Error - SAGE_ROOT undefined ... exiting" | ||
echo >&2 "Maybe run 'sage -sh'?" | ||
exit 1 | ||
fi | ||
|
||
# Exit on failure | ||
set -e | ||
|
||
cd build/pkgs/sagemath_planarity | ||
|
||
cd src | ||
# Get rid of old *.egg-info/SOURCES.txt | ||
rm -Rf *.egg-info | ||
|
||
python3 -m build --sdist --no-isolation --skip-dependency-check --outdir "$SAGE_DISTFILES" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../pkgs/sagemath-planarity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
standard |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# This file is updated on every release by the sage-update-version script | ||
passagemath-planarity ~= 10.4.58.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
prune sage | ||
|
||
include VERSION.txt | ||
|
||
global-exclude *.c | ||
global-exclude *.cpp | ||
|
||
include sage/graphs/planarity.p* | ||
|
||
global-exclude all__sagemath_*.* | ||
global-include all__sagemath_planarity.py | ||
|
||
global-exclude __pycache__ | ||
global-exclude *.py[co] | ||
global-exclude *.bak | ||
global-exclude *.so | ||
global-exclude *~ | ||
prune .tox | ||
prune build | ||
prune dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
======================================================================== | ||
passagemath: Graph planarity with the edge addition planarity suite | ||
======================================================================== | ||
|
||
About SageMath | ||
-------------- | ||
|
||
"Creating a Viable Open Source Alternative to | ||
Magma, Maple, Mathematica, and MATLAB" | ||
|
||
Copyright (C) 2005-2024 The Sage Development Team | ||
|
||
https://www.sagemath.org | ||
|
||
SageMath fully supports all major Linux distributions, recent versions of | ||
macOS, and Windows (Windows Subsystem for Linux). | ||
|
||
See https://doc.sagemath.org/html/en/installation/index.html | ||
for general installation instructions. | ||
|
||
|
||
About this pip-installable distribution | ||
--------------------------------------- | ||
|
||
This pip-installable distribution ``passagemath-planarity`` is a small | ||
optional distribution for use with ``passagemath-graphs``. | ||
|
||
It provides a Cython interface to the | ||
`Edge Addition Planarity Suite <https://github.com/graph-algorithms/edge-addition-planarity-suite/>`_ | ||
by John Boyer. | ||
|
||
|
||
What is included | ||
---------------- | ||
|
||
- `Cython interface to Boyer's planarity algorithm <https://doc.sagemath.org/html/en/reference/graphs/sage/graphs/planarity.html>`_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
10.4.58 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
include(`sage_spkg_versions_toml.m4')dnl' -*- conf-toml -*- | ||
[build-system] | ||
# Minimum requirements for the build system to execute. | ||
requires = [ | ||
SPKG_INSTALL_REQUIRES_setuptools | ||
SPKG_INSTALL_REQUIRES_sage_setup | ||
SPKG_INSTALL_REQUIRES_sagemath_environment | ||
SPKG_INSTALL_REQUIRES_cython | ||
SPKG_INSTALL_REQUIRES_cysignals | ||
SPKG_INSTALL_REQUIRES_pkgconfig | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "passagemath-planarity" | ||
description = "passagemath: Graph planarity with the edge addition planarity suite" | ||
dependencies = [ | ||
'passagemath-graphs', | ||
] | ||
dynamic = ["version"] | ||
include(`pyproject_toml_metadata.m4')dnl' | ||
|
||
[project.readme] | ||
file = "README.rst" | ||
content-type = "text/x-rst" | ||
|
||
[project.optional-dependencies] | ||
test = ["passagemath-repl"] | ||
|
||
[tool.setuptools] | ||
include-package-data = false | ||
|
||
[tool.setuptools.dynamic] | ||
version = {file = ["VERSION.txt"]} | ||
|
||
[external] | ||
# External dependencies in the format proposed by https://peps.python.org/pep-0725 | ||
build-requires = [ | ||
"virtual:compiler/c", | ||
"virtual:compiler/cpp", | ||
"pkg:generic/pkg-config", | ||
] | ||
|
||
host-requires = [ | ||
"pkg:generic/planarity", | ||
] | ||
|
||
dependencies = [ | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
include(`sage_spkg_versions.m4')dnl | ||
dnl Same as setup.cfg.m4 install_requires; FIXME: should pin to built wheels. | ||
SPKG_INSTALL_REQUIRES_cysignals |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Cython==esyscmd(`printf $(sed "s/[.]p.*//;" ../cython/package-version.txt)') | ||
sagemath-standard==esyscmd(`printf $(sed "s/[.]p.*//;" ../sagelib/package-version.txt)') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../src/sage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env python | ||
|
||
# PEP 517 builds do not have . in sys.path | ||
import os | ||
import sys | ||
sys.path.insert(0, os.path.dirname(__file__)) | ||
|
||
from sage_setup import sage_setup | ||
|
||
sage_setup(['sagemath-planarity'], | ||
spkgs=['planarity']) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# sage_setup: distribution = sagemath-planarity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# sage_setup: distribution = sagemath-planarity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters