diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-14 20:44:04 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-14 20:44:04 +0000 |
commit | 46227d4bea72a4d588141f40667699df3aeef2b0 (patch) | |
tree | fe9f107ad101a24dfb24866d1ae2a933f9f8bbe8 /dev-python/Frozen-Flask | |
parent | 349911d45bc38140a6a32c0971e0ab5cdc4de9ac (diff) |
gentoo auto-resync : 14:12:2023 - 20:44:04
Diffstat (limited to 'dev-python/Frozen-Flask')
-rw-r--r-- | dev-python/Frozen-Flask/Frozen-Flask-1.0.1.ebuild | 4 | ||||
-rw-r--r-- | dev-python/Frozen-Flask/Manifest | 3 | ||||
-rw-r--r-- | dev-python/Frozen-Flask/files/Frozen-Flask-1.0.1-hatchling.patch | 34 |
3 files changed, 40 insertions, 1 deletions
diff --git a/dev-python/Frozen-Flask/Frozen-Flask-1.0.1.ebuild b/dev-python/Frozen-Flask/Frozen-Flask-1.0.1.ebuild index 800b9180f5ab..06ceefb68ef6 100644 --- a/dev-python/Frozen-Flask/Frozen-Flask-1.0.1.ebuild +++ b/dev-python/Frozen-Flask/Frozen-Flask-1.0.1.ebuild @@ -25,3 +25,7 @@ RDEPEND=" distutils_enable_sphinx docs \ dev-python/flask-sphinx-themes distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}/${P}-hatchling.patch" +) diff --git a/dev-python/Frozen-Flask/Manifest b/dev-python/Frozen-Flask/Manifest index f0acee017a74..3b64c6b02272 100644 --- a/dev-python/Frozen-Flask/Manifest +++ b/dev-python/Frozen-Flask/Manifest @@ -1,3 +1,4 @@ +AUX Frozen-Flask-1.0.1-hatchling.patch 1170 BLAKE2B 5d741222a16a00793b624155a818071eba7625d421c0af55e20d89f79f018adf6b696e1bb7716d655846d48919f7c861b32149f13009ef4475da041fd1be708a SHA512 c646a088171e7aa816428cfafb26097625ff400dc256f499a5ba31b85c32d688975cc939c2e8f9486c65f7c490a93154f5c221cfe4aad2af949e2d54af898c3c DIST frozen_flask-1.0.1.tar.gz 101449 BLAKE2B 5127e7d6485b5a23025dd31ccad6346c77bcbdb0c537806f014bf9b499c0aaf13e56a406594d86f457b290fad25e938beb4db473ba7c8f1afefd6d2471a8b03c SHA512 b4e1cfebbb374fa8e863436e0ed637e1a57432fb2a2e719536161fea359320384b51238dae1cf3fca0e10d41c9bc7cd84fba4c6978de45c5cfcdba1a494aaea2 -EBUILD Frozen-Flask-1.0.1.ebuild 578 BLAKE2B 3cb6bfe679e2f6f403b7e80de169d6eedc77ea0ad455526aaf30c9b5f4b8656b50cb6a1ffd5ded5710fe3e2b424c1e2c7fc16bf6117c785ddc058211c57affdd SHA512 b87d63070d0811e9c8f49b23bfb1966d7d622f651484d47aee6a6c59c06aba2d4213f2eae818552fcd06492bd9dcd076e1d38fca157eaa46a66c0ca63d2113e5 +EBUILD Frozen-Flask-1.0.1.ebuild 627 BLAKE2B 7d104a21e87287b8db895eb1e3334e2d1b17c73724b3ecbf679e8abe0b81aecac7d04a13400f807086eabf83661e16a534dfe33755845a371a0d48b23a729e48 SHA512 70c8f7cf4b22213ef155d9690cec7405055c0bba0f0aade20f5c87706079cc930d55f9cf4b606c6fee10c8707317d482655fd09259d288ce5ee69a6e3f6d1bc7 MISC metadata.xml 418 BLAKE2B da73d29cda242f659f85fc281c49682670f0de29fb6d5edae6df2e2ed0bf7fafb080221f7512f27eb48b3210eaeb363371e70b8299aa650d5c901fbd7a6680f5 SHA512 95a895607e43532bb5e9e88499b86ca0d43aa3c9a310b960ff8ed7438548d62c1a2758e0ac97b7200399c6cef5ef317029dd4f56d5636175aa285880731e01a1 diff --git a/dev-python/Frozen-Flask/files/Frozen-Flask-1.0.1-hatchling.patch b/dev-python/Frozen-Flask/files/Frozen-Flask-1.0.1-hatchling.patch new file mode 100644 index 000000000000..f2c433b0b84f --- /dev/null +++ b/dev-python/Frozen-Flask/files/Frozen-Flask-1.0.1-hatchling.patch @@ -0,0 +1,34 @@ +From 8b2bd9f75deef895e3c9f076419b22a7b1fa63aa Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org> +Date: Thu, 14 Dec 2023 15:54:39 +0100 +Subject: [PATCH] Fix finding packages witch hatchling >= 1.19.0 + +Explicitly specify the package name to install, in order to fix +compatibility with `hatchling >= 1.19.0`. Starting with this version +(though Frozen-Flask is affected since 1.20.0, due to a bug +in hatchling), it is necessary to explicitly select packages if they +do not + +As of hatchling >= 1.19.0, it is necessary to explicitly specify +`packages` to use if they do not fit the default heuristics (i.e. are +disjoint from the project name). + +Since the package is now specified explicitly, the `exclude` rules are +no longer necessary. +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 2fdfefc..fcf6c1d 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -52,7 +52,7 @@ path = 'flask_frozen/__init__.py' + exclude = ['.*'] + + [tool.hatch.build.targets.wheel] +-exclude = ['docs', 'tests'] ++packages = ['flask_frozen'] + + [tool.hatch.envs.doc] + features = ['doc'] |