public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pdm/files/, dev-python/pdm/
@ 2023-04-10  8:32 Florian Albrechtskirchinger
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Albrechtskirchinger @ 2023-04-10  8:32 UTC (permalink / raw
  To: gentoo-commits

commit:     e18829371a9017bc788f31c98537195476d7e111
Author:     Florian Albrechtskirchinger <falbrechtskirchinger <AT> gmail <DOT> com>
AuthorDate: Mon Apr 10 08:28:23 2023 +0000
Commit:     Florian Albrechtskirchinger <falbrechtskirchinger <AT> gmail <DOT> com>
CommitDate: Mon Apr 10 08:28:23 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e1882937

dev-python/pdm: add 2.5.1

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

 dev-python/pdm/Manifest                            |  1 +
 dev-python/pdm/files/pdm-2.5.1-build-backend.patch | 12 ++++
 dev-python/pdm/pdm-2.5.1.ebuild                    | 74 ++++++++++++++++++++++
 3 files changed, 87 insertions(+)

diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest
index 1e98cd157..86ab50f52 100644
--- a/dev-python/pdm/Manifest
+++ b/dev-python/pdm/Manifest
@@ -1 +1,2 @@
 DIST pdm-2.4.9.tar.gz 2883026 BLAKE2B f9b481562d257f54f67d768cb40d6371f97a38880cc4f30e2a8615bdc75baf050301df97ed95c66c2553919d36cac5111b7d8c0efad362e97925fc8064a876fb SHA512 1a8952c99e408c7a37d3f3f1e3655cfbe8674e323a21501cdfe7740580ddb8b854b69c9bec46d091027fe16a310929f58e43c26d28e10a5d0f3a81c356edd1fe
+DIST pdm-2.5.1.tar.gz 3050818 BLAKE2B bd450e7e1cde0820180910f1ff8a021db1dbf490af3b83cdf56d81ba2082544439257ce51db9b78dd9e5d00f9c17289e4a7d844873220acd631972bd7bf0ee9c SHA512 f91aeda2eb888624e028e041592b981ceff935553623bef770af15e06f57db44c5a0aa12eab07dc6404c6374e03793ea1e82532175cb6b396962cc4b590d132d

diff --git a/dev-python/pdm/files/pdm-2.5.1-build-backend.patch b/dev-python/pdm/files/pdm-2.5.1-build-backend.patch
new file mode 100644
index 000000000..9e446af96
--- /dev/null
+++ b/dev-python/pdm/files/pdm-2.5.1-build-backend.patch
@@ -0,0 +1,12 @@
+--- pdm-2.5.1/pyproject.toml.orig	2023-04-10 08:40:02.362534459 +0200
++++ pdm-2.5.1/pyproject.toml	2023-04-10 08:41:01.454905769 +0200
+@@ -199,7 +199,5 @@
+ ]
+ 
+ [build-system]
+-requires = [
+-    "pdm-backend",
+-]
+-build-backend = "pdm.backend"
++requires = ["pdm-pep517>=1.0"]
++build-backend = "pdm.pep517.api"

diff --git a/dev-python/pdm/pdm-2.5.1.ebuild b/dev-python/pdm/pdm-2.5.1.ebuild
new file mode 100644
index 000000000..4862a6f00
--- /dev/null
+++ b/dev-python/pdm/pdm-2.5.1.ebuild
@@ -0,0 +1,74 @@
+# 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} )
+
+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"
+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-0.9.0[${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[${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}]
+	)
+"
+
+PATCHES=(
+	"${FILESDIR}/pdm-2.5.1-build-backend.patch"
+)
+
+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
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pdm/files/, dev-python/pdm/
@ 2023-06-11 10:44 Florian Albrechtskirchinger
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Albrechtskirchinger @ 2023-06-11 10:44 UTC (permalink / raw
  To: gentoo-commits

commit:     057f84580e6c334748e93f9a26f0a57d51e8d3a7
Author:     Florian Albrechtskirchinger <falbrechtskirchinger <AT> gmail <DOT> com>
AuthorDate: Sun Jun 11 07:27:30 2023 +0000
Commit:     Florian Albrechtskirchinger <falbrechtskirchinger <AT> gmail <DOT> com>
CommitDate: Sun Jun 11 10:43:36 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=057f8458

dev-python/pdm: drop 2.5.4, 2.6.1

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

 dev-python/pdm/Manifest                            |  2 -
 dev-python/pdm/files/pdm-2.5.1-build-backend.patch | 12 ---
 dev-python/pdm/pdm-2.5.4.ebuild                    | 83 -------------------
 dev-python/pdm/pdm-2.6.1.ebuild                    | 94 ----------------------
 4 files changed, 191 deletions(-)

diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest
index 4a2626254..3785869aa 100644
--- a/dev-python/pdm/Manifest
+++ b/dev-python/pdm/Manifest
@@ -1,3 +1 @@
-DIST pdm-2.5.4.tar.gz 3051088 BLAKE2B 717867fe16bdb02efb41136360afe9d7bd06c1706e30014a0a6f66ee69a676461d86f0efe726d6b2002290fb45c1623e92a7614efd7d15742479187c399afc6a SHA512 0a3d1ae42d1541ce458c77ef2bce41564c000fc599ee596aec25d6153d40723595fd0fa1170d7ece6bf24055670030556582b043505d45484acc99052192c063
-DIST pdm-2.6.1.tar.gz 3056889 BLAKE2B 65a3f8e8badf4bd6da2d801ea38f1e85c1e6ccf204a8c4fb1aa7be31c9093ae8ac93b882a511a00814b4838a479fd7b0cfdcea452198388abfec7cdc00b6b610 SHA512 91d0967f407f1f1e2d23e9b43e268d105ed14ec7772eaa433bf20912fa710478ee7a33d01691d795b875cf6385d61bb3d431d176d53c16d3018670e28794b9c5
 DIST pdm-2.7.1.tar.gz 3060384 BLAKE2B b8d848099cf9a72dab98546422ef9aaec32841b73086923817d0da9d7218856f49a21b189134161269f4dc13025fd7b42c577a5f4ca502750cd9b584255622f2 SHA512 51eadc7f8b026cdecdfb45732fcb3145f822a2b0b8b9ebb6fc42f3824d1f56ac6fb37c77e84f50af5bfc949262e596d633c4bf30d7cd5d88b13fd9c9a2f19485

diff --git a/dev-python/pdm/files/pdm-2.5.1-build-backend.patch b/dev-python/pdm/files/pdm-2.5.1-build-backend.patch
deleted file mode 100644
index 9e446af96..000000000
--- a/dev-python/pdm/files/pdm-2.5.1-build-backend.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- pdm-2.5.1/pyproject.toml.orig	2023-04-10 08:40:02.362534459 +0200
-+++ pdm-2.5.1/pyproject.toml	2023-04-10 08:41:01.454905769 +0200
-@@ -199,7 +199,5 @@
- ]
- 
- [build-system]
--requires = [
--    "pdm-backend",
--]
--build-backend = "pdm.backend"
-+requires = ["pdm-pep517>=1.0"]
-+build-backend = "pdm.pep517.api"

diff --git a/dev-python/pdm/pdm-2.5.4.ebuild b/dev-python/pdm/pdm-2.5.4.ebuild
deleted file mode 100644
index 9b7b24b0a..000000000
--- a/dev-python/pdm/pdm-2.5.4.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# 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} )
-
-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"
-SLOT="0"
-
-RDEPEND="
-	dev-python/blinker[${PYTHON_USEDEP}]
-	dev-python/certifi[${PYTHON_USEDEP}]
-	<dev-python/urllib3-2.0.0[${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-0.9.0[${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[${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}]
-	)
-"
-
-PATCHES=(
-	"${FILESDIR}/pdm-2.5.1-build-backend.patch"
-)
-
-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() {
-	local EPYTEST_DESELECT=()
-
-	[[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=(
-		# TODO
-		tests/cli/test_others.py::test_build_distributions
-		tests/models/test_candidates.py::test_expand_project_root_in_url
-	)
-
-	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
-}

diff --git a/dev-python/pdm/pdm-2.6.1.ebuild b/dev-python/pdm/pdm-2.6.1.ebuild
deleted file mode 100644
index 8dc42a06c..000000000
--- a/dev-python/pdm/pdm-2.6.1.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# 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} )
-
-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"
-SLOT="0"
-
-RDEPEND="
-	dev-python/blinker[${PYTHON_USEDEP}]
-	dev-python/certifi[${PYTHON_USEDEP}]
-	dev-python/urllib3[${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-0.9.0[${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[${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}]
-		dev-python/pytest-httpserver[${PYTHON_USEDEP}]
-	)
-"
-
-PATCHES=(
-	"${FILESDIR}/pdm-2.5.1-build-backend.patch"
-)
-
-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() {
-	local pdm_python_tests=(
-		tests/cli/test_add.py::test_add_editable_package
-		tests/cli/test_add.py::test_non_editable_override_editable
-		tests/cli/test_list.py::test_list_csv_include_exclude
-		tests/cli/test_list.py::test_list_csv_include_exclude_valid
-		tests/cli/test_list.py::test_list_dependency_graph_include_exclude
-		tests/test_project.py::test_project_packages_path
-		tests/cli/test_init.py::test_init_non_interactive
-		tests/cli/test_remove.py::test_remove_editable_packages_while_keeping_normal
-		tests/cli/test_venv.py::test_conda_backend_create
-		tests/models/test_backends.py::test_project_backend
-	)
-	local EPYTEST_DESELECT=("${pdm_python_tests[@]}")
-	epytest -m "not network"
-
-	EPYTEST_DESELECT=()
-	export PDM_PYTHON="${PYTHON}"
-	epytest -m "not network" "${pdm_python_tests[@]}"
-	unset PDM_PYTHON
-}
-
-python_install_all() {
-	distutils-r1_python_install_all
-
-	newbashcomp completion.bash pdm
-
-	insinto /usr/share/zsh/site-functions
-	newins completion.zsh _pdm
-}


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

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-10  8:32 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pdm/files/, dev-python/pdm/ Florian Albrechtskirchinger
  -- strict thread matches above, loose matches on Subject: below --
2023-06-11 10:44 Florian Albrechtskirchinger

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