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/pathable/
Date: Fri, 02 Sep 2022 15:18:08
Message-Id: 1662131828.b6a4ab00fbb44e99cbcbcb667d58c915ba56c8d0.arthurzam@gentoo
1 commit: b6a4ab00fbb44e99cbcbcb667d58c915ba56c8d0
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 2 14:52:13 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 2 15:17:08 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6a4ab00
7
8 dev-python/pathable: new package, add 0.4.3
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/pathable/Manifest | 1 +
13 dev-python/pathable/metadata.xml | 13 +++++++++++++
14 dev-python/pathable/pathable-0.4.3.ebuild | 28 ++++++++++++++++++++++++++++
15 3 files changed, 42 insertions(+)
16
17 diff --git a/dev-python/pathable/Manifest b/dev-python/pathable/Manifest
18 new file mode 100644
19 index 000000000000..28d17c8e2e1b
20 --- /dev/null
21 +++ b/dev-python/pathable/Manifest
22 @@ -0,0 +1 @@
23 +DIST pathable-0.4.3.gh.tar.gz 21412 BLAKE2B 6f62cd879723ff14c2fd7100c9ce7135d200fe04afb473180518ed2e80c5bc5836f82334b1dbbbc8fa80b428fa33db1a8ffafcd8b756cc00a24a809094f61dd2 SHA512 5481ba1e6f4ab4318b9a7bd1d1ddd152f715b001bc7edd1b1221501da1a95578ee6601ce4ce0bdb98773c7954212687d249418e69acef1b350fc5d6cb188dbfc
24
25 diff --git a/dev-python/pathable/metadata.xml b/dev-python/pathable/metadata.xml
26 new file mode 100644
27 index 000000000000..8ce0babd047a
28 --- /dev/null
29 +++ b/dev-python/pathable/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">pathable</remote-id>
41 + <remote-id type="github">p1c2u/pathable</remote-id>
42 + </upstream>
43 +</pkgmetadata>
44
45 diff --git a/dev-python/pathable/pathable-0.4.3.ebuild b/dev-python/pathable/pathable-0.4.3.ebuild
46 new file mode 100644
47 index 000000000000..2713754dec4e
48 --- /dev/null
49 +++ b/dev-python/pathable/pathable-0.4.3.ebuild
50 @@ -0,0 +1,28 @@
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=poetry
57 +PYTHON_COMPAT=( pypy3 python3_{8..11} )
58 +inherit distutils-r1
59 +
60 +DESCRIPTION="Object-oriented paths"
61 +HOMEPAGE="
62 + https://pypi.org/project/pathable/
63 + https://github.com/p1c2u/pathable
64 +"
65 +SRC_URI="
66 + https://github.com/p1c2u/pathable/archive/${PV}.tar.gz -> ${P}.gh.tar.gz
67 +"
68 +
69 +LICENSE="Apache-2.0"
70 +SLOT="0"
71 +KEYWORDS="~amd64"
72 +
73 +distutils_enable_tests pytest
74 +
75 +src_prepare() {
76 + sed -e '/--cov/d' -i pyproject.toml || die
77 + distutils-r1_src_prepare
78 +}