public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Albrechtskirchinger" <falbrechtskirchinger@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pdm/
Date: Tue, 21 Mar 2023 17:17:44 +0000 (UTC)	[thread overview]
Message-ID: <1679418831.366f4d994703d249d2097522bbd66792456810e7.falbrechtskirchinger@gentoo> (raw)

commit:     366f4d994703d249d2097522bbd66792456810e7
Author:     Florian Albrechtskirchinger <falbrechtskirchinger <AT> gmail <DOT> com>
AuthorDate: Tue Mar 21 16:44:40 2023 +0000
Commit:     Florian Albrechtskirchinger <falbrechtskirchinger <AT> gmail <DOT> com>
CommitDate: Tue Mar 21 17:13:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=366f4d99

dev-python/pdm: new package, add 2.4.9

Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger <AT> gmail.com>

 dev-python/pdm/Manifest         |  1 +
 dev-python/pdm/metadata.xml     | 12 +++++++
 dev-python/pdm/pdm-2.4.9.ebuild | 70 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 83 insertions(+)

diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest
new file mode 100644
index 000000000..1e98cd157
--- /dev/null
+++ b/dev-python/pdm/Manifest
@@ -0,0 +1 @@
+DIST pdm-2.4.9.tar.gz 2883026 BLAKE2B f9b481562d257f54f67d768cb40d6371f97a38880cc4f30e2a8615bdc75baf050301df97ed95c66c2553919d36cac5111b7d8c0efad362e97925fc8064a876fb SHA512 1a8952c99e408c7a37d3f3f1e3655cfbe8674e323a21501cdfe7740580ddb8b854b69c9bec46d091027fe16a310929f58e43c26d28e10a5d0f3a81c356edd1fe

diff --git a/dev-python/pdm/metadata.xml b/dev-python/pdm/metadata.xml
new file mode 100644
index 000000000..16e052a25
--- /dev/null
+++ b/dev-python/pdm/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>falbrechtskirchinger@gmail.com</email>
+    <name>Florian Albrechtskirchinger</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="pypi">pdm</remote-id>
+    <remote-id type="github">pdm-project/pdm</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/dev-python/pdm/pdm-2.4.9.ebuild b/dev-python/pdm/pdm-2.4.9.ebuild
new file mode 100644
index 000000000..c5f0fc544
--- /dev/null
+++ b/dev-python/pdm/pdm-2.4.9.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=pdm
+PYTHON_COMPAT=( python3_{10..11} pypy3 )
+
+inherit bash-completion-r1 distutils-r1 pypi
+
+DESCRIPTION="Modern Python package and dependency manager supporting latest PEP standards"
+HOMEPAGE="
+	https://github.com/pdm-project/pdm/
+	https://pypi.org/project/pdm/
+"
+
+LICENSE="MIT"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+
+RDEPEND="
+	dev-python/blinker[${PYTHON_USEDEP}]
+	dev-python/certifi[${PYTHON_USEDEP}]
+	dev-python/packaging[${PYTHON_USEDEP}]
+	dev-python/platformdirs[${PYTHON_USEDEP}]
+	dev-python/rich[${PYTHON_USEDEP}]
+	dev-python/virtualenv[${PYTHON_USEDEP}]
+	dev-python/pyproject-hooks[${PYTHON_USEDEP}]
+	dev-python/requests-toolbelt[${PYTHON_USEDEP}]
+	dev-python/unearth[${PYTHON_USEDEP}]
+	dev-python/findpython[${PYTHON_USEDEP}]
+	dev-python/tomlkit[${PYTHON_USEDEP}]
+	dev-python/shellingham[${PYTHON_USEDEP}]
+	dev-python/python-dotenv[${PYTHON_USEDEP}]
+	<dev-python/resolvelib-1.0.0[${PYTHON_USEDEP}]
+	dev-python/installer[${PYTHON_USEDEP}]
+	dev-python/cachecontrol[${PYTHON_USEDEP}]
+
+	$(python_gen_cond_dep '
+		dev-python/tomli[${PYTHON_USEDEP}]
+	' 3.10)
+"
+BDEPEND="
+	${RDEPEND}
+	test? (
+		dev-python/pytest-mock[${PYTHON_USEDEP}]
+		dev-python/pytest-xdist[${PYTHON_USEDEP}]
+		dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
+	)
+"
+
+distutils_enable_tests pytest
+
+python_compile_all() {
+	PDM_CHECK_UPDATE=0 "${EPYTHON}" -m pdm completion bash > completion.bash || die
+	PDM_CHECK_UPDATE=0 "${EPYTHON}" -m pdm completion zsh > completion.zsh || die
+}
+
+python_test() {
+	epytest -m "not network"
+}
+
+python_install_all() {
+	distutils-r1_python_install_all
+
+	newbashcomp completion.bash pdm
+
+	insinto /usr/share/zsh/site-functions
+	newins completion.zsh _pdm
+}


             reply	other threads:[~2023-03-21 17:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-21 17:17 Florian Albrechtskirchinger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-04-09 10:05 [gentoo-commits] repo/proj/guru:master commit in: dev-python/pdm/ Viorel Munteanu
2023-04-08  6:37 ` [gentoo-commits] repo/proj/guru:dev " Viorel Munteanu
2023-04-09 10:05 [gentoo-commits] repo/proj/guru:master " Viorel Munteanu
2023-04-08  6:37 ` [gentoo-commits] repo/proj/guru:dev " Viorel Munteanu
2023-05-05  8:09 Florian Albrechtskirchinger
2023-05-05  8:09 Florian Albrechtskirchinger
2023-05-11 17:07 Florian Albrechtskirchinger
2023-06-11 10:44 Florian Albrechtskirchinger
2023-07-22 12:53 Anna Vyalkova

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=1679418831.366f4d994703d249d2097522bbd66792456810e7.falbrechtskirchinger@gentoo \
    --to=falbrechtskirchinger@gmail.com \
    --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