Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2024 15:00:19 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: 5f5ded0f843c - main - databases/py-sqlalchemy-utils: Convert to USE_PYTHON=pep517
Message-ID:  <202403231500.42NF0JLV099249@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=5f5ded0f843c26e15228c244b6e50ec8730c864f

commit 5f5ded0f843c26e15228c244b6e50ec8730c864f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-23 14:20:53 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-23 14:31:09 +0000

    databases/py-sqlalchemy-utils: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 databases/py-sqlalchemy-utils/Makefile             |  5 ++++-
 databases/py-sqlalchemy-utils/files/patch-setup.py | 11 +++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/databases/py-sqlalchemy-utils/Makefile b/databases/py-sqlalchemy-utils/Makefile
index 858758db549d..d700f3e0d365 100644
--- a/databases/py-sqlalchemy-utils/Makefile
+++ b/databases/py-sqlalchemy-utils/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	sqlalchemy-utils
 PORTVERSION=	0.41.1
+PORTREVISION=	1
 CATEGORIES=	databases python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,10 +13,12 @@ WWW=		https://github.com/kvesteri/sqlalchemy-utils
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlalchemy14>=1.3:databases/py-sqlalchemy14@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/databases/py-sqlalchemy-utils/files/patch-setup.py b/databases/py-sqlalchemy-utils/files/patch-setup.py
new file mode 100644
index 000000000000..370e47f32a1e
--- /dev/null
+++ b/databases/py-sqlalchemy-utils/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2023-04-27 07:33:40 UTC
++++ setup.py
+@@ -60,7 +60,7 @@ setup(
+ 
+ 
+ setup(
+-    name='SQLAlchemy-Utils',
++    name='sqlalchemy-utils',
+     version=get_version(),
+     url='https://github.com/kvesteri/sqlalchemy-utils',
+     license='BSD',



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