mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
textproc/codespell: Update to 2.2.5
- Convert to USE_PYTHON=pep517 Changes: https://github.com/codespell-project/codespell/releases
This commit is contained in:
parent
7cd89c7ca7
commit
7d9018ba07
@ -1,5 +1,5 @@
|
||||
PORTNAME= codespell
|
||||
PORTVERSION= 2.2.2
|
||||
PORTVERSION= 2.2.5
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= PYPI
|
||||
|
||||
@ -10,14 +10,16 @@ WWW= https://github.com/codespell-project/codespell
|
||||
LICENSE= GPLv2
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= python shebangfix
|
||||
USE_PYTHON= autoplist concurrent distutils noflavors
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}setuptools_scm>=6.2:devel/py-setuptools_scm@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist noflavors pep517
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR}
|
||||
|
||||
SHEBANG_FILES= bin/codespell
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1669057567
|
||||
SHA256 (codespell-2.2.2.tar.gz) = c4d00c02b5a2a55661f00d5b4b3b5a710fa803ced9a9d7e45438268b099c319c
|
||||
SIZE (codespell-2.2.2.tar.gz) = 213652
|
||||
TIMESTAMP = 1688166086
|
||||
SHA256 (codespell-2.2.5.tar.gz) = 6d9faddf6eedb692bf80c9a94ec13ab4f5fb585aabae5f3750727148d7b5be56
|
||||
SIZE (codespell-2.2.5.tar.gz) = 242918
|
||||
|
11
textproc/codespell/files/patch-pyproject.toml
Normal file
11
textproc/codespell/files/patch-pyproject.toml
Normal file
@ -0,0 +1,11 @@
|
||||
--- pyproject.toml.orig 2023-06-14 17:58:55 UTC
|
||||
+++ pyproject.toml
|
||||
@@ -64,7 +64,7 @@ repository = "https://github.com/codespell-project/cod
|
||||
|
||||
[build-system]
|
||||
build-backend = "setuptools.build_meta"
|
||||
-requires = ["setuptools>=64", "setuptools_scm[toml]>=6.2"]
|
||||
+requires = ["setuptools>=61", "setuptools_scm[toml]>=6.2"]
|
||||
|
||||
[tool.setuptools_scm]
|
||||
write_to = "codespell_lib/_version.py"
|
Loading…
Reference in New Issue
Block a user