public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/mkdocstrings-python/, dev-python/mkdocstrings-python/files/
@ 2023-05-11 10:56 Marek Szuba
  0 siblings, 0 replies; 2+ messages in thread
From: Marek Szuba @ 2023-05-11 10:56 UTC (permalink / raw
  To: gentoo-commits

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/mkdocstrings-python/, dev-python/mkdocstrings-python/files/
@ 2023-06-18 11:56 Michał Górny
  0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2023-06-18 11:56 UTC (permalink / raw
  To: gentoo-commits

commit:     8078b4feb74e7381bea57a591c722b3d7a35a801
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 18 11:30:36 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jun 18 11:56:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8078b4fe

dev-python/mkdocstrings-python: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/mkdocstrings-python/Manifest            |  2 --
 .../mkdocstrings-python-0.10.1-build_backend.patch | 11 ------
 .../mkdocstrings-python-1.0.0.ebuild               | 30 ----------------
 .../mkdocstrings-python-1.1.0.ebuild               | 40 ----------------------
 4 files changed, 83 deletions(-)

diff --git a/dev-python/mkdocstrings-python/Manifest b/dev-python/mkdocstrings-python/Manifest
index cd4c991f152b..79af110d7939 100644
--- a/dev-python/mkdocstrings-python/Manifest
+++ b/dev-python/mkdocstrings-python/Manifest
@@ -1,3 +1 @@
-DIST mkdocstrings-python-1.0.0.gh.tar.gz 126036 BLAKE2B aa5512d745e6da92a1fb622654d374170bf4a0d6957ed1425f6bfbc3dc96fb86125f4b04fcc7a7daf9a2e23dae3d42d3de6a94007b25fea6ca1eab234d9c07cf SHA512 0b22953d4074b46f407b9303e4b040f7c0ee47b1202a463bcda66079e371840be3775d0d2fb38b3398b6fdbe70fbb887593d6d0b0c6cd5f42ad76365582796f9
-DIST mkdocstrings-python-1.1.0.gh.tar.gz 126744 BLAKE2B 02e70d2f6f63e7f9eaafa05a9a64a5aefb9122aa80815ffbd125d0bcc02813fe7d7c160696da49cae858ac11093f98dbf3588ffcc7d15ee360cb527484a56da6 SHA512 a9c0a165bd1d0d012e1ba4b2d6198edc6be0fbb28784dff07519fd232294f3932be6bbc9268181a0d1b2a275484cabb17719ccab33e659367a702641464ca4a9
 DIST mkdocstrings-python-1.1.2.gh.tar.gz 127162 BLAKE2B 1aa77a6846b8f4787091691c3862428400cf73e5b51f3d7a278e9d871136a3693d80a1fe79d6999dedefe66b0a14402e0d70c448f9260c1528024a56cf223c69 SHA512 40c8247bc6217e73c23555fb3de14ddc8995e1870c7bcee85c12c885b9710cd303da3cec22b4ae44ff5de050486958447d2d489d9739b9860c432e9e00fec0d7

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
deleted file mode 100644
index 32482faed216..000000000000
--- a/dev-python/mkdocstrings-python/files/mkdocstrings-python-0.10.1-build_backend.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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/mkdocstrings-python-1.0.0.ebuild b/dev-python/mkdocstrings-python/mkdocstrings-python-1.0.0.ebuild
deleted file mode 100644
index 2eea31a9988f..000000000000
--- a/dev-python/mkdocstrings-python/mkdocstrings-python-1.0.0.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# 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 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}]
-	dev-python/mkdocstrings[${PYTHON_USEDEP}]"
-BDEPEND="test? ( dev-python/mkdocs-material[${PYTHON_USEDEP}] )"
-
-PATCHES=(
-	"${FILESDIR}"/${PN}-0.10.1-build_backend.patch
-)
-
-S="${WORKDIR}"/python-${PV}
-
-distutils_enable_tests pytest

diff --git a/dev-python/mkdocstrings-python/mkdocstrings-python-1.1.0.ebuild b/dev-python/mkdocstrings-python/mkdocstrings-python-1.1.0.ebuild
deleted file mode 100644
index b6da1191411b..000000000000
--- a/dev-python/mkdocstrings-python/mkdocstrings-python-1.1.0.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# 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-backend
-
-inherit distutils-r1
-
-DESCRIPTION="Python handler for dev-python/mkdocstrings"
-HOMEPAGE="
-	https://mkdocstrings.github.io/python/
-	https://github.com/mkdocstrings/python/
-	https://pypi.org/project/mkdocstrings-python/
-"
-# Tests need files absent from the PyPI tarballs
-SRC_URI="
-	https://github.com/mkdocstrings/python/archive/${PV}.tar.gz
-		-> ${P}.gh.tar.gz
-"
-S="${WORKDIR}/python-${PV}"
-
-LICENSE="ISC"
-SLOT="0"
-KEYWORDS="~amd64 ~riscv"
-
-RDEPEND="
-	dev-python/griffe[${PYTHON_USEDEP}]
-	dev-python/mkdocstrings[${PYTHON_USEDEP}]
-"
-BDEPEND="
-	test? (
-		dev-python/mkdocs-material[${PYTHON_USEDEP}]
-	)
-"
-
-distutils_enable_tests pytest
-
-export PDM_BUILD_SCM_VERSION=${PV}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-18 11:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-11 10:56 [gentoo-commits] repo/gentoo:master commit in: dev-python/mkdocstrings-python/, dev-python/mkdocstrings-python/files/ Marek Szuba
  -- strict thread matches above, loose matches on Subject: below --
2023-06-18 11:56 Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox