summaryrefslogtreecommitdiff
path: root/dev-python/flit
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-02-20 06:54:43 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2025-02-20 06:54:43 +0000
commit0d15b8abb3a09d34e4e1657f4a8b8cb381731b98 (patch)
treef593a913f1d4ea6ed9397633db753f56975d72f6 /dev-python/flit
parent590fc5fef7eee098c58f5170cad7b8eaf7b40b22 (diff)
downloadbaldeagleos-repo-0d15b8abb3a09d34e4e1657f4a8b8cb381731b98.tar.gz
baldeagleos-repo-0d15b8abb3a09d34e4e1657f4a8b8cb381731b98.tar.xz
baldeagleos-repo-0d15b8abb3a09d34e4e1657f4a8b8cb381731b98.zip
Adding metadata
Diffstat (limited to 'dev-python/flit')
-rw-r--r--dev-python/flit/Manifest1
-rw-r--r--dev-python/flit/flit-3.11.0.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/flit/Manifest b/dev-python/flit/Manifest
index 025e2acd6ebb..aeb5e8771964 100644
--- a/dev-python/flit/Manifest
+++ b/dev-python/flit/Manifest
@@ -1 +1,2 @@
DIST flit-3.10.1.tar.gz 143162 BLAKE2B d98c18a161380c2eb605083a700d7f5226fdc08f72defe9fd60cc8dba5947e9904d4a4df05a9620ef2fcbef8c4913f596b19ef365df7614c4fba7434acc764fd SHA512 37ff7e4de10d4b123cee854e692511574748a050d177e50f06330223ae94a4347e358ff07ca9545c3c8346c51c6734227808929f59401fdd062498d6bf69209a
+DIST flit-3.11.0.tar.gz 153236 BLAKE2B b06660e1b57279b0d855dad6116e25115c9c52eae5fb8654b79608661affff8e98a2aaf011c0cb4eb940047a6d219825382e3db6266a6a1cc919bb16c6fadf67 SHA512 704774ab9b8154056a82f59814c2589ad4b3c8593a8e0de75eae99b1517211790604988efaf4f32e5f49fd472ec00efe8269b72524f285a647f4b8126699a4b7
diff --git a/dev-python/flit/flit-3.11.0.ebuild b/dev-python/flit/flit-3.11.0.ebuild
new file mode 100644
index 000000000000..9894edf54c9d
--- /dev/null
+++ b/dev-python/flit/flit-3.11.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 2019-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Simplified packaging of Python modules"
+HOMEPAGE="
+ https://github.com/pypa/flit/
+ https://flit.readthedocs.io/
+ https://pypi.org/project/flit/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~mips ~x86"
+
+RDEPEND="
+ dev-python/docutils[${PYTHON_USEDEP}]
+ >=dev-python/flit-core-${PV}[${PYTHON_USEDEP}]
+ dev-python/pip[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/tomli-w[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}
+ sys-apps/grep
+ test? (
+ dev-python/responses[${PYTHON_USEDEP}]
+ dev-python/testpath[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_DESELECT=(
+ # requires Internet
+ tests/test_config.py::test_invalid_classifier
+ # failing due to Gentoo pip patches
+ tests/test_install.py::InstallTests::test_install_data_dir
+ tests/test_install.py::InstallTests::test_install_module_pep621
+ tests/test_install.py::InstallTests::test_symlink_data_dir
+ tests/test_install.py::InstallTests::test_symlink_module_pep621
+)
+
+distutils_enable_tests pytest
+distutils_enable_sphinx doc \
+ dev-python/sphinxcontrib-github-alt \
+ dev-python/pygments-github-lexers \
+ dev-python/sphinx-rtd-theme
+
+src_prepare() {
+ # make sure system install is used
+ rm -r flit_core || die
+ distutils-r1_src_prepare
+}