summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-17 18:51:04 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-17 18:54:56 +0100
commit60d5822f4bad1f592acb83a16e7446ddd0ddc093 (patch)
treee288d3a8f6d5e8b60c4a90580539b15e2d0df2a6
parentdev-python/precis-i18n: Use pypi.eclass (diff)
downloadgentoo-60d5822f4bad1f592acb83a16e7446ddd0ddc093.tar.gz
gentoo-60d5822f4bad1f592acb83a16e7446ddd0ddc093.tar.bz2
gentoo-60d5822f4bad1f592acb83a16e7446ddd0ddc093.zip
dev-python/pytest-markdown: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/pytest-markdown/Manifest2
-rw-r--r--dev-python/pytest-markdown/pytest-markdown-1.0.2-r1.ebuild13
2 files changed, 6 insertions, 9 deletions
diff --git a/dev-python/pytest-markdown/Manifest b/dev-python/pytest-markdown/Manifest
index 399b12a41ad4..fb3b39898a02 100644
--- a/dev-python/pytest-markdown/Manifest
+++ b/dev-python/pytest-markdown/Manifest
@@ -1 +1 @@
-DIST pytest-markdown-1.0.2.tar.gz 2991 BLAKE2B 489bd1ccd6060b9588515772ff1f269dc57c328b3695405d0dd755340968899a2b912644e325ce5792528da90e5eac828314dbb9d1396eb34dffe0da04261848 SHA512 a2d5b38982f004a362ec2bda7aec45a6fb9e0b33dfd212647d8eab38fdadf6501b7fec8ad8838b286d81a156429aeb0ad3aa63361a580c2c7528fe19e474a7f6
+DIST pytest_markdown-1.0.2.tar.gz 2991 BLAKE2B 489bd1ccd6060b9588515772ff1f269dc57c328b3695405d0dd755340968899a2b912644e325ce5792528da90e5eac828314dbb9d1396eb34dffe0da04261848 SHA512 a2d5b38982f004a362ec2bda7aec45a6fb9e0b33dfd212647d8eab38fdadf6501b7fec8ad8838b286d81a156429aeb0ad3aa63361a580c2c7528fe19e474a7f6
diff --git a/dev-python/pytest-markdown/pytest-markdown-1.0.2-r1.ebuild b/dev-python/pytest-markdown/pytest-markdown-1.0.2-r1.ebuild
index b85b86ac4657..beb81872926f 100644
--- a/dev-python/pytest-markdown/pytest-markdown-1.0.2-r1.ebuild
+++ b/dev-python/pytest-markdown/pytest-markdown-1.0.2-r1.ebuild
@@ -6,14 +6,13 @@ EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
DISTUTILS_USE_PEP517="poetry"
-inherit distutils-r1
-
-MY_PN="${PN/-/_}"
-MY_P="${MY_PN}-${PV}"
+inherit distutils-r1 pypi
DESCRIPTION="Run tests in your markdown"
-HOMEPAGE="https://github.com/Jc2k/pytest-markdown"
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz"
+HOMEPAGE="
+ https://github.com/Jc2k/pytest-markdown/
+ https://pypi.org/project/pytest-markdown/
+"
LICENSE="Apache-2.0"
SLOT="0"
@@ -21,5 +20,3 @@ KEYWORDS="amd64 ~riscv"
RDEPEND=">=dev-python/commonmark-0.9.1[${PYTHON_USEDEP}]
>=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]"
-
-S="${WORKDIR}"/${MY_P}