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/hatch-fancy-pypi-readme/
Date: Thu, 18 Aug 2022 18:11:54
Message-Id: 1660846297.9b40004705545a318419463683e698a03c43e738.arthurzam@gentoo
1 commit: 9b40004705545a318419463683e698a03c43e738
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 18 17:20:45 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 18 18:11:37 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b400047
7
8 dev-python/hatch-fancy-pypi-readme: new package, add 22.3.0
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/hatch-fancy-pypi-readme/Manifest | 1 +
13 .../hatch-fancy-pypi-readme-22.3.0.ebuild | 36 ++++++++++++++++++++++
14 dev-python/hatch-fancy-pypi-readme/metadata.xml | 13 ++++++++
15 3 files changed, 50 insertions(+)
16
17 diff --git a/dev-python/hatch-fancy-pypi-readme/Manifest b/dev-python/hatch-fancy-pypi-readme/Manifest
18 new file mode 100644
19 index 000000000000..172765ae3b7b
20 --- /dev/null
21 +++ b/dev-python/hatch-fancy-pypi-readme/Manifest
22 @@ -0,0 +1 @@
23 +DIST hatch-fancy-pypi-readme-22.3.0.gh.tar.gz 22107 BLAKE2B 7358a35ed9176d5107d406c1f99cfcf17ce409224dcad55ac845087e2fd6cc9ab88e5ea929e3b1304bbff6464cbbbd0b0d9716bcfe199dcd887c809cd6a9356a SHA512 93fe293ddce6dde450bc427d8fa492cf2b1f7d4a0e2d754873f765f588a962ca2c7c48b515ba613503bed6100b302ed91bbedb4d6a9f8d7bc10ab4b1418164e8
24
25 diff --git a/dev-python/hatch-fancy-pypi-readme/hatch-fancy-pypi-readme-22.3.0.ebuild b/dev-python/hatch-fancy-pypi-readme/hatch-fancy-pypi-readme-22.3.0.ebuild
26 new file mode 100644
27 index 000000000000..8d7f5fedb883
28 --- /dev/null
29 +++ b/dev-python/hatch-fancy-pypi-readme/hatch-fancy-pypi-readme-22.3.0.ebuild
30 @@ -0,0 +1,36 @@
31 +# Copyright 2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=hatchling
37 +PYTHON_COMPAT=( pypy3 python3_{8..11} )
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Fancy PyPI READMEs with Hatch"
41 +HOMEPAGE="
42 + https://pypi.org/project/hatch-fancy-pypi-readme/
43 + https://github.com/hynek/hatch-fancy-pypi-readme
44 +"
45 +SRC_URI="
46 + https://github.com/hynek/hatch-fancy-pypi-readme/archive/${PV}.tar.gz
47 + -> ${P}.gh.tar.gz
48 +"
49 +
50 +LICENSE="MIT"
51 +SLOT="0"
52 +KEYWORDS="~amd64"
53 +
54 +RDEPEND="
55 + dev-python/hatchling[${PYTHON_USEDEP}]
56 + $(python_gen_cond_dep '
57 + dev-python/tomli[${PYTHON_USEDEP}]
58 + ' 3.8 3.9 3.10)
59 +"
60 +
61 +distutils_enable_tests pytest
62 +
63 +EPYTEST_DESELECT=(
64 + # tests for self build a wheel? No need for that and fails.
65 + tests/test_end_to_end.py
66 +)
67
68 diff --git a/dev-python/hatch-fancy-pypi-readme/metadata.xml b/dev-python/hatch-fancy-pypi-readme/metadata.xml
69 new file mode 100644
70 index 000000000000..3942e83b36ec
71 --- /dev/null
72 +++ b/dev-python/hatch-fancy-pypi-readme/metadata.xml
73 @@ -0,0 +1,13 @@
74 +<?xml version="1.0" encoding="UTF-8"?>
75 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
76 +<pkgmetadata>
77 + <maintainer type="project">
78 + <email>python@g.o</email>
79 + <name>Python</name>
80 + </maintainer>
81 + <stabilize-allarches/>
82 + <upstream>
83 + <remote-id type="github">hynek/hatch-fancy-pypi-readme</remote-id>
84 + <remote-id type="pypi">hatch-fancy-pypi-readme</remote-id>
85 + </upstream>
86 +</pkgmetadata>