Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Apr 2024 20:19:08 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: 2e2a676b8913 - main - devel/py-heapdict: Convert to USE_PYTHON=pep517
Message-ID:  <202404082019.438KJ8nc018561@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=2e2a676b8913cadf17af997eab2ad9fc595c60f6

commit 2e2a676b8913cadf17af997eab2ad9fc595c60f6
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-08 20:14:09 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-08 20:17:00 +0000

    devel/py-heapdict: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 devel/py-heapdict/Makefile             |  6 +++++-
 devel/py-heapdict/files/patch-setup.py | 11 +++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/devel/py-heapdict/Makefile b/devel/py-heapdict/Makefile
index cf0a4fdf92fa..ac729ade451e 100644
--- a/devel/py-heapdict/Makefile
+++ b/devel/py-heapdict/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	heapdict
 PORTVERSION=	1.0.1
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,8 +13,11 @@ WWW=		https://github.com/DanielStutzbach/heapdict
 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}
+
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils unittest
+USE_PYTHON=	autoplist concurrent pep517 unittest
 
 NO_ARCH=	yes
 
diff --git a/devel/py-heapdict/files/patch-setup.py b/devel/py-heapdict/files/patch-setup.py
new file mode 100644
index 000000000000..d7a71da3b556
--- /dev/null
+++ b/devel/py-heapdict/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2019-09-09 18:56:17 UTC
++++ setup.py
+@@ -2,7 +2,7 @@ from setuptools import setup
+ 
+ from setuptools import setup
+ 
+-setup(name='HeapDict',
++setup(name='heapdict',
+       version='1.0.1',
+       description='a heap with decrease-key and increase-key operations',
+       author='Stutzbach Enterprises, LLC',



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