summaryrefslogtreecommitdiff
path: root/dev-python/flit
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-01-17 09:28:46 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-01-17 09:28:46 +0000
commitcbc5aa36c525ed7f31e3f074acb5f77ca2178a1d (patch)
treea6f6759e9c23e6a44d33f7b733643b20305e4bef /dev-python/flit
parent1c6364f0bb462f48ce30a4d1db937bd4df251cc3 (diff)
downloadbaldeagleos-repo-cbc5aa36c525ed7f31e3f074acb5f77ca2178a1d.tar.gz
baldeagleos-repo-cbc5aa36c525ed7f31e3f074acb5f77ca2178a1d.tar.xz
baldeagleos-repo-cbc5aa36c525ed7f31e3f074acb5f77ca2178a1d.zip
Adding metadata
Diffstat (limited to 'dev-python/flit')
-rw-r--r--dev-python/flit/flit-3.6.0-r2.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/flit/flit-3.6.0-r2.ebuild b/dev-python/flit/flit-3.6.0-r2.ebuild
new file mode 100644
index 000000000000..9406ac29972e
--- /dev/null
+++ b/dev-python/flit/flit-3.6.0-r2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 2019-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=flit
+PYTHON_COMPAT=( python3_{6,7,8,9,10} pypy3 )
+inherit distutils-r1
+
+DESCRIPTION="Simplified packaging of Python modules"
+HOMEPAGE="https://github.com/pypa/flit https://flit.readthedocs.io/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-python/docutils[${PYTHON_USEDEP}]
+ >=dev-python/flit_core-3.2.0[${PYTHON_USEDEP}]
+ dev-python/requests[${PYTHON_USEDEP}]
+ dev-python/requests_download[${PYTHON_USEDEP}]
+ dev-python/tomli[${PYTHON_USEDEP}]
+ dev-python/tomli-w[${PYTHON_USEDEP}]
+"
+BDEPEND="${RDEPEND}
+ sys-apps/grep
+ test? (
+ dev-python/pip[${PYTHON_USEDEP}]
+ dev-python/responses[${PYTHON_USEDEP}]
+ dev-python/testpath[${PYTHON_USEDEP}]
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}/flit-3.2.0-tests.patch"
+)
+
+distutils_enable_tests pytest
+distutils_enable_sphinx doc \
+ dev-python/sphinxcontrib-github-alt \
+ dev-python/pygments-github-lexers \
+
+src_prepare() {
+ # make sure system install is used
+ rm -r flit_core || die
+ distutils-r1_src_prepare
+}