commit: 306624e98c723c33bda856b2a49c6a8587fbeba8
Author: Alexander Puck Neuwirth <apn-pucky <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 24 17:23:57 2025 +0000
Commit: Alexander Puck Neuwirth <apn-pucky <AT> gentoo <DOT> org>
CommitDate: Wed Sep 24 19:04:29 2025 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=306624e9
dev-python/flexcache: new package, add 0.3, 9999
Signed-off-by: Alexander Puck Neuwirth <apn-pucky <AT> gentoo.org>
dev-python/flexcache/flexcache-0.3.ebuild | 28 ++++++++++++++++++++++++++++
dev-python/flexcache/flexcache-9999.ebuild | 28 ++++++++++++++++++++++++++++
dev-python/flexcache/metadata.xml | 12 ++++++++++++
3 files changed, 68 insertions(+)
diff --git a/dev-python/flexcache/flexcache-0.3.ebuild
b/dev-python/flexcache/flexcache-0.3.ebuild
new file mode 100644
index 000000000..275cb1425
--- /dev/null
+++ b/dev-python/flexcache/flexcache-0.3.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DESCRIPTION="Saves and loads to the cache a transformed versions of a source
object."
+HOMEPAGE="https://github.com/hgrecco/flexcache"
+
+LICENSE="BSD"
+SLOT="0"
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/hgrecco/flexcache"
+else
+ inherit pypi
+ KEYWORDS="~amd64"
+fi
+
+DEPEND="
+ dev-python/typing-extensions[${PYTHON_USEDEP}]
+"
+RDEPEND="${DEPEND}"
+
+distutils_enable_tests pytest
diff --git a/dev-python/flexcache/flexcache-9999.ebuild
b/dev-python/flexcache/flexcache-9999.ebuild
new file mode 100644
index 000000000..e1a767ae8
--- /dev/null
+++ b/dev-python/flexcache/flexcache-9999.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+DISTUTILS_USE_PEP517=hatchling
+inherit distutils-r1
+
+DESCRIPTION="Saves and loads to the cache a transformed versions of a source
object."
+HOMEPAGE="https://github.com/hgrecco/flexcache"
+
+LICENSE="BSD"
+SLOT="0"
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/hgrecco/flexcache"
+else
+ inherit pypi
+ KEYWORDS="~amd64"
+fi
+
+DEPEND="
+ dev-python/typing-extensions[${PYTHON_USEDEP}]
+"
+RDEPEND="${DEPEND}"
+
+distutils_enable_tests pytest
diff --git a/dev-python/flexcache/metadata.xml
b/dev-python/flexcache/metadata.xml
new file mode 100644
index 000000000..6ace26345
--- /dev/null
+++ b/dev-python/flexcache/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>[email protected]</email>
+ <name>Alexander Puck Neuwirth</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">flexcache</remote-id>
+ <remote-id type="github">hgrecco/flexcache</remote-id>
+ </upstream>
+</pkgmetadata>