git: 3e20a8ce43f4 - main - devel/py-jsonsir: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 06 Jul 2024 16:28:42 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=3e20a8ce43f46e27e135f96f6acb4283452c0eac commit 3e20a8ce43f46e27e135f96f6acb4283452c0eac Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-07-06 16:11:57 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-07-06 16:11:57 +0000 devel/py-jsonsir: Convert to USE_PYTHON=pep517 - Change MASTER_SITES from GitHub to PYPI - Add NO_ARCH - Bump PORTREVISION for package change --- devel/py-jsonsir/Makefile | 13 ++++++++----- devel/py-jsonsir/distinfo | 6 +++--- devel/py-jsonsir/files/patch-setup.py | 11 +++++++++++ 3 files changed, 22 insertions(+), 8 deletions(-) diff --git a/devel/py-jsonsir/Makefile b/devel/py-jsonsir/Makefile index 91b363cb86b8..b798a2e3031d 100644 --- a/devel/py-jsonsir/Makefile +++ b/devel/py-jsonsir/Makefile @@ -1,7 +1,10 @@ PORTNAME= jsonsir PORTVERSION= 0.0.2 +PORTREVISION= 1 CATEGORIES= devel python +MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= JsonSir-${PORTVERSION} MAINTAINER= python@FreeBSD.org COMMENT= Serializer for JSON-like data in Python @@ -9,12 +12,12 @@ WWW= https://github.com/RussellLuo/jsonsir LICENSE= MIT -USES= python -USE_PYTHON= distutils autoplist +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -USE_GITHUB= yes +USES= python +USE_PYTHON= autoplist concurrent pep517 -GH_ACCOUNT= RussellLuo -GH_TAGNAME= af866cb +NO_ARCH= yes .include <bsd.port.mk> diff --git a/devel/py-jsonsir/distinfo b/devel/py-jsonsir/distinfo index 06fcc8fde8da..cd260239816f 100644 --- a/devel/py-jsonsir/distinfo +++ b/devel/py-jsonsir/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1547201442 -SHA256 (RussellLuo-jsonsir-0.0.2-af866cb_GH0.tar.gz) = f6ecae04e48aaf47d11a99d842e49fa0af9e5573ba53150be72561f9fa330518 -SIZE (RussellLuo-jsonsir-0.0.2-af866cb_GH0.tar.gz) = 2907 +TIMESTAMP = 1720023786 +SHA256 (JsonSir-0.0.2.tar.gz) = 401447c5e931f7887851ce9bf2407fe34d5aab0b1467bb24bbbf3b760e5bd3fb +SIZE (JsonSir-0.0.2.tar.gz) = 2160 diff --git a/devel/py-jsonsir/files/patch-setup.py b/devel/py-jsonsir/files/patch-setup.py new file mode 100644 index 000000000000..4ef37ab0b0dd --- /dev/null +++ b/devel/py-jsonsir/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2015-01-16 11:04:40 UTC ++++ setup.py +@@ -6,7 +6,7 @@ setup( + description = 'A serializer for JSON-like data in Python.' + + setup( +- name='JsonSir', ++ name='jsonsir', + version='0.0.2', + author='RussellLuo', + author_email='luopeng.he@gmail.com',