Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2024 15:01:21 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: f14e630266c7 - main - devel/py-represent: Update to 2.1
Message-ID:  <202403231501.42NF1LW6003508@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=f14e630266c76715a02245efc4b0c5e2a320700e

commit f14e630266c76715a02245efc4b0c5e2a320700e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-23 14:21:34 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-23 14:49:25 +0000

    devel/py-represent: Update to 2.1
    
    - Remove PY_SETUPTOOLS: py-setuptools should be used rather than PY_SETUPTOOLS
    - Convert to USE_PYTHON=pytest
    
    Changes:        https://github.com/RazerM/represent/releases
                    https://github.com/RazerM/represent/blob/master/CHANGELOG.md
---
 devel/py-represent/Makefile                   | 11 ++++-------
 devel/py-represent/distinfo                   |  6 +++---
 devel/py-represent/files/patch-pyproject.toml | 11 +++++++++++
 devel/py-represent/files/patch-setup.py       | 11 -----------
 4 files changed, 18 insertions(+), 21 deletions(-)

diff --git a/devel/py-represent/Makefile b/devel/py-represent/Makefile
index 7512c9ffb830..9a8ba8f63384 100644
--- a/devel/py-represent/Makefile
+++ b/devel/py-represent/Makefile
@@ -1,7 +1,5 @@
 PORTNAME=	represent
-PORTVERSION=	1.6.0
-DISTVERSIONSUFFIX=	.post0
-PORTREVISION=	2
+PORTVERSION=	2.1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,14 +13,13 @@ LICENSE=	BSD3CLAUSE MIT
 LICENSE_COMB=	dual
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=1.8.0:devel/py-six@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ipython>=0:devel/ipython@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest>=3.0.5:devel/py-pytest@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}rich>=0:textproc/py-rich@${PY_FLAVOR}
 
 USES=		dos2unix python
-USE_PYTHON=	autoplist concurrent pep517
+USE_PYTHON=	autoplist concurrent pep517 pytest
 
 NO_ARCH=	yes
 
diff --git a/devel/py-represent/distinfo b/devel/py-represent/distinfo
index cd207afa77fa..f314cca0a983 100644
--- a/devel/py-represent/distinfo
+++ b/devel/py-represent/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1620405423
-SHA256 (Represent-1.6.0.post0.tar.gz) = 026c0de2ee8385d1255b9c2426cd4f03fe9177ac94c09979bc601946c8493aa0
-SIZE (Represent-1.6.0.post0.tar.gz) = 23420
+TIMESTAMP = 1710712488
+SHA256 (Represent-2.1.tar.gz) = 0b2d015c14e7ba6b3b5e6a7ba131a952013fe944339ac538764ce728a75dbcac
+SIZE (Represent-2.1.tar.gz) = 19031
diff --git a/devel/py-represent/files/patch-pyproject.toml b/devel/py-represent/files/patch-pyproject.toml
new file mode 100644
index 000000000000..83ef004233d2
--- /dev/null
+++ b/devel/py-represent/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2024-01-23 17:54:01 UTC
++++ pyproject.toml
+@@ -3,7 +3,7 @@ build-backend = "setuptools.build_meta"
+ build-backend = "setuptools.build_meta"
+ 
+ [project]
+-name = "Represent"
++name = "represent"
+ version = "2.1"
+ description = "Create __repr__ automatically or declaratively."
+ readme = "README.md"
diff --git a/devel/py-represent/files/patch-setup.py b/devel/py-represent/files/patch-setup.py
deleted file mode 100644
index b62c833a5f76..000000000000
--- a/devel/py-represent/files/patch-setup.py
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py.orig	2020-12-22 00:50:20 UTC
-+++ setup.py
-@@ -31,7 +31,7 @@ extras_require = {
- 
- 
- setup(
--    name='Represent',
-+    name='represent',
-     version=VERSION,
-     description=DESCRIPTION,
-     long_description=open('README.md').read(),



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