aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Roy <julien@jroy.ca>2023-01-29 14:10:21 -0500
committerJulien Roy <julien@jroy.ca>2023-01-29 14:10:24 -0500
commitf199a47f9024b21ad358eb9fae0de2aa24bf76d7 (patch)
tree1ccdda0fe7d931afb8f6582c3cb46e0c8b9fa22f /dev-python/devtools
parentnet-im/mautrix-discord: add 0.1.0, drop 0_pre20230124 (diff)
downloadguru-f199a47f9024b21ad358eb9fae0de2aa24bf76d7.tar.gz
guru-f199a47f9024b21ad358eb9fae0de2aa24bf76d7.tar.bz2
guru-f199a47f9024b21ad358eb9fae0de2aa24bf76d7.zip
dev-python/devtools: add 0.10.0, drop 0.6.1
Closes: https://bugs.gentoo.org/848168 Signed-off-by: Julien Roy <julien@jroy.ca>
Diffstat (limited to 'dev-python/devtools')
-rw-r--r--dev-python/devtools/Manifest2
-rw-r--r--dev-python/devtools/devtools-0.10.0.ebuild (renamed from dev-python/devtools/devtools-0.6.1.ebuild)29
-rw-r--r--dev-python/devtools/metadata.xml18
3 files changed, 33 insertions, 16 deletions
diff --git a/dev-python/devtools/Manifest b/dev-python/devtools/Manifest
index 7f2482aaf..55ede1dc5 100644
--- a/dev-python/devtools/Manifest
+++ b/dev-python/devtools/Manifest
@@ -1 +1 @@
-DIST devtools-0.6.1.tar.gz 66427 BLAKE2B b8c69ebe100e2f64a4a443f536697ff055563ac833630e04568b30ff6a887375cd009b846e0932b71c0ffdf48cdae311b571b0df9fd03096e744f5e35f9ac555 SHA512 919c443e99af972e6e27f751552777bb5556bc371ece48bb5f2bd490c27cb4140832dcdacc8312481ede9751656b01f02772b8936ec7737e8385c5d6f497a084
+DIST devtools-0.10.0.gh.tar.gz 68346 BLAKE2B acc45a46c0bb0685b35e4cd5d6bbdd2f6ad1c1f7365a7d51c0c56c1c5e2aef94711ec49c29157f1cd56ba172a2d3a48ccaeb7e3022ca01b3aa995e9dd6fa53d8 SHA512 3a2f31495b14c712f0c96c240612739bc8e7c693c348274e0a067ace5fcb898a4b77fa387484a7ea91fe238f14ada16b62a56745a6fbf467b9613d6377c2f95a
diff --git a/dev-python/devtools/devtools-0.6.1.ebuild b/dev-python/devtools/devtools-0.10.0.ebuild
index b319ae864..b55700592 100644
--- a/dev-python/devtools/devtools-0.6.1.ebuild
+++ b/dev-python/devtools/devtools-0.10.0.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
-PYTHON_COMPAT=( python3_{8,9} )
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{9..11} )
DOCS_BUILDER="mkdocs"
DOCS_DEPEND="
@@ -22,7 +23,8 @@ MYP="${MYPN}-${PV}"
DESCRIPTION="Dev tools for python"
HOMEPAGE="https://github.com/samuelcolvin/python-devtools"
-SRC_URI="https://github.com/samuelcolvin/${MYPN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/samuelcolvin/${MYPN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+RESTRICT="!test? ( test )"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86"
@@ -30,9 +32,18 @@ SLOT="0"
S="${WORKDIR}/${MYP}"
-distutils_enable_tests pytest
-
-DEPEND="test? (
+DEPEND="
+ dev-python/asttokens[${PYTHON_USEDEP}]
+ dev-python/executing[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
- dev-python/pytest-mock[${PYTHON_USEDEP}]
-)"
+ test? (
+ dev-python/asyncpg[${PYTHON_USEDEP}]
+ dev-python/coverage[${PYTHON_USEDEP}]
+ dev-python/multidict[${PYTHON_USEDEP}]
+ dev-python/pydantic[${PYTHON_USEDEP}]
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ dev-python/sqlalchemy[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
diff --git a/dev-python/devtools/metadata.xml b/dev-python/devtools/metadata.xml
index 9347cb29d..dcd0982e8 100644
--- a/dev-python/devtools/metadata.xml
+++ b/dev-python/devtools/metadata.xml
@@ -1,10 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-
<pkgmetadata>
- <!-- maintainer-needed -->
- <upstream>
- <remote-id type="github">samuelcolvin/python-devtools</remote-id>
- <remote-id type="pypi">devtools</remote-id>
- </upstream>
+ <!-- maintainer-needed -->
+ <upstream>
+ <maintainer>
+ <name>Samuel Colvin</name>
+ <email>s@muelcolvin.com</email>
+ </maintainer>
+ <changelog>https://github.com/samuelcolvin/python-devtools/releases</changelog>
+ <doc>https://python-devtools.helpmanual.io/</doc>
+ <bugs-to>https://github.com/samuelcolvin/python-devtools/issues</bugs-to>
+ <remote-id type="github">samuelcolvin/python-devtools</remote-id>
+ <remote-id type="pypi">devtools</remote-id>
+ </upstream>
</pkgmetadata>