git: ffbac8fe8fb9 - main - devel/py-represent: Update to 2.2.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 29 Sep 2026 19:29:58 UTC
The branch main has been updated by sunpoet:

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

commit ffbac8fe8fb995cf05836d362c95266bcae26a35
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-09-29 18:59:40 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-09-29 19:24:49 +0000

    devel/py-represent: Update to 2.2.0
    
    Changes:        https://github.com/RazerM/represent/releases
---
 devel/py-represent/Makefile                   | 6 ++----
 devel/py-represent/distinfo                   | 6 +++---
 devel/py-represent/files/patch-pyproject.toml | 8 ++++----
 3 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/devel/py-represent/Makefile b/devel/py-represent/Makefile
index 816fba105871..a088ce64b534 100644
--- a/devel/py-represent/Makefile
+++ b/devel/py-represent/Makefile
@@ -1,9 +1,8 @@
 PORTNAME=	represent
-PORTVERSION=	2.1
+PORTVERSION=	2.2.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTNAME=	Represent-${PORTVERSION}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Create __repr__ automatically or declaratively
@@ -14,8 +13,7 @@ LICENSE=	BSD3CLAUSE MIT
 LICENSE_COMB=	dual
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ipython>=0:devel/ipython@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}rich>=0:textproc/py-rich@${PY_FLAVOR}
 
diff --git a/devel/py-represent/distinfo b/devel/py-represent/distinfo
index f314cca0a983..b8da195688f7 100644
--- a/devel/py-represent/distinfo
+++ b/devel/py-represent/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1710712488
-SHA256 (Represent-2.1.tar.gz) = 0b2d015c14e7ba6b3b5e6a7ba131a952013fe944339ac538764ce728a75dbcac
-SIZE (Represent-2.1.tar.gz) = 19031
+TIMESTAMP = 1790435820
+SHA256 (represent-2.2.0.tar.gz) = 403daa7f8360390b84b143b7bf1dd720965a3e93a234994923c7123cc55d5fe1
+SIZE (represent-2.2.0.tar.gz) = 71344
diff --git a/devel/py-represent/files/patch-pyproject.toml b/devel/py-represent/files/patch-pyproject.toml
index 83ef004233d2..4f3f03854934 100644
--- a/devel/py-represent/files/patch-pyproject.toml
+++ b/devel/py-represent/files/patch-pyproject.toml
@@ -1,11 +1,11 @@
---- pyproject.toml.orig	2024-01-23 17:54:01 UTC
+--- pyproject.toml.orig	2020-02-02 00:00:00 UTC
 +++ pyproject.toml
-@@ -3,7 +3,7 @@ build-backend = "setuptools.build_meta"
- build-backend = "setuptools.build_meta"
+@@ -3,7 +3,7 @@ build-backend = "hatchling.build"
+ build-backend = "hatchling.build"
  
  [project]
 -name = "Represent"
 +name = "represent"
- version = "2.1"
+ version = "2.2.0"
  description = "Create __repr__ automatically or declaratively."
  readme = "README.md"