mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 09:19:15 -04:00
math/py-networkx: Update to 3.2
This commit is contained in:
parent
70db053039
commit
9bccc8a106
3 changed files with 10 additions and 55 deletions
|
@ -1,6 +1,5 @@
|
||||||
PORTNAME= networkx
|
PORTNAME= networkx
|
||||||
DISTVERSION= 3.1
|
DISTVERSION= 3.2
|
||||||
PORTREVISION= 1
|
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
CATEGORIES= math python
|
CATEGORIES= math python
|
||||||
MASTER_SITES= PYPI
|
MASTER_SITES= PYPI
|
||||||
|
@ -12,15 +11,18 @@ WWW= https://networkx.github.io/
|
||||||
|
|
||||||
LICENSE= BSD3CLAUSE
|
LICENSE= BSD3CLAUSE
|
||||||
|
|
||||||
RUN_DEPENDS:= ${PYTHON_PKGNAMEPREFIX}decorator>=4.3.0:devel/py-decorator@${PY_FLAVOR}
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
|
||||||
|
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
|
||||||
|
#RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}decorator>=4.3.0:devel/py-decorator@${PY_FLAVOR}
|
||||||
|
|
||||||
USES= cpe python shebangfix
|
USES= cpe python shebangfix
|
||||||
USE_PYTHON= autoplist concurrent distutils pytest
|
USE_PYTHON= autoplist concurrent pep517 pytest
|
||||||
|
|
||||||
SHEBANG_GLOB= *.py
|
SHEBANG_GLOB= *.py
|
||||||
NO_ARCH= yes
|
NO_ARCH= yes
|
||||||
CPE_VENDOR= python
|
CPE_VENDOR= python
|
||||||
|
|
||||||
PLIST_SUB+= PYTHON_MAJOR_VER=${PYTHON_MAJOR_VER}
|
#PLIST_SUB+= PYTHON_MAJOR_VER=${PYTHON_MAJOR_VER}
|
||||||
|
|
||||||
OPTIONS_DEFINE= EXAMPLES GDAL LXML PANDAS PYDOT YAML
|
OPTIONS_DEFINE= EXAMPLES GDAL LXML PANDAS PYDOT YAML
|
||||||
OPTIONS_GROUP= MATRIX RENDER
|
OPTIONS_GROUP= MATRIX RENDER
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1681555373
|
TIMESTAMP = 1698752274
|
||||||
SHA256 (networkx-3.1.tar.gz) = de346335408f84de0eada6ff9fafafff9bcda11f0a0dfaa931133debb146ab61
|
SHA256 (networkx-3.2.tar.gz) = bda29edf392d9bfa5602034c767d28549214ec45f620081f0b74dc036a1fbbc1
|
||||||
SIZE (networkx-3.1.tar.gz) = 2021691
|
SIZE (networkx-3.2.tar.gz) = 2072917
|
||||||
|
|
|
@ -1,47 +0,0 @@
|
||||||
--- setup.py.orig 2023-02-20 13:03:51 UTC
|
|
||||||
+++ setup.py
|
|
||||||
@@ -92,36 +92,6 @@ packages = [
|
|
||||||
"networkx.utils",
|
|
||||||
]
|
|
||||||
|
|
||||||
-docdirbase = "share/doc/networkx-%s" % version
|
|
||||||
-# add basic documentation
|
|
||||||
-data = [(docdirbase, glob("*.txt"))]
|
|
||||||
-# add examples
|
|
||||||
-for d in [
|
|
||||||
- ".",
|
|
||||||
- "advanced",
|
|
||||||
- "algorithms",
|
|
||||||
- "basic",
|
|
||||||
- "3d_drawing",
|
|
||||||
- "drawing",
|
|
||||||
- "graph",
|
|
||||||
- "javascript",
|
|
||||||
- "jit",
|
|
||||||
- "pygraphviz",
|
|
||||||
- "subclass",
|
|
||||||
-]:
|
|
||||||
- dd = os.path.join(docdirbase, "examples", d)
|
|
||||||
- pp = os.path.join("examples", d)
|
|
||||||
- data.append((dd, glob(os.path.join(pp, "*.txt"))))
|
|
||||||
- data.append((dd, glob(os.path.join(pp, "*.py"))))
|
|
||||||
- data.append((dd, glob(os.path.join(pp, "*.bz2"))))
|
|
||||||
- data.append((dd, glob(os.path.join(pp, "*.gz"))))
|
|
||||||
- data.append((dd, glob(os.path.join(pp, "*.mbox"))))
|
|
||||||
- data.append((dd, glob(os.path.join(pp, "*.edgelist"))))
|
|
||||||
-# add js force examples
|
|
||||||
-dd = os.path.join(docdirbase, "examples", "javascript/force")
|
|
||||||
-pp = os.path.join("examples", "javascript/force")
|
|
||||||
-data.append((dd, glob(os.path.join(pp, "*"))))
|
|
||||||
-
|
|
||||||
# add the tests subpackage(s)
|
|
||||||
package_data = {
|
|
||||||
"networkx": ["tests/*.py"],
|
|
||||||
@@ -185,7 +155,6 @@ if __name__ == "__main__":
|
|
||||||
project_urls=project_urls,
|
|
||||||
classifiers=classifiers,
|
|
||||||
packages=packages,
|
|
||||||
- data_files=data,
|
|
||||||
package_data=package_data,
|
|
||||||
install_requires=install_requires,
|
|
||||||
extras_require=extras_require,
|
|
Loading…
Add table
Reference in a new issue