From c4b414ba84991b36b62c066b701385eaf44cdd49 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 31 Dec 2022 20:20:25 +0000 Subject: gentoo auto-resync : 31:12:2022 - 20:20:25 --- sci-calculators/Manifest.gz | Bin 3043 -> 3040 bytes sci-calculators/units/Manifest | 2 +- sci-calculators/units/units-2.21-r1.ebuild | 57 ++++++++++++++++++++++++++++ sci-calculators/units/units-2.21.ebuild | 58 ----------------------------- 4 files changed, 58 insertions(+), 59 deletions(-) create mode 100644 sci-calculators/units/units-2.21-r1.ebuild delete mode 100644 sci-calculators/units/units-2.21.ebuild (limited to 'sci-calculators') diff --git a/sci-calculators/Manifest.gz b/sci-calculators/Manifest.gz index eb8750e696c8..afd96b787ba3 100644 Binary files a/sci-calculators/Manifest.gz and b/sci-calculators/Manifest.gz differ diff --git a/sci-calculators/units/Manifest b/sci-calculators/units/Manifest index e2f36547befe..7c0fa8048704 100644 --- a/sci-calculators/units/Manifest +++ b/sci-calculators/units/Manifest @@ -1,5 +1,5 @@ AUX units-2.17-network-sandbox.patch 469 BLAKE2B 800ffebb2bf096fac9ca94672caa457a08ddbe98e85cd3c195c149215de8753aa72fec618ccf4bdf584002c507cc53532ee92af6e8097c7fa2573628de34b17c SHA512 f54fb5d006263f89ff8c376f100066d79883b68a30441e8665ca4d8a6aa061e5c697c715ccb93c67a692145a44a441862039e5249e4795159f1c43a12ffe1c97 AUX units-2.20-readerror.patch 306 BLAKE2B 7007ed50539043f1b21a9676c8d1ff377d1d6e1d9e1d3e4bca9e4dcda520d77cddc28abe35333cd1cb4a5d451264d94f22bc6594a5f1fd15488d5d5e1d5bf12d SHA512 4d1acb3ca6e4bd2874854cfa27e8bc5418ef30d628589eace8011733556835feb30630a2b37bb1e5e975392fe75e684b48f31a9b2624b8703714dbb501f6f27d DIST units-2.21.tar.gz 1308533 BLAKE2B 0a02979eafa21af759128ec72b11e1f532640c9d0e88ae8f389a1beb52d5a400cbd6294042aa4c7d8786c06c8ac4106a77c302805b8c5e3bb84d4134805fd517 SHA512 34bacff606f12aa5b2e59170f6b2142277aa1121d79610a51b57f07f17ae2dbdfbbb0e60be34522f367679cc152408f77c1ebb551016224d23f81c21f4b3ba62 -EBUILD units-2.21.ebuild 1196 BLAKE2B 82474e1b2b54891cf7e4021ec1137b1e7721c6b0d5809530aff9cde1c18f114f8a30aa9ade3e01759f8a913e8190a2ab38ec1bebdd1b26a4582ec608dcf5fbe2 SHA512 1c2dd9233318b8058f24a3b7152e801afad1a54c09cf0a3693ebf04850cebe9c7ab69f5e8bce0abafc9821c895594b3465b705de3ac271f825e62eaaa7b3f80a +EBUILD units-2.21-r1.ebuild 1157 BLAKE2B 92060e7cdd34d40c91c607386acaf27ef4f84633d25ce6cddcf88d2ed780b22dd2ee45d5ae42e071ea2625781a7a7aff60552c2f2cb0fd90eaceeaaefeea6a4b SHA512 9bc18b5703a1edd3d885d056289478e9fdb3dfcf5afc2bed8b8a53f91b4ab35b49ef6cdf402f5c1b46e362a0bc0fef0fa517a55ebdbd2c12c21af8c9d4452e30 MISC metadata.xml 356 BLAKE2B e29e63011490681ea66a493a573fef96d45c5cc045ee87534380ba64c4bb56e14231f64b87527105d6ec560326c52c61e72746f8d4e61b820e3bb87a7b92086c SHA512 36bab25faccb86cfc0f2d8f864788dbf1a561d9dd94c76dab878bd9e7b29f55f74ed115f1d374230bd9745038612b9f6343a9a1832bf025ca0e654d4074bdf7b diff --git a/sci-calculators/units/units-2.21-r1.ebuild b/sci-calculators/units/units-2.21-r1.ebuild new file mode 100644 index 000000000000..e87fc75a74bc --- /dev/null +++ b/sci-calculators/units/units-2.21-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit python-r1 + +DESCRIPTION="Unit conversion program" +HOMEPAGE="https://www.gnu.org/software/units/units.html" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="FDL-1.3 GPL-3" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" +IUSE="+units-cur" +REQUIRED_USE="units-cur? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + sys-libs/readline:= + units-cur? ( + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/requests[${PYTHON_USEDEP}] + ') + ) +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-2.17-network-sandbox.patch + "${FILESDIR}"/${PN}-2.20-readerror.patch +) + +DOCS=( ChangeLog NEWS README ) + +src_configure() { + econf \ + --sharedstatedir="${EPREFIX}"/var/lib \ + ac_cv_path_PYTHON=no +} + +src_compile() { + emake ${PN} +} + +src_install() { + default + + if use units-cur; then + sed \ + -e "/^outfile/s|'.*'|'/usr/share/units/currency.units'|g" \ + -e 's|^#!|&/usr/bin/python|g' \ + units_cur_inst > units_cur || die + python_foreach_impl python_doscript units_cur + fi +} diff --git a/sci-calculators/units/units-2.21.ebuild b/sci-calculators/units/units-2.21.ebuild deleted file mode 100644 index 0c1c7e86fb23..000000000000 --- a/sci-calculators/units/units-2.21.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) -inherit python-r1 - -DESCRIPTION="Unit conversion program" -HOMEPAGE="https://www.gnu.org/software/units/units.html" -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" - -LICENSE="FDL-1.3 GPL-3" -SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" -IUSE="+units-cur" -REQUIRED_USE="units-cur? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND=" - sys-libs/readline:= - units-cur? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/future[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - ') - ) -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}"/${PN}-2.17-network-sandbox.patch - "${FILESDIR}"/${PN}-2.20-readerror.patch -) - -DOCS=( ChangeLog NEWS README ) - -src_configure() { - econf \ - --sharedstatedir="${EPREFIX}"/var/lib \ - ac_cv_path_PYTHON=no -} - -src_compile() { - emake ${PN} -} - -src_install() { - default - - if use units-cur; then - sed \ - -e "/^outfile/s|'.*'|'/usr/share/units/currency.units'|g" \ - -e 's|^#!|&/usr/bin/python|g' \ - units_cur_inst > units_cur || die - python_foreach_impl python_doscript units_cur - fi -} -- cgit v1.2.3