public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mkdocstrings-python/, dev-python/mkdocstrings-python/files/
Date: Thu, 11 May 2023 10:56:20 +0000 (UTC)	[thread overview]
Message-ID: <1683802567.d7b3b9bdf216e7456555bc4d47b916f718fdd6e1.marecki@gentoo> (raw)

commit:     d7b3b9bdf216e7456555bc4d47b916f718fdd6e1
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Thu May 11 10:04:57 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu May 11 10:56:07 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7b3b9bd

dev-python/mkdocstrings-python: new package, add 0.10.1

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-python/mkdocstrings-python/Manifest            |  1 +
 .../mkdocstrings-python-0.10.1-build_backend.patch | 11 +++++++++
 dev-python/mkdocstrings-python/metadata.xml        | 13 ++++++++++
 .../mkdocstrings-python-0.10.1.ebuild              | 28 ++++++++++++++++++++++
 4 files changed, 53 insertions(+)

diff --git a/dev-python/mkdocstrings-python/Manifest b/dev-python/mkdocstrings-python/Manifest
new file mode 100644
index 000000000000..4099a7aae251
--- /dev/null
+++ b/dev-python/mkdocstrings-python/Manifest
@@ -0,0 +1 @@
+DIST mkdocstrings-python-0.10.1.gh.tar.gz 124231 BLAKE2B 3798a50aeebd8fc1712dddefb3565d1b3b340b0ad81c8908f97690eaad9c1169f3b02385155dc919319dd46dd00371a93b98ece67146bef64cea971f2f37dbb2 SHA512 9e5b9dd3ea66d462627e3fab38f7be35343f11fbe7188fb656fd187f87f6cd57b1c4bf9838e9ce63a35e9f7ec181a2b5b520350dff8ed7ed5960b979aa799e12

diff --git a/dev-python/mkdocstrings-python/files/mkdocstrings-python-0.10.1-build_backend.patch b/dev-python/mkdocstrings-python/files/mkdocstrings-python-0.10.1-build_backend.patch
new file mode 100644
index 000000000000..32482faed216
--- /dev/null
+++ b/dev-python/mkdocstrings-python/files/mkdocstrings-python-0.10.1-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/mkdocstrings-python/metadata.xml b/dev-python/mkdocstrings-python/metadata.xml
new file mode 100644
index 000000000000..61498f99a3a5
--- /dev/null
+++ b/dev-python/mkdocstrings-python/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">mkdocstrings-python</remote-id>
+		<remote-id type="github">mkdocstrings/python</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-python/mkdocstrings-python/mkdocstrings-python-0.10.1.ebuild b/dev-python/mkdocstrings-python/mkdocstrings-python-0.10.1.ebuild
new file mode 100644
index 000000000000..d01d6329708e
--- /dev/null
+++ b/dev-python/mkdocstrings-python/mkdocstrings-python-0.10.1.ebuild
@@ -0,0 +1,28 @@
+# 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="Python language handler for dev-python/mkdocstrings"
+HOMEPAGE="https://mkdocstrings.github.io/python/ https://pypi.org/project/mkdocstrings-python/"
+# Tests need files absent from the PyPI tarballs
+SRC_URI="https://github.com/mkdocstrings/python/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+RDEPEND="dev-python/griffe[${PYTHON_USEDEP}]"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-0.10.1-build_backend.patch
+)
+
+S="${WORKDIR}"/python-${PV}
+
+distutils_enable_tests pytest


             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/mkdocstrings-python/, dev-python/mkdocstrings-python/files/ 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=1683802567.d7b3b9bdf216e7456555bc4d47b916f718fdd6e1.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