diff --git a/dev-python/engineering-notation/Manifest b/dev-python/engineering-notation/Manifest index 8e47bf1..ea31806 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 1009 BLAKE2B b9f26aee03b303f8982da1219ba2b536a67530421287eb6c9c4b2c0d670633ad89b738bf52fc9d37bc6d843bcf23e48aa11ea65e2009a198123324057a9b6af4 SHA512 6814f529a0c5708280f0b53f855f6ba307cec639176e1233326a40869979a6001ad23cea1fe8a2bab9bb530da7c441fee2bf5ae28dcbe9dd654c9c70cd3bf26b -EBUILD engineering-notation-9999.ebuild 887 BLAKE2B ac206cb90234ad755032d1c88f308d439f8e72f30489393e030c0a7cf7e0ae470b7066dca5f6fdf85742b1c718d1e76d0615c735af104ac254be77605b527463 SHA512 502a3fd13e9160fbc0c3f603f72359a68d62f89156911580689ea56cc1482b69dfd95720b71b6b7f4c7ae18eeb16509995a2c34255b0c8c2b231ac78ce2e0d28 +EBUILD engineering-notation-0.8.0.ebuild 1025 BLAKE2B 62472d556b053afa8352745b025d7229b05f9002c46d96b61b4dd47ffa671128b192a27ebc2033d3372cb28e2e9d3f9f3aec02a690d45dfc579900457909f2e9 SHA512 918e76c786161ba120ec89c494533e97696f01ff344bc8af34aac111049065a2605053b4212cf970d8fc3acceff2f62ab69c79d60b86c1e4ab54617709c554db +EBUILD engineering-notation-9999.ebuild 1025 BLAKE2B 62472d556b053afa8352745b025d7229b05f9002c46d96b61b4dd47ffa671128b192a27ebc2033d3372cb28e2e9d3f9f3aec02a690d45dfc579900457909f2e9 SHA512 918e76c786161ba120ec89c494533e97696f01ff344bc8af34aac111049065a2605053b4212cf970d8fc3acceff2f62ab69c79d60b86c1e4ab54617709c554db 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 d1322d9..e12bd99 100644 --- a/dev-python/engineering-notation/engineering-notation-0.8.0.ebuild +++ b/dev-python/engineering-notation/engineering-notation-0.8.0.ebuild @@ -20,11 +20,13 @@ if [[ ${PV} == "9999" ]] ; then else KEYWORDS="~amd64 ~x86" SRC_URI="https://github.com/slightlynybbled/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${MY_PN}-${PV}" fi LICENSE="MIT" SLOT="0" IUSE="" +RESTRICT="test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" @@ -35,8 +37,6 @@ RDEPEND="$(python_gen_cond_dep ' 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 diff --git a/dev-python/engineering-notation/engineering-notation-9999.ebuild b/dev-python/engineering-notation/engineering-notation-9999.ebuild index d1322d9..e12bd99 100644 --- a/dev-python/engineering-notation/engineering-notation-9999.ebuild +++ b/dev-python/engineering-notation/engineering-notation-9999.ebuild @@ -20,11 +20,13 @@ if [[ ${PV} == "9999" ]] ; then else KEYWORDS="~amd64 ~x86" SRC_URI="https://github.com/slightlynybbled/${MY_PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${MY_PN}-${PV}" fi LICENSE="MIT" SLOT="0" IUSE="" +RESTRICT="test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" @@ -35,8 +37,6 @@ RDEPEND="$(python_gen_cond_dep ' 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