dev-python/d2to1: update SRC_URI

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-06-10 19:28:23 +02:00 committed by Andreas Billmeier
parent eb97a8c716
commit 868f56291d
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
2 changed files with 6 additions and 17 deletions

View File

@ -1,3 +1,3 @@
DIST d2to1-0.2.12.post1.tar.gz 35973 BLAKE2B 19cc191b18168cdbe291235eeb7d0a6f9c9ad9e049c91a337541903ee39c0f1b247bc966c311bd703ddf0283b33fa0a2dc09ec5ba78cd694bc9cdee17c625575 SHA512 89890afc78b21d78f42ef5c920d377cd58075829e025c512d86138d52943ce8b71d1245bf267f76f775c6a69bf81bf9881322bd64b0e75ae088134e6b66f4d2d
EBUILD d2to1-0.2.12_p1.ebuild 818 BLAKE2B 987cb45e604a56a2a7244870de53d0513453acd9e4baf9fa3fa58e340703761563addd4ca69ac67149fcbff0b84db8e56eb7dfff4a058b2896131451952ebfb7 SHA512 ddb96e037f26dbbbc48baf6e4bfb829e42a22e27bf8fe97f5e0ddac31a42656034c590f45b4e4ff97e8660be1d8d0fde5686d9e87c411fcea94e22f35f3311c3
EBUILD d2to1-0.2.12_p1.ebuild 743 BLAKE2B 9f2dfb443bd2091c7816f3f40c934cd1224e2989cbe54a99eae4154c8ffc58fc1af789d9cea984510657997d7722f11aacb8ef993a0fae4bf1af92d92c045b5b SHA512 7d2f5aa703b34c7442b05f36d3a6b6856d02b20ac1cc126f22d5a08cb35d39cb36899e138ffb17f3e546e7e6c4dd1823825e1319df63779c6df71af2e55fad84
MISC metadata.xml 500 BLAKE2B aa4aa176b67f85aa8549de6316376c20c9d86a951dcfa6f025960bee21241af733dadad317269ee5d131627eed1a4a41d4721c18286bdec056935f8ace9f96bf SHA512 270ae19f7a11f8c0013d7ac4ffd0d3692c65fea87d24e36a650bf4e9e31f3875a53d2c4c5684b419620160968cf6f2b284a0a50b2b300c1d463c7e53e97fa2c1

View File

@ -1,15 +1,14 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
inherit distutils-r1
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="Allows using distutils2-like setup.cfg files for a package's metadata with a distribute/setuptools setup.py"
HOMEPAGE="https://github.com/embray/d2to1 https://pypi.org/project/d2to1/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${PN}-${PV/_p/.post}.tar.gz"
SRC_URI="https://files.pythonhosted.org/packages/source/${P:0:1}/${PN}/${PN}-${PV/_p/.post}.tar.gz"
S="${WORKDIR}"/${P/_p/.post}
# taken from https://github.com/embray/d2to1/blob/master/setup.cfg
@ -21,14 +20,4 @@ RESTRICT="!test? ( test )"
DOCS="README.rst"
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
py.test -v -v || die
}
distutils_enable_tests pytest