From nobody Tue Dec 20 13:48:49 2022 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 4NbybQ1hqWz1HBC6; Tue, 20 Dec 2022 13:48:50 +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 4NbybQ1Gm3z4FBM; Tue, 20 Dec 2022 13:48:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671544130; 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=mAsA27DvncgMuvmmb1Pv+8dGGkI1f7NB6pArc1Fbz4A=; b=TjuufgjHbW+OjExRtBhCPw3INgsTWg3L/Bern2CqagjQVPrzau66nwVRdt3+Kbg+3uAlj9 tjHZ0p+EnYQ9UlC2gc/4FTArZtm1g1uitTnWvPkgS72abY7FrL1YH8CnSFtyEm85HUB2K9 zzoF19VgrsK+tCN7mKaqa+2dpI3wBKJ/UAApLZ3zIJoAq2z2i1m6XSplbvqACqUvju8V49 LoDcvn6hE2KdjKKdfIMZmuwOI3aaKiDhUK5Zh0Onwqij/4dARy/Lab+k3iSZH9jgGdvxdG UO+OdrX3oQ869CQjbkdxBFlcmLCiulIYOKvFiJ7+yqM+MO6KZ2tlh/tT2k0WDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671544130; 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=mAsA27DvncgMuvmmb1Pv+8dGGkI1f7NB6pArc1Fbz4A=; b=hUKs/2OTtq6oKHR+uN9vxydSU6aJB2jogc80Wl2sRxgzkZZGFbLOFqR2NYR26njtiUXlFM l/rPDz8OQckZIdNnj4BABnnUT1ureY1JMHzqQ7r867yIv9NBB4JvZvm4Fg54zUnzDRtTpn vfhQhaFo2+8hY+ZbceMs79cdqjHjOGyT5MOYya98aKyQHznIN433x+PB8u8D3j8aHMkM// /j+f2sHpp+y5c70K7zOpLEttqpQ/1x2EBoCWkYNHBsNlvT30PAKy5pUj0fUwybgwAbdRgo eIivP1BMQx2UxVgIpoGHSI0KoayIPhm79GbO6NdeQ2G4OPHtSN6qR0UGF22y+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671544130; a=rsa-sha256; cv=none; b=h9/1yjHMmSQRmTdFg0T+vSX5vpp+QEimeWZwMUA9r+HH5DEm9C6LAF1cPQRsGGezPu7z1v nSHNSTsoVrZAeeaLiDyZgmFIueePoghniLQYnts5L1X/OErJEsBDXwVKipjLocoGiZodcg asw0iynNDipMCnDcbPQV/cU+h9FwyU91KrWHAfQ/y6LQMlfcBN6N0FOBnnk79Mu8F1Ru+A SxyDVcbHnEgwdepUzM0RQyBV0yE+2cFrYPENLrNtqa8OLNTvRdkIISauJ6VQJNhALGK5PM H0GWS31w1VDdLe1Sybi/8KlAtJK2FxTnLZ6EALvbnC3YgAOEDeicmivBcD/tfA== 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 4NbybQ0NwfzdJT; Tue, 20 Dec 2022 13:48:50 +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 2BKDmnNC092109; Tue, 20 Dec 2022 13:48:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BKDmnTp092108; Tue, 20 Dec 2022 13:48:49 GMT (envelope-from git) Date: Tue, 20 Dec 2022 13:48:49 GMT Message-Id: <202212201348.2BKDmnTp092108@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kai Knoblich Subject: git: bd0faf19d07f - main - textproc/py-mkdocs-material: Update to 8.5.11 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: kai X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bd0faf19d07f445d8ea43c69b45bb26eaf236ac0 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=bd0faf19d07f445d8ea43c69b45bb26eaf236ac0 commit bd0faf19d07f445d8ea43c69b45bb26eaf236ac0 Author: Kai Knoblich AuthorDate: 2022-12-20 13:46:39 +0000 Commit: Kai Knoblich CommitDate: 2022-12-20 13:46:39 +0000 textproc/py-mkdocs-material: Update to 8.5.11 Changelog since 8.4.4: https://github.com/squidfunk/mkdocs-material/compare/8.4.4...8.5.11 --- textproc/py-mkdocs-material/Makefile | 17 ++++++-- textproc/py-mkdocs-material/distinfo | 6 +-- textproc/py-mkdocs-material/files/patch-setup.py | 52 ++++++++++++++++++++++++ 3 files changed, 68 insertions(+), 7 deletions(-) diff --git a/textproc/py-mkdocs-material/Makefile b/textproc/py-mkdocs-material/Makefile index a29b49a81d64..7b7123a25c81 100644 --- a/textproc/py-mkdocs-material/Makefile +++ b/textproc/py-mkdocs-material/Makefile @@ -1,8 +1,9 @@ PORTNAME= mkdocs-material -DISTVERSION= 8.4.4 +DISTVERSION= 8.5.11 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= mkdocs_material-${DISTVERSION} MAINTAINER= kai@FreeBSD.org COMMENT= Material Design theme for MkDocs @@ -13,14 +14,22 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.0.2:devel/py-Jinja2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}markdown>=3.2:textproc/py-markdown@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}mkdocs>=1.3.0:textproc/py-mkdocs@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}mkdocs-material-extensions>=1.0.3:textproc/py-mkdocs-material-extensions@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mkdocs>=1.4.0:textproc/py-mkdocs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mkdocs-material-extensions>=1.1:textproc/py-mkdocs-material-extensions@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pygments>=2.12:textproc/py-pygments@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pymdown-extensions>=9.4:textproc/py-pymdown-extensions@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}pymdown-extensions>=9.4:textproc/py-pymdown-extensions@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>=2.26:www/py-requests@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist distutils NO_ARCH= yes +# Avoid that pyproject.toml is read during setup otherwise build fails +post-extract: + @${MV} ${WRKSRC}/pyproject.toml ${WRKSRC}/pyproject.toml.dist + +post-patch: + @${REINPLACE_CMD} -e 's/%%DISTVERSION%%/${DISTVERSION}/' ${WRKSRC}/setup.py + .include diff --git a/textproc/py-mkdocs-material/distinfo b/textproc/py-mkdocs-material/distinfo index de2721810c01..fcebd2c1b5e5 100644 --- a/textproc/py-mkdocs-material/distinfo +++ b/textproc/py-mkdocs-material/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1670065234 -SHA256 (mkdocs-material-8.4.4.tar.gz) = 877cdaff642a224ea50e8f0f0a024c6e4a883c731c2efe4a6aaa4b958f3fd693 -SIZE (mkdocs-material-8.4.4.tar.gz) = 3688110 +TIMESTAMP = 1671529347 +SHA256 (mkdocs_material-8.5.11.tar.gz) = b0ea0513fd8cab323e8a825d6692ea07fa83e917bb5db042e523afecc7064ab7 +SIZE (mkdocs_material-8.5.11.tar.gz) = 3533290 diff --git a/textproc/py-mkdocs-material/files/patch-setup.py b/textproc/py-mkdocs-material/files/patch-setup.py new file mode 100644 index 000000000000..dc4f53f88f2a --- /dev/null +++ b/textproc/py-mkdocs-material/files/patch-setup.py @@ -0,0 +1,52 @@ +Generated via adding + +[tool.hatch.build.targets.sdist] +support-legacy = true + +to setup.py and then run "hatchling build". + +--- setup.py.orig 2022-12-20 10:46:10 UTC ++++ setup.py +@@ -0,0 +1,42 @@ ++# -*- coding: utf-8 -*- ++from setuptools import setup ++ ++setup( ++ name='mkdocs-material', ++ version='%%DISTVERSION%%', ++ description='Documentation that simply works', ++ long_description='', ++ author_email='Martin Donath ', ++ classifiers=[ ++ 'Development Status :: 5 - Production/Stable', ++ 'Environment :: Web Environment', ++ 'License :: OSI Approved :: MIT License', ++ 'Programming Language :: JavaScript', ++ 'Programming Language :: Python', ++ 'Topic :: Documentation', ++ 'Topic :: Software Development :: Documentation', ++ 'Topic :: Text Processing :: Markup :: HTML', ++ ], ++ install_requires=[ ++ 'jinja2>=3.0.2', ++ 'markdown>=3.2', ++ 'mkdocs-material-extensions>=1.1', ++ 'mkdocs>=1.4.0', ++ 'pygments>=2.12', ++ 'pymdown-extensions>=9.4', ++ 'requests>=2.26', ++ ], ++ entry_points={ ++ 'mkdocs.plugins': [ ++ 'search = material.plugins.search.plugin:SearchPlugin', ++ 'social = material.plugins.social.plugin:SocialPlugin', ++ 'tags = material.plugins.tags.plugin:TagsPlugin', ++ ], ++ 'mkdocs.themes': [ ++ 'material = material', ++ ], ++ }, ++ package_data={ ++ '': ['*', '.icons/*', '.icons/*/*', '.icons/*/*/*'], ++ }, ++)