From nobody Tue Mar 21 19:30:07 2023 X-Original-To: dev-commits-ports-main@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 4Ph1sD3Pjkz40jYX; Tue, 21 Mar 2023 19:30:08 +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 4Ph1sD0qm0z4Tpv; Tue, 21 Mar 2023 19:30:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679427008; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=kh6YGUvuBS8YevdTISdwPqXXGIuir+0/zo7defvGpno=; b=SVXDM4gqKltFhw2YbDu8P5mquCvMmW5n38QdRNrXsBG5ixVdJAowhhQ8VCDCtNpxvMDQ0U 99azh4xpdloLLDuBbjBvq4B9YuGjWr8OH0ObG1/PET5TWMWzbDlLMUKnXvzgUlDqkB46su 4+mc62KAz0hEkUOdWtsjxwHGRq2gzNJZcO+DHD1cyysO6vqeI/bYd3gvjvGP1GED7f1M83 QBr6yTZlkgOeGw+tmTIJnwAXRAFLdfoLg7zEipyJtfw8sAYgHuu7JpCuLQOxDVmM8Wgcvn EVcXD/6XM3p79zDgxRCUAqYNX+cRPXGPoGKfizjBqyaaZ67Q0QfxCPBx3P3ycg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679427008; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=kh6YGUvuBS8YevdTISdwPqXXGIuir+0/zo7defvGpno=; b=gBYEQAiXQgkCevH+p6XC6y7QQvJk8Ntp1C+aS8hTSn6SMmUfKEZwzE0DZLJxyOklo9fnDs FzDhbSMvWICSXhEpDfXXIh3Ha++nBoFHGHxNIdC9FbPitKIAz0vrA4TngZXZWIbk6dK1jw y6+WJcq9TacUV54JFXx5AOfqGG2YE42Jq1l/hlDbMin65ZwzA3zDVgKUt2w+4mVrPvXJ1N vJftmGQc0YdmmYk+6uA/WYQXpAnoSpqb4hBCGNA9fJXLPqwWfaDwUS9CLR1ulukpVLfdzo HtgBSw8jB800Txq3yCibSycSOJGMgEESdMPhyxh5JnQTRGWrU6S2Ow2G7QzpqQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679427008; a=rsa-sha256; cv=none; b=QAvUfjJi6ydFtn18tZ0V/hjDsRtNOa6L4yR4eswL6/d0EJW9gj9OOjEhhwOyPR5VirA59A ZeANszeyfYBBj5MO6dmLsVpS46x4Ov8/0i6piYsvWBA9BXeQOvkM6WBc8pg2xNAU+MfUBX nt/lEuYgfDua/JtuHAjPRXukVl8JY9eXdSrJAakB4FoGo9E1ewkP8nMkD02abVtX0GWSVO De58iKt1BIi5IdYPs8nOWs8NfmHn+AayQ84i3cZUQvQftSCKbdRhvb1xVy9938FxydHk9Q oEoO/Rd4NhC7AzGy+2IKr4vsJiwr6FvocrPL+UMPo7hvOkeiqsFxjm1dicaqSw== 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 4Ph1sC4TpJzPVg; Tue, 21 Mar 2023 19:30:07 +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 32LJU7tS037165; Tue, 21 Mar 2023 19:30:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32LJU7Th037162; Tue, 21 Mar 2023 19:30:07 GMT (envelope-from git) Date: Tue, 21 Mar 2023 19:30:07 GMT Message-Id: <202303211930.32LJU7Th037162@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 509b348ad682 - main - textproc/py-cssselect2: Convert to USE_PYTHON=pep517 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 509b348ad682637a50aa5d48286d8546f68f438e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=509b348ad682637a50aa5d48286d8546f68f438e commit 509b348ad682637a50aa5d48286d8546f68f438e Author: Po-Chuan Hsieh AuthorDate: 2023-03-21 18:48:07 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-03-21 19:21:19 +0000 textproc/py-cssselect2: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for dependency and package change --- textproc/py-cssselect2/Makefile | 7 +++---- textproc/py-cssselect2/files/setup.py | 34 ---------------------------------- 2 files changed, 3 insertions(+), 38 deletions(-) diff --git a/textproc/py-cssselect2/Makefile b/textproc/py-cssselect2/Makefile index 4899a745c878..14d3f867e2e2 100644 --- a/textproc/py-cssselect2/Makefile +++ b/textproc/py-cssselect2/Makefile @@ -1,5 +1,6 @@ PORTNAME= cssselect2 PORTVERSION= 0.7.0 +PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,15 +12,13 @@ WWW= https://github.com/Kozea/cssselect2 LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4:devel/py-flit-core@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tinycss2>=0:textproc/py-tinycss2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}webencodings>=0:converters/py-webencodings@${PY_FLAVOR} USES= python:3.7+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -post-patch: - @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py - .include diff --git a/textproc/py-cssselect2/files/setup.py b/textproc/py-cssselect2/files/setup.py deleted file mode 100644 index 9cbdcc2f99fc..000000000000 --- a/textproc/py-cssselect2/files/setup.py +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/env python -# setup.py generated by flit for tools that don't yet use PEP 517 - -from distutils.core import setup - -packages = \ -['cssselect2'] - -package_data = \ -{'': ['*']} - -install_requires = \ -['tinycss2', 'webencodings'] - -extras_require = \ -{'doc': ['sphinx', 'sphinx_rtd_theme'], - 'test': ['pytest', - 'pytest-cov', - 'pytest-flake8', - 'pytest-isort', - 'coverage[toml]']} - -setup(name='cssselect2', - version='%%PORTVERSION%%', - description='CSS selectors for Python ElementTree', - author=None, - author_email='Simon Sapin ', - url=None, - packages=packages, - package_data=package_data, - install_requires=install_requires, - extras_require=extras_require, - python_requires='>=3.7', - )