commit:     a413c4286efbfc21a8dfa6d993e09fbc58f1f290
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 27 15:34:41 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Feb 27 15:35:39 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a413c428

dev-python/pikepdf: Switch to pypi sdist

Use pypi sdist instead of generated GitHub archives to avoid checksum
failures due to the latter changing.  Fortunately, the former seem
to include all the files, so this is NFC.

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pikepdf/Manifest             | 2 +-
 dev-python/pikepdf/pikepdf-7.1.1.ebuild | 8 +-------
 2 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/dev-python/pikepdf/Manifest b/dev-python/pikepdf/Manifest
index f14f35712bfe..868128f27cc4 100644
--- a/dev-python/pikepdf/Manifest
+++ b/dev-python/pikepdf/Manifest
@@ -4,4 +4,4 @@ DIST pikepdf-6.2.8.gh.tar.gz 2906054 BLAKE2B 
7b639741112857dbf784da7245f905e7666
 DIST pikepdf-6.2.9.gh.tar.gz 2906102 BLAKE2B 
bd876f506714b237a6010b72c4557bc600e2ee4d6621131c21902ae9f41eb39a9a54a6c08d08dfa84fb3eeec8f2ae7e256d1f1fde533dbc2660a2b415077c8a7
 SHA512 
2b16e51c999fe1d1f593a9079ae0f13fdaa1955b5d55023169e3a805cbdda07b7ca4108ecea66463a1a253712b851b6dc824aed2c80e5f0caa3ba398d413bd64
 DIST pikepdf-7.0.0.gh.tar.gz 2899924 BLAKE2B 
0aeb5b9a26b8f5363ed62ac59e4ffd6dc11aba44c2d3248f8e47c31811cfb810ec7e11150e1bf64ea28242bb7749e3fa2f2fc2bded3af64123e39aa1e4595b8d
 SHA512 
5a11b0a3f35f7d7071ad0553be598f9d2e2d95ce325c080c69e9551e07ebde0102f02990d5ef32be860b468fefc1c29d5f9ff581d1f75321314c52fb2de2f389
 DIST pikepdf-7.1.0.gh.tar.gz 2900167 BLAKE2B 
1293e580257a0f077146e1dff37ce825ef504a62aaadbfc466ce77a491bdfc101e01c7f314dbc039f69df08924ad1dab8de74ffedd0675cfc8139895289f6405
 SHA512 
e8fee8a69c0d6a5d148b3d001bd72be341ae7294401777f06b698d261329850832fdc3ea2b6ab9d8abb9fb99b041fe7a1a5750a22846528c76a03019b3ac4ca5
-DIST pikepdf-7.1.1.gh.tar.gz 2901140 BLAKE2B 
50b61eb49ecf6ded00a5e1af1a23d6755622cfcab533b132c8e75419a17aaa3f2d1806070611ec822475fddb9176da06cff1bef178bbc98002bf50198d3d1d2a
 SHA512 
50a6fddc8291cc54fbb3249bc05e84b7e78b2f50055314aabc7beed78116a02174afee29332ea94793f961d8e586826f178c7fea4060db07799cfeaa6fffbe03
+DIST pikepdf-7.1.1.tar.gz 2911088 BLAKE2B 
0c65830ce4ec8f36814dd2a523dcc753380df7b6e4ce176b0e61e1e7f5f8bbfa01c9ef1ab093cbfeaf7dd1c67ada4e7dca53cf6da8b04cbceca825276179627b
 SHA512 
e59bf20008df058aa2bbccedf71294ffc39a7aa774eeebcc33214ec7864be461959317bbd92f3df415690bb4ef3bbb63f9c05c613bcb9023b680637c07f3bd75

diff --git a/dev-python/pikepdf/pikepdf-7.1.1.ebuild 
b/dev-python/pikepdf/pikepdf-7.1.1.ebuild
index e1ade2b5273e..6f3828a75649 100644
--- a/dev-python/pikepdf/pikepdf-7.1.1.ebuild
+++ b/dev-python/pikepdf/pikepdf-7.1.1.ebuild
@@ -6,19 +6,13 @@ EAPI=8
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{9..11} pypy3 )
 
-inherit distutils-r1
+inherit distutils-r1 pypi
 
-MY_P=${P/_p/.post}
 DESCRIPTION="Python library to work with pdf files based on qpdf"
 HOMEPAGE="
        https://github.com/pikepdf/pikepdf/
        https://pypi.org/project/pikepdf/
 "
-SRC_URI="
-       https://github.com/${PN}/${PN}/archive/v${PV/_p/.post}.tar.gz
-               -> ${P}.gh.tar.gz
-"
-S=${WORKDIR}/${MY_P}
 
 LICENSE="MPL-2.0"
 SLOT="0"

Reply via email to