summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-07-16 08:32:32 +0200
committerMichał Górny <mgorny@gentoo.org>2021-07-16 08:54:31 +0200
commite4be42bd47b6a4a0584e92cb9ea6171ef46ed5b0 (patch)
tree096aae7addaacefd049e744659efe71891eec6c1 /dev-python/backports-entry_points_selectable
parentdev-python/s3transfer: Bump to 0.5.0 (diff)
downloadgentoo-e4be42bd47b6a4a0584e92cb9ea6171ef46ed5b0.tar.gz
gentoo-e4be42bd47b6a4a0584e92cb9ea6171ef46ed5b0.tar.bz2
gentoo-e4be42bd47b6a4a0584e92cb9ea6171ef46ed5b0.zip
dev-python/backports-entry_points...: New NIH dep for virtualenv
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/backports-entry_points_selectable')
-rw-r--r--dev-python/backports-entry_points_selectable/Manifest1
-rw-r--r--dev-python/backports-entry_points_selectable/backports-entry_points_selectable-1.1.0.ebuild30
-rw-r--r--dev-python/backports-entry_points_selectable/metadata.xml11
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/backports-entry_points_selectable/Manifest b/dev-python/backports-entry_points_selectable/Manifest
new file mode 100644
index 000000000000..4338b348b763
--- /dev/null
+++ b/dev-python/backports-entry_points_selectable/Manifest
@@ -0,0 +1 @@
+DIST backports.entry_points_selectable-1.1.0.gh.tar.gz 7689 BLAKE2B e7fb4372838b47e65e50d91acb034afaf326947bd76bbdf14b57834b94c72fb62afa6526931a96cc1e10b43eca9d95dce7fde431c24a4e15a4b2569ddf42faeb SHA512 abf8f5d228b52281160cedfd017f1a4273b8fce01ed29e9f0417f750125abacaf97a3cc6f363849702d1dc6f3c40602461f79bfcc2a36a3dfb962af1112046d2
diff --git a/dev-python/backports-entry_points_selectable/backports-entry_points_selectable-1.1.0.ebuild b/dev-python/backports-entry_points_selectable/backports-entry_points_selectable-1.1.0.ebuild
new file mode 100644
index 000000000000..8911b4a6fa0c
--- /dev/null
+++ b/dev-python/backports-entry_points_selectable/backports-entry_points_selectable-1.1.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+inherit distutils-r1
+
+MY_P=${P/-/.}
+DESCRIPTION="Compatibility shim providing selectable entry points"
+HOMEPAGE="
+ https://github.com/jaraco/backports.entry_points_selectable/
+ https://pypi.org/project/backports.entry-points-selectable/"
+SRC_URI="
+ https://github.com/jaraco/backports.entry_points_selectable/archive/v${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ $(python_gen_cond_dep '
+ dev-python/importlib_metadata[${PYTHON_USEDEP}]
+ ' pypy3)"
+
+distutils_enable_tests pytest
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
diff --git a/dev-python/backports-entry_points_selectable/metadata.xml b/dev-python/backports-entry_points_selectable/metadata.xml
new file mode 100644
index 000000000000..d6f15c81c771
--- /dev/null
+++ b/dev-python/backports-entry_points_selectable/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">jaraco/backports.entry_points_selectable</remote-id>
+ <remote-id type="pypi">backports.entry-points-selectable</remote-id>
+ </upstream>
+</pkgmetadata>