From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/griffe/files/, dev-python/griffe/
Date: Thu, 11 May 2023 10:56:20 +0000 (UTC) [thread overview]
Message-ID: <1683802566.e8ef6beb9d34217a8bf765b6a795b719bc48b4bd.marecki@gentoo> (raw)
commit: e8ef6beb9d34217a8bf765b6a795b719bc48b4bd
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu May 11 10:01:41 2023 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu May 11 10:56:06 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8ef6beb
dev-python/griffe: new package, add 0.27.4
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
dev-python/griffe/Manifest | 1 +
.../griffe/files/griffe-0.27.4-build_backend.patch | 11 +++++++++
dev-python/griffe/griffe-0.27.4.ebuild | 26 ++++++++++++++++++++++
dev-python/griffe/metadata.xml | 13 +++++++++++
4 files changed, 51 insertions(+)
diff --git a/dev-python/griffe/Manifest b/dev-python/griffe/Manifest
new file mode 100644
index 000000000000..4cf90a5b9317
--- /dev/null
+++ b/dev-python/griffe/Manifest
@@ -0,0 +1 @@
+DIST griffe-0.27.4.gh.tar.gz 154404 BLAKE2B 40c3a67b47561eeaf846a53ee678e3473a4064ab58c1a07b823b914e2fcfda15e43de9dc6bac074eeb238838d27a9c14f4314a481590c83df1e83dcce320525f SHA512 bb927d956b289048950343d087da5be057fbef8e38feff345ce5f46ca1edfeb87a6fe94b8be18d7c76beef84c69dc97a3972177aac69429a4633f1543906b8e5
diff --git a/dev-python/griffe/files/griffe-0.27.4-build_backend.patch b/dev-python/griffe/files/griffe-0.27.4-build_backend.patch
new file mode 100644
index 000000000000..32482faed216
--- /dev/null
+++ b/dev-python/griffe/files/griffe-0.27.4-build_backend.patch
@@ -0,0 +1,11 @@
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,6 +1,6 @@
+ [build-system]
+-requires = ["pdm-backend"]
+-build-backend = "pdm.backend"
++requires = ["pdm-pep517"]
++build-backend = "pdm.pep517.api"
+
+ [project]
+ name = "griffe"
diff --git a/dev-python/griffe/griffe-0.27.4.ebuild b/dev-python/griffe/griffe-0.27.4.ebuild
new file mode 100644
index 000000000000..7d4993cedf3c
--- /dev/null
+++ b/dev-python/griffe/griffe-0.27.4.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_USE_PEP517=pdm
+
+inherit distutils-r1
+
+DESCRIPTION="Signature generator for Python programs"
+HOMEPAGE="https://mkdocstrings.github.io/griffe/ https://pypi.org/project/griffe/"
+# Tests need files absent from the PyPI tarballs
+SRC_URI="https://github.com/mkdocstrings/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+RDEPEND=">=dev-python/colorama-0.4[${PYTHON_USEDEP}]"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.27.4-build_backend.patch
+)
+
+distutils_enable_tests pytest
diff --git a/dev-python/griffe/metadata.xml b/dev-python/griffe/metadata.xml
new file mode 100644
index 000000000000..494b1dde9407
--- /dev/null
+++ b/dev-python/griffe/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>marecki@gentoo.org</email>
+ <name>Marek Szuba</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="pypi">griffe</remote-id>
+ <remote-id type="github">mkdocstrings/griffe</remote-id>
+ </upstream>
+</pkgmetadata>
next reply other threads:[~2023-05-11 10:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-11 10:56 Marek Szuba [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-06-18 11:56 [gentoo-commits] repo/gentoo:master commit in: dev-python/griffe/files/, dev-python/griffe/ Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1683802566.e8ef6beb9d34217a8bf765b6a795b719bc48b4bd.marecki@gentoo \
--to=marecki@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox