From e4769acf6646f4b0ef28cb695cec8ed128aba920 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 15 Dec 2023 14:48:25 +0000 Subject: gentoo auto-resync : 15:12:2023 - 14:48:25 --- dev-python/pelican-minify/Manifest | 5 ++--- .../files/pelican-minify-2.0.0-hatchling.patch | 24 +++++++++++++++++++++ .../pelican-minify/pelican-minify-0.9-r2.ebuild | 25 ---------------------- .../pelican-minify/pelican-minify-2.0.0.ebuild | 5 +++++ 4 files changed, 31 insertions(+), 28 deletions(-) create mode 100644 dev-python/pelican-minify/files/pelican-minify-2.0.0-hatchling.patch delete mode 100644 dev-python/pelican-minify/pelican-minify-0.9-r2.ebuild (limited to 'dev-python/pelican-minify') diff --git a/dev-python/pelican-minify/Manifest b/dev-python/pelican-minify/Manifest index c85f7b0ef275..ed731612f2fd 100644 --- a/dev-python/pelican-minify/Manifest +++ b/dev-python/pelican-minify/Manifest @@ -1,5 +1,4 @@ -DIST pelican-minify-0.9.tar.gz 223517 BLAKE2B 808601e027af7b3970e3fcac08e9f0f656e48fe016a470b4a5b3892a108264e2fff52a9b036861fb9007da263e59c7fcf68867e789f65e20b29278fb8de445a0 SHA512 de28727ed6b39e89461b2d725139b88010def892f3fd23f822a6e84a585b3f93771fdc9ca8f402adc9bb196a0dde03b9d6417317c7e8141d83f0e6460860cd33 +AUX pelican-minify-2.0.0-hatchling.patch 812 BLAKE2B 8d0e222dda8f04fd564dbb432a3d33988e182a0c3fe3f2f82fcb7b6d0e7c877f1a76c8dc45c020dbffafd7ebe00318ad86749fd20c397c0badf96d99356a13f0 SHA512 1b767fe7d76a3066440951bd9b146d5c77d26e74c2b78bb60d4d210afd709af6e34414c90fef86a31263cbacfdf0f9e82ee3f21ba4ac7c9041ff64674bb62ec0 DIST pelican_minify-2.0.0.tar.gz 9566 BLAKE2B 2345f9b053a4b79fbeba9741b4eb64d5d490d455bc25f869e6479ceca951c64d88aa962ef28a04a39c480299882a6c5354c2b4b4c221e64f3281987dda20bd10 SHA512 bcf6cd497fc8c42d9a63b869f04a7bcec6a115ed52698ae9cac5e117d075b16dee904173a577f793f4e74367527d8841d9e6db69e4a2ba70bb79434e4a776c34 -EBUILD pelican-minify-0.9-r2.ebuild 590 BLAKE2B eb7d893aea8682eb5bda5833570f04e93c32bdd71639e870ba430ca2ff2df016e0f754808b63ccb90d9a47054bad8e6e1a636002a5ac8d0bdd20bac6c98bbd44 SHA512 838c0a81ebe3e324b200086c84beec516570744d4ba36022109c3c65de79fdcbe8609cf41d82f5a8e2fcfa7a1dec4b67f3dc08285c4be69a6617c236c5e1a41d -EBUILD pelican-minify-2.0.0.ebuild 566 BLAKE2B 960d9fc44b5c6087e6e17daa9d5906c4808f4cd217628dec0788763ea4c3e83a3a6dae2c1b7bf8272cc87808f248e8117c795329b916a561cd50511b41ce7beb SHA512 db1c43853c511c82e10d2ce353170cf1bdb81dc08cdaecd423246524e8bb52ee4da153a2c3008a7add269cc948858ac66a2359359730e02c797d2303164d211e +EBUILD pelican-minify-2.0.0.ebuild 667 BLAKE2B 2c322dc9920ec2cf3ceae91715d2a254fcb8e6af78f1c3870f4026cfc449a7fccd628e02868af21b45164dd26d710aaf5b9f5df08854fdbdd7da0038a982fc92 SHA512 740039f500aa58858aa7b85bf4621b4f0d948d748944abb351c83c2c10d4c2b0f60eb80f5d4c965d35931e72245d790575e05465ede5134ea0e15839b4171635 MISC metadata.xml 519 BLAKE2B ab63cc80f485e260b217f70f7c02ef228656147f304aab80b3ff8471409b817fa7059234228b756fb08cacc46d1e2f811b697c524d0a2a6c297627684ae820b1 SHA512 afe0529e759a3b3f11d31b360020bec447a6fc964d018d0be2ed7632b9b4ae095be370387003e7b7f817a0e4fa7ecc82c320cb3b081fb1de8dbbdfd7428a6779 diff --git a/dev-python/pelican-minify/files/pelican-minify-2.0.0-hatchling.patch b/dev-python/pelican-minify/files/pelican-minify-2.0.0-hatchling.patch new file mode 100644 index 000000000000..96de2470e68e --- /dev/null +++ b/dev-python/pelican-minify/files/pelican-minify-2.0.0-hatchling.patch @@ -0,0 +1,24 @@ +From 222b4c97f75f5dc426419bc1ffa45f8015af2e64 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Fri, 15 Dec 2023 10:01:22 +0100 +Subject: [PATCH] Fix install with hatchling >= 1.19.0 + +Explicitly specify the top-level package name in order to fix installing +with hatchling >= 1.19.0. These new versions default to installing +packages that match the project name only, and fail if one cannot +be found. +--- + pyproject.toml | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/pyproject.toml b/pyproject.toml +index 98926f2..ef390de 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -110,3 +110,6 @@ known-first-party = ["pelican"] + [build-system] + requires = ["hatchling"] + build-backend = "hatchling.build" ++ ++[tool.hatch.build.targets.wheel] ++packages = ["pelican"] diff --git a/dev-python/pelican-minify/pelican-minify-0.9-r2.ebuild b/dev-python/pelican-minify/pelican-minify-0.9-r2.ebuild deleted file mode 100644 index a42c3a32392e..000000000000 --- a/dev-python/pelican-minify/pelican-minify-0.9-r2.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) -PYPI_NO_NORMALIZE=1 - -inherit distutils-r1 pypi - -DESCRIPTION="An HTML minification plugin for Pelican, the static site generator" -HOMEPAGE="https://pypi.org/project/pelican-minify/" - -LICENSE="Unlicense" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=" - >=dev-python/joblib-0.9[${PYTHON_USEDEP}] - >=app-text/htmlmin-0.1.5[${PYTHON_USEDEP}] - >=app-text/pelican-3.1.1[${PYTHON_USEDEP}] -" - -distutils_enable_tests unittest diff --git a/dev-python/pelican-minify/pelican-minify-2.0.0.ebuild b/dev-python/pelican-minify/pelican-minify-2.0.0.ebuild index aa8e838e3ccd..ea05ba957fdf 100644 --- a/dev-python/pelican-minify/pelican-minify-2.0.0.ebuild +++ b/dev-python/pelican-minify/pelican-minify-2.0.0.ebuild @@ -24,3 +24,8 @@ RDEPEND=" " distutils_enable_tests pytest + +PATCHES=( + # https://github.com/pelican-plugins/minify/pull/3 + "${FILESDIR}/${P}-hatchling.patch" +) -- cgit v1.2.3