Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pip-run/
Date: Mon, 31 Jan 2022 18:26:08
Message-Id: 1643653554.b29cb5b37cc7bdf259d9d8704125d57de5046635.arthurzam@gentoo
1 commit: b29cb5b37cc7bdf259d9d8704125d57de5046635
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 31 18:21:15 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 31 18:25:54 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b29cb5b3
7
8 dev-python/pip-run: new package, add 8.8.0
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/pip-run/Manifest | 1 +
13 dev-python/pip-run/metadata.xml | 13 +++++++++++
14 dev-python/pip-run/pip-run-8.8.0.ebuild | 40 +++++++++++++++++++++++++++++++++
15 3 files changed, 54 insertions(+)
16
17 diff --git a/dev-python/pip-run/Manifest b/dev-python/pip-run/Manifest
18 new file mode 100644
19 index 000000000000..919e3b249dd7
20 --- /dev/null
21 +++ b/dev-python/pip-run/Manifest
22 @@ -0,0 +1 @@
23 +DIST pip-run-8.8.0.gh.tar.gz 22145 BLAKE2B 18b915a29a1767022a609e356005e87f035c3d9bab6dd5ab44f9f42668f4d64c4ee5360cb92b217aa2b7b94e0fbfdb5f0e494e668d9bed8badc38ab36cced353 SHA512 301083a34dea08035819024f17d8108f9751a765cdfc8f2e273b948c7746111efedd80765a63c3ac145bdf7d2b41c9a0b2b20286181c4c94cbc5501fb81eb74d
24
25 diff --git a/dev-python/pip-run/metadata.xml b/dev-python/pip-run/metadata.xml
26 new file mode 100644
27 index 000000000000..00337c32ff89
28 --- /dev/null
29 +++ b/dev-python/pip-run/metadata.xml
30 @@ -0,0 +1,13 @@
31 +<?xml version="1.0" encoding="UTF-8"?>
32 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
33 +<pkgmetadata>
34 + <maintainer type="project">
35 + <email>python@g.o</email>
36 + <name>Python</name>
37 + </maintainer>
38 + <stabilize-allarches/>
39 + <upstream>
40 + <remote-id type="pypi">pip-run</remote-id>
41 + <remote-id type="github">jaraco/pip-run</remote-id>
42 + </upstream>
43 +</pkgmetadata>
44
45 diff --git a/dev-python/pip-run/pip-run-8.8.0.ebuild b/dev-python/pip-run/pip-run-8.8.0.ebuild
46 new file mode 100644
47 index 000000000000..accd1c717974
48 --- /dev/null
49 +++ b/dev-python/pip-run/pip-run-8.8.0.ebuild
50 @@ -0,0 +1,40 @@
51 +# Copyright 2022 Gentoo Authors
52 +# Distributed under the terms of the GNU General Public License v2
53 +
54 +EAPI=8
55 +
56 +DISTUTILS_USE_PEP517=setuptools
57 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
58 +inherit distutils-r1
59 +
60 +DESCRIPTION="Install packages and run Python with them"
61 +HOMEPAGE="https://pypi.org/project/pip-run/
62 + https://github.com/jaraco/pip-run"
63 +SRC_URI="
64 + https://github.com/jaraco/pip-run/archive/v${PV}.tar.gz
65 + -> ${P}.gh.tar.gz"
66 +
67 +LICENSE="MIT"
68 +SLOT="0"
69 +KEYWORDS="~amd64"
70 +
71 +RDEPEND="
72 + dev-python/autocommand[${PYTHON_USEDEP}]
73 + dev-python/packaging[${PYTHON_USEDEP}]
74 + dev-python/path-py[${PYTHON_USEDEP}]
75 + dev-python/pip[${PYTHON_USEDEP}]
76 +"
77 +BDEPEND="
78 + test? (
79 + dev-python/pygments[${PYTHON_USEDEP}]
80 + )
81 +"
82 +
83 +EPYTEST_IGNORE=(
84 + # Needs network access, and another test dep nbformat
85 + pip_run/tests/test_scripts.py
86 +)
87 +
88 +distutils_enable_tests pytest
89 +
90 +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}