summaryrefslogtreecommitdiff
path: root/dev-python/pythonfinder
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-10-27 06:40:13 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2023-10-27 06:40:13 +0000
commit532d6c10f84767f12eb9d80cbbb5564795c6e2fd (patch)
tree4d34fa75471b263a1514eccd2ea48cb074cd34c8 /dev-python/pythonfinder
parentd5f704aeefcddf84c928c77f138968554a171262 (diff)
downloadbaldeagleos-repo-532d6c10f84767f12eb9d80cbbb5564795c6e2fd.tar.gz
baldeagleos-repo-532d6c10f84767f12eb9d80cbbb5564795c6e2fd.tar.xz
baldeagleos-repo-532d6c10f84767f12eb9d80cbbb5564795c6e2fd.zip
Adding metadata
Diffstat (limited to 'dev-python/pythonfinder')
-rw-r--r--dev-python/pythonfinder/Manifest1
-rw-r--r--dev-python/pythonfinder/files/2.0.5-fix-import-cached-property.patch13
-rw-r--r--dev-python/pythonfinder/metadata.xml15
-rw-r--r--dev-python/pythonfinder/pythonfinder-2.0.5.ebuild29
4 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/pythonfinder/Manifest b/dev-python/pythonfinder/Manifest
new file mode 100644
index 000000000000..6c59aafc1289
--- /dev/null
+++ b/dev-python/pythonfinder/Manifest
@@ -0,0 +1 @@
+DIST pythonfinder-2.0.5.tar.gz 718776 BLAKE2B 32a49dbff143042554d5328b61b612e3bde7a870d53a229303b6bdd2c2ce76457bf6aadcdb215efa332407003c1319215292f3278a2808b669b5b7819af08902 SHA512 4d205c66d7ae36f4f2b8ddab9cce00f4efd5548a41d251470a515b88f8be2dcede75372b9301223822031ae663c6ccf77156531b0dd5d8972424f90641255c5b
diff --git a/dev-python/pythonfinder/files/2.0.5-fix-import-cached-property.patch b/dev-python/pythonfinder/files/2.0.5-fix-import-cached-property.patch
new file mode 100644
index 000000000000..ce1af3244fbd
--- /dev/null
+++ b/dev-python/pythonfinder/files/2.0.5-fix-import-cached-property.patch
@@ -0,0 +1,13 @@
+diff --git a/src/pythonfinder/models/path.py b/src/pythonfinder/models/path.py
+index a8fb807..a933a91 100644
+--- a/src/pythonfinder/models/path.py
++++ b/src/pythonfinder/models/path.py
+@@ -19,7 +19,7 @@ from typing import (
+ Union,
+ )
+
+-from cached_property import cached_property
++from functools import cached_property
+ from pydantic import Field, root_validator
+
+ from ..environment import (
diff --git a/dev-python/pythonfinder/metadata.xml b/dev-python/pythonfinder/metadata.xml
new file mode 100644
index 000000000000..ed0f1dc95764
--- /dev/null
+++ b/dev-python/pythonfinder/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>oz.tiram@gmail.com</email>
+ <name>Oz Tiram</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+
+ <origin>gentoo-staging</origin>
+ <stabilize-allarches/>
+</pkgmetadata> \ No newline at end of file
diff --git a/dev-python/pythonfinder/pythonfinder-2.0.5.ebuild b/dev-python/pythonfinder/pythonfinder-2.0.5.ebuild
new file mode 100644
index 000000000000..3494a5c6b092
--- /dev/null
+++ b/dev-python/pythonfinder/pythonfinder-2.0.5.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="PythonFinder: Cross Platform Search Tool for Finding Pythons"
+HOMEPAGE="
+ https://github.com/sarugaku/pythonfinder
+ https://pypi.org/project/pythonfinder/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+PATCHES=(
+ "${FILESDIR}/2.0.5-fix-import-cached-property.patch"
+)
+
+RDEPEND="
+ <dev-python/pydantic-2[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest