From 60d02acf342630012701109ea4c53755601f3d58 Mon Sep 17 00:00:00 2001 From: Torsten Kurbad Date: Mon, 3 Jul 2023 12:44:26 +0200 Subject: [PATCH] pdfposter, engineering-notation --- app-text/pdfposter/Manifest | 2 +- app-text/pdfposter/pdfposter-0.8.1.ebuild | 17 +++++++++++------ dev-python/engineering-notation/Manifest | 2 +- .../engineering-notation-0.8.0.ebuild | 10 +++++++--- .../engineering-notation-9999.ebuild | 15 ++++++++++----- 5 files changed, 30 insertions(+), 16 deletions(-) diff --git a/app-text/pdfposter/Manifest b/app-text/pdfposter/Manifest index ed81ebf..5cd0179 100644 --- a/app-text/pdfposter/Manifest +++ b/app-text/pdfposter/Manifest @@ -1 +1 @@ -EBUILD pdfposter-0.8.1.ebuild 699 BLAKE2B 03c3b1272f8f540d5a6c8f78f37113c64406e772e1759123d9ff3ea0be239f1cd84f878ce7cdb1c3c53be5a9b6bbdd4164eee0c7f74c984a12ed23b9e78de441 SHA512 888574e8e69bd836dbcd8269d21e96dd05cc5d25686ea23a25ba256857c2714bd7628c3b809ae483443f4f94dac445a5350cbf89791552ec5104362ce86965cc +EBUILD pdfposter-0.8.1.ebuild 776 BLAKE2B 84259fd7ef5db0ef3f3955598c13c3f642381d223ab8f5a9ef69ef6fe582a2c8bd6d8b7352fd462961b8201ad7d38ae6505e02d23ffbb089b1c0949144bb22fd SHA512 7c7b46ec05397f878d7f162f7b5404fe1c57f686320b5f27c80b832c9ceb8d7d827920ffd9de65856194788bf0602982befae352edd2f866a6a01cf2f56b147b diff --git a/app-text/pdfposter/pdfposter-0.8.1.ebuild b/app-text/pdfposter/pdfposter-0.8.1.ebuild index d9679f4..63d08db 100644 --- a/app-text/pdfposter/pdfposter-0.8.1.ebuild +++ b/app-text/pdfposter/pdfposter-0.8.1.ebuild @@ -1,15 +1,19 @@ # Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 +PYTHON_COMPAT=( python3_{9..12} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_SINGLE_IMPL=1 + +inherit git-r3 distutils-r1 DESCRIPTION="Scale and tile PDF images/pages to print on multiple pages." HOMEPAGE="http://pythonhosted.org/pdftools.pdfposter/ https://gitlab.com/pdftools/pdfposter" + EGIT_REPO_URI="https://gitlab.com/pdftools/pdfposter" EGIT_COMMIT="v${PV}" -PYTHON_COMPAT=( python3_{8,9,10} ) -inherit git-r3 distutils-r1 LICENSE="GPL-3" SLOT="0" @@ -17,9 +21,10 @@ KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="" -RDEPEND=" - >=dev-python/PyPDF2-2.1.1[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] +RDEPEND="$(python_gen_cond_dep ' + dev-python/pypdf[${PYTHON_USEDEP}] + dev-python/setuptools[${PYTHON_USEDEP}] + ') ${DEPEND}" python_install_all() { diff --git a/dev-python/engineering-notation/Manifest b/dev-python/engineering-notation/Manifest index 2f74b32..8e47bf1 100644 --- a/dev-python/engineering-notation/Manifest +++ b/dev-python/engineering-notation/Manifest @@ -1,3 +1,3 @@ DIST engineering-notation-0.8.0.tar.gz 7971 BLAKE2B 0e6d009cfd3c595730352d1bf8b4b6b18dee10a2955f6224e72fdd33097111776a53b0e54dc7c37f02502593168351ed114748ec41e392f1e323058258c785b0 SHA512 83f54728b4b26e1ba53192d9af69376fa035a23a407ff08217a0de1708af424249603abac7afcd587fc79eda208b25d0127b0597a76da638849b0f10ab20f1ca -EBUILD engineering-notation-0.8.0.ebuild 922 BLAKE2B 06eab3d98559a5f27b5c42e7a085a00dc307f1d66d262bc04ab9116b222a5e1e58b1a4f61b982edcf69c3d24d99fba874ac5cc4c17a95fbbe7d0fcf05a1d382e SHA512 62d10c99f3113821000426b9155753e3a36cd9e1ccfce5fd92cef004966a2b971698b078bc0f73c8008342f69916550307c2d0709b62986c0dc8568c9b562cff +EBUILD engineering-notation-0.8.0.ebuild 1009 BLAKE2B b9f26aee03b303f8982da1219ba2b536a67530421287eb6c9c4b2c0d670633ad89b738bf52fc9d37bc6d843bcf23e48aa11ea65e2009a198123324057a9b6af4 SHA512 6814f529a0c5708280f0b53f855f6ba307cec639176e1233326a40869979a6001ad23cea1fe8a2bab9bb530da7c441fee2bf5ae28dcbe9dd654c9c70cd3bf26b EBUILD engineering-notation-9999.ebuild 887 BLAKE2B ac206cb90234ad755032d1c88f308d439f8e72f30489393e030c0a7cf7e0ae470b7066dca5f6fdf85742b1c718d1e76d0615c735af104ac254be77605b527463 SHA512 502a3fd13e9160fbc0c3f603f72359a68d62f89156911580689ea56cc1482b69dfd95720b71b6b7f4c7ae18eeb16509995a2c34255b0c8c2b231ac78ce2e0d28 diff --git a/dev-python/engineering-notation/engineering-notation-0.8.0.ebuild b/dev-python/engineering-notation/engineering-notation-0.8.0.ebuild index fac2e5c..d1322d9 100644 --- a/dev-python/engineering-notation/engineering-notation-0.8.0.ebuild +++ b/dev-python/engineering-notation/engineering-notation-0.8.0.ebuild @@ -3,7 +3,9 @@ # $Id$ EAPI=8 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{9..12} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_SINGLE_IMPL=1 MY_PN="engineering_notation" @@ -26,8 +28,10 @@ IUSE="" REQUIRED_USE="${PYTHON_REQUIRED_USE}" -RDEPEND="dev-python/flake8[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}]" +RDEPEND="$(python_gen_cond_dep ' + dev-python/flake8[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ')" DEPEND="${RDEPEND}" diff --git a/dev-python/engineering-notation/engineering-notation-9999.ebuild b/dev-python/engineering-notation/engineering-notation-9999.ebuild index 7e02224..d1322d9 100644 --- a/dev-python/engineering-notation/engineering-notation-9999.ebuild +++ b/dev-python/engineering-notation/engineering-notation-9999.ebuild @@ -3,10 +3,11 @@ # $Id$ EAPI=8 -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{9..12} ) +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_SINGLE_IMPL=1 MY_PN="engineering_notation" -MY_P="${MY_PN}-${PV}" inherit distutils-r1 @@ -18,7 +19,7 @@ if [[ ${PV} == "9999" ]] ; then inherit git-r3 else KEYWORDS="~amd64 ~x86" - SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/slightlynybbled/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" fi LICENSE="MIT" @@ -27,11 +28,15 @@ IUSE="" REQUIRED_USE="${PYTHON_REQUIRED_USE}" -RDEPEND="dev-python/flake8[${PYTHON_USEDEP}] - dev-python/pytest[${PYTHON_USEDEP}]" +RDEPEND="$(python_gen_cond_dep ' + dev-python/flake8[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ')" DEPEND="${RDEPEND}" +S="${WORKDIR}/${MY_PN}-${PV}" + src_prepare() { sed "s@engineering_notation/version.py@$S/$MY_PN/version.py@" \ -i "${S}/setup.py" || die