Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Mar 2024 03:40:29 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 06a380b53e9e - main - devel/py-sparse: Fix typo in 8bc09aa2e50ec02932d8998da90e935cf7b3afde
Message-ID:  <202403310340.42V3eTSP087697@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=06a380b53e9e0d569d986d01741a8569c74725db

commit 06a380b53e9e0d569d986d01741a8569c74725db
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-31 03:06:46 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-31 03:06:46 +0000

    devel/py-sparse: Fix typo in 8bc09aa2e50ec02932d8998da90e935cf7b3afde
    
    - Clean up patch-pyproject.toml (should be part of 35e1ae3838401f8582c0ced4cf4312f90bd984c7)
    - Bump PORTREVISION for dependency and package change
    
    version_file is a replacement for write_to since py-setuptools-scm 8.0.0.
---
 devel/py-sparse/Makefile                   | 3 ++-
 devel/py-sparse/files/patch-pyproject.toml | 9 ---------
 2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/devel/py-sparse/Makefile b/devel/py-sparse/Makefile
index 41c993a72162..7446ef48e25b 100644
--- a/devel/py-sparse/Makefile
+++ b/devel/py-sparse/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	sparse
 PORTVERSION=	0.15.1
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,7 +16,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-xRUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numba>=0.49:devel/py-numba@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numba>=0.49:devel/py-numba@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}numpy>=1.17,1:math/py-numpy@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}scipy>=0.19:science/py-scipy@${PY_FLAVOR}
 
diff --git a/devel/py-sparse/files/patch-pyproject.toml b/devel/py-sparse/files/patch-pyproject.toml
index b73dadb5354e..de1b6b1ef38d 100644
--- a/devel/py-sparse/files/patch-pyproject.toml
+++ b/devel/py-sparse/files/patch-pyproject.toml
@@ -7,12 +7,3 @@
  build-backend = "setuptools.build_meta"
  
  [project]
-@@ -53,7 +53,7 @@ include = ["sparse", "sparse.*"]
- include = ["sparse", "sparse.*"]
- 
- [tool.setuptools_scm]
--version_file = "sparse/_version.py"
-+write_to = "sparse/_version.py"
- 
- [tool.ruff]
- select = ["F", "E", "W", "I", "B", "UP", "YTT", "BLE", "C4", "T10", "ISC", "ICN", "PIE", "PYI", "RSE", "RET", "SIM", "PGH", "FLY", "NPY", "PERF"]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403310340.42V3eTSP087697>