Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Mar 2023 05:47:46 GMT
From:      =?utf-8?Q?Romain=20Tarti=C3=A8re?= <romain@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d9211cc5f7be - main - databases/py-aiosqlite: Fix build
Message-ID:  <202303020547.3225lkt3002935@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by romain:

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

commit d9211cc5f7be2194696a6641cf5673ea155184b6
Author:     Romain Tartière <romain@FreeBSD.org>
AuthorDate: 2023-03-02 05:46:03 +0000
Commit:     Romain Tartière <romain@FreeBSD.org>
CommitDate: 2023-03-02 05:46:27 +0000

    databases/py-aiosqlite: Fix build
    
    The previous commit was done by mistake (some work in progress leftover
    and forgotten that got committed after a poudriere build that not build
    this port succeeded).
    
    Fix the port to make it buildable again.  No need to bump PORTREVISION
    since the port was completely unbuildable.
    
    Pointy hat to:  me
---
 databases/py-aiosqlite/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/databases/py-aiosqlite/Makefile b/databases/py-aiosqlite/Makefile
index e7366f7ce09e..fc515bd82ce6 100644
--- a/databases/py-aiosqlite/Makefile
+++ b/databases/py-aiosqlite/Makefile
@@ -10,11 +10,14 @@ WWW=		https://pypi.python.org/pypi/aiosqlite
 
 LICENSE=	MIT
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flit-core>2:devel/py-flit-core@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
 
 USES=		python:3.7+
-USE_PYTHON=	autoplist distutils
+USE_PYTHON=	autoplist pep517
 
 NO_ARCH=	yes
+MAKE_ENV+=	PYTHONDONTWRITEBYTECODE=1
 
 .include <bsd.port.mk>



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