From nobody Wed Nov 17 20:49:49 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E2B5A189AB0C; Wed, 17 Nov 2021 20:49:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HvZms5sTGz3pSy; Wed, 17 Nov 2021 20:49:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id AA17227A70; Wed, 17 Nov 2021 20:49:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1AHKnnN8087878; Wed, 17 Nov 2021 20:49:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AHKnnxj087877; Wed, 17 Nov 2021 20:49:49 GMT (envelope-from git) Date: Wed, 17 Nov 2021 20:49:49 GMT Message-Id: <202111172049.1AHKnnxj087877@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitry Marakasov Subject: git: c4d00da330ff - main - devel/py-lxml: force regeneration of cython files List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c4d00da330ffa3ea2745072c4b84dca9bb8c60fd Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=c4d00da330ffa3ea2745072c4b84dca9bb8c60fd commit c4d00da330ffa3ea2745072c4b84dca9bb8c60fd Author: Dmitry Marakasov AuthorDate: 2021-11-17 20:41:45 +0000 Commit: Dmitry Marakasov CommitDate: 2021-11-17 20:41:47 +0000 devel/py-lxml: force regeneration of cython files This fixes build with upcoming python 3.11 and potential future version compatibility problems. While here, add another WWW:. --- devel/py-lxml/Makefile | 8 ++++++-- devel/py-lxml/pkg-descr | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/devel/py-lxml/Makefile b/devel/py-lxml/Makefile index deafb73ffae6..40be577cb179 100644 --- a/devel/py-lxml/Makefile +++ b/devel/py-lxml/Makefile @@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/doc/licenses/BSD.txt USES= compiler cpe gnome python:3.6+ uniquefiles:dirs USE_GNOME= libxml2 libxslt -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent cython distutils LDFLAGS+= -Wl,-rpath=${LOCALBASE}/lib @@ -25,7 +25,11 @@ OPTIONS_DEFINE= DOCS # needed for test to work PYDISTUTILS_BUILD_TARGET= build_ext -PYDISTUTILS_BUILDARGS= --inplace +PYDISTUTILS_BUILDARGS= --inplace + +# force regeneration of cython files +post-extract: + @${FIND} ${WRKSRC} -name "*.c" -delete post-install: @${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \ diff --git a/devel/py-lxml/pkg-descr b/devel/py-lxml/pkg-descr index 7022da9aeec2..fffd699a75b2 100644 --- a/devel/py-lxml/pkg-descr +++ b/devel/py-lxml/pkg-descr @@ -7,3 +7,4 @@ lxml is a Python binding for libxml2 and libxslt. Its aim: * No manual memory management! WWW: https://lxml.de/ +WWW: https://github.com/lxml/lxml